header {
    background-color: hsl(0, 84%, 23%);
    text-align: center;
    z-index: 1000;
    top: 0;
}

.row {
    justify-content: center;
}

.header-link {
    display: block;
    color: white;
    text-decoration: none;
}

.instagram {
    margin-bottom: 0;
}

.carouselandtext {
    margin-top: 98px;
}

nav {
    text-align: center;
    background-color: #FF0000;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    transition: box-shadow 0.3s ease; 
}

.nav-link:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
}

.nav-item {
    position: relative;
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover::after {
    transform: scaleX(1);
}


body {
    background-color: hsl(62, 87%, 94%);
    cursor: url(../IMG/curso1.cur), auto;
}

a:hover {
    cursor: url(../IMG/curso2.cur), auto;
}

.dropdown {
    display: flex;
    justify-content: flex-end;
    margin-right: 50px;
}

.store,
.dropdown {
    padding-top: 10px;
}

.servicetitled {
    padding-top: 30px;
}

.subcontainer {
    display: flex;
    align-items: center;
}

.serviceimg {
    width: 400px;
    height: 400px;
}

.footer1 {
    background-color: rgb(253, 13, 13);
    font-size: 30px;
    padding: 10px;
    text-align: center;
    color: hsl(0, 0%, 100%);
    width: 100%;
    display: flex;
    flex-flow: row wrap; 
    justify-content: center;
    align-items: center;
}

.card {
    width: 97%;
    margin: 10px;
    animation-name: zoomIn;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.card-img-top {
    transition: transform 0.3s;
}

.card-img-top:hover {
    transform: scale(1.1);
    cursor: url('../IMG/curso2.cur'), pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
    transform: scale(0);
    opacity: 0;
    }
    to {
    transform: scale(1);
    opacity: 1;
    }
}


.writtenby {
    font-size: 15px;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.clear:after {
    content: '';
    display: block;
    clear: both;
    padding-top: 50px;
}

.animated-photo {
    animation: zoom-in-out 2s ease-in-out infinite;
    max-width: 100%;
    margin-top: 1em;
    height: auto;
}

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.video-container video {
    width: 100%;
    height: auto;
}

@keyframes zoom-in-out {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.box {
    width: 50%;
    float: center;
    height: 450px;
    background-color: hsl(0, 0%, 45%);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
}

li {
    list-style-type: none;
}

.hipervinculocontacto {
    color: hsl(0, 0%, 100%);
    text-decoration: underline;
}

.whatlook,
.textstore,
.gif {
    margin-top: 40px;
    margin-bottom: 40px;
}

.img-3d {
    width: 100%;
    height: auto;
}

@media (max-width: 720px) {
    .imgcarousel {
        height: 60vh;
        object-fit: cover;
    }

    .img-3d {
        height: 60vh;
        object-fit: cover;
    }

    .footer1 {
        font-size: 14px;
    }
}
