* {
    font-family: verdana;
    color: white;
    margin-right: 15px;
    margin-left: 15px;
    margin-top: 5px;
    padding: 0;
}
header ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 4em;
}
header img {
    display: block;
    margin-top: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
}
header li {
    background-color: black;
    border-radius: 14px;
    flex: 1;
}
.software li {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 4em;
    background-color: black;
    border-radius: 14px;
    flex: 1;
    margin-left: 560px;
    margin-right: 560px;
}
a {
    display: block;
    padding: 15px 15px;
    text-decoration: none;
    color: rgb(28, 235, 224);
    font-weight: bold;
    text-align: center;
}
a:hover {
    background-color: rgba(233, 158, 47, 0.733);
    border-radius: 14px;
    color: rgb(28, 235, 224);
    margin: 0px 0px 0px 0px;
}
footer {
    text-align: right;
    background-color: rgb(19, 18, 18);
    border-radius: 24px;
    color: rgb(109, 236, 230);
    margin-top: auto;
    line-height: 1.7;
}
.video_hw {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.d-block {
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
}
#carouselExampleControls {
    margin-bottom: 20px;
}
th, td {
    text-align: center;
    border: 5px solid #cccccc; 
    padding: 12px;
}
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.2);
}
.home, .equipos, .nosotros{
    font-size: 20px;
    background-color: rgba(255, 255, 255, 0.151);
    border-radius: 40px;
    display: inline-block;         
    padding: 5px 5px 5px 5px; 
    margin-bottom: 10px;
    text-align: center;
}
.pc_oficina_item h4, .pc_gamer h4, .pc_progamer h4 {
    background-color: rgba(255, 255, 255, 0.267);
    border-radius: 14px;
    padding: 2px 10px;
    margin: 10px 0 0 0; 
    text-align: center;
}
.pc_oficina, .pc_gamers, .pc_progamers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;              
    margin: 20px 0;
}
.pc_oficina_item, .pc_gamer, .pc_progamer {
    display: flex;
    flex-direction: column;      
    align-items: center;     
    transition: transform 0.3s ease; 
}
.pc_oficina_item abbr, .pc_gamer abbr, .pc_progamer abbr {
    display: block;
    text-decoration: none;
    width: 100%;
}
.pc_oficina_item img, .pc_gamer img, .pc_progamer img {
    max-width: 250px;
    height: auto;
    display: block;
}
.pc_oficina_item abbr::after, .pc_gamer abbr::after, .pc_progamer abbr::after {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 260px;
    background-color: #191818 !important;
    color: #69e8ffd8 !important;
    border: 2px solid #29e0d7 !important;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    width: 215px;
    opacity: 0;
    transition:  0.2s;
}
.pc_oficina_item:hover, .pc_gamer:hover, .pc_progamer:hover {
    transform: scale(1.05);
}
.pc_oficina_item:hover abbr::after, .pc_gamer:hover abbr::after, .pc_progamer:hover abbr::after {
    opacity: 1;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url("./Imagenes/technology-background-2fon8r2n04qs8tn8.webp");
    background-size: cover;
    background-repeat: repeat;
}
footer p {
    background-color: rgba(19, 18, 18, 0);
    margin: 0;
    margin-right: 15px;
}
.mapa {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.mapa iframe {
    display: block;
    width: 500px;
    height: 300px;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 70px;
    height: 70px;
}
.carousel-inner {
    height: 420px; 
}
.carousel-item {
    height: 420px;
}
.carousel-item img {
    height: 100%;
    width: auto;
    margin: 0 auto;
}
.product-card-carousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.carousel-item img {
    height: 230px !important; 
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}
.product-info-carousel {
    margin-top: 5px;
}
.product-info-carousel h3 {
    background-color: rgba(255, 255, 255, 0.267);
    border-radius: 14px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
    padding: 5px 5px 5px 5px;
}
.product-info-carousel .periodo {
    background-color: rgba(255, 255, 255, 0.267);
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    margin:0;
    color: white;
    padding: 5px 5px 5px 5px;
}
.product-info-carousel .precio {
    background-color: rgba(255, 255, 255, 0.267);
    border-radius: 14px;
    font-size: 24px;
    font-weight: bold;
    color: white; 
    margin: 0;
    padding: 5px 5px 5px 5px;
}
@media (max-width: 768px) {
    header img {
        width: 100%;
        max-width: 350px;
    }
    header ul {
        gap: 10px;
        flex-wrap: wrap;
    }
    a {
        padding: 10px;
        font-size: 14px;
    }
    .home, .equipos, .nosotros {
        display: block;
        font-size: 16px;
    }
    .video_hw iframe {
        width: 100%;
        height: auto;
    }
    .mapa iframe {
        width: 100%;
        max-width: 500px;
        height: 300px;
    }
    .software li {
        margin-left: auto;
        margin-right: auto;
    }
    table {
        display: block;
        overflow-x: auto;
    }
    .carousel-item img {
        max-width: 100%;
        height: auto !important;
    }
    .pc_oficina_item abbr::after, .pc_gamer abbr::after, .pc_progamer abbr::after {
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
        width: 180px;
        font-size: 12px;
    }
}