body {
    height: 100vh;
    width: 100vw;
}

.bg-image {
    background-image: url(../img/bg-Chamber-academy-amaericas.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    height: 80vh;
}

.info {
    height: 20vh;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
}

.logo {
    width: 20vw;
}

.orgullo {
    width: 41vw;
    right: 15vw;
    top: 28vh;
}

.ingresa {
    width: 250px;
    height: 80px;
    background-color: #C71662;
    color: white;
    font-weight: 800;
    font-size: 1.6em;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ingresa:hover {
    transform: scale(1.03);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background-color: #97104a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.botones {
    margin: -10rem 0 1rem 10rem;
}

.logo-camara {
    width: 250px;
    border-radius: 20px;
    align-self: center;
    display: flex;
}

.flip-card {
    background-color: transparent;
    width: 383px;
    height: 140px;
    perspective: 1000px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    display: flex;
    border: 3px solid white;
}

.flip-card-front {
    background-color: white;
    color: black;
}

.flip-card-back {
    background-color: #C71662;
    color: white;
    transform: rotateY(180deg);
    font-size: 1.2em;
    line-height: 1.3em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

}

@media only screen and (max-width: 1399px) {
    .orgullo {
        width: 47vw !important;
        right: 10vw !important;
        top: 31vh;
    }

    .logo {
        width: 22vw;
    }

    .logo-camara {
        width: 200px;
    }

    .botones {
        margin: -9rem 0 3rem 0;
    }

    .flip-card {
        background-color: transparent;
        width: 313px !important;
        height: 100px !important;
        perspective: 1000px;
    }

    .ingresa {
        width: 313px !important;
        height: 100px !important;
    }

    .flex-grow-1.ms-3.text-start {
        font-size: 0.7em;
    }
}

@media only screen and (max-width: 991px) {
    .logo {
        width: 25vw !important;
    }
    .bg-image {
        height: 50vh !important;
    }

    .orgullo {
        width: 46vw !important;
        right: 7vw !important;
        top: 27vh;
    }
    .flip-card {
        width: 313px !important;
        height: 110px !important;
        font-size: 0.7rem;
    }
    .botones {
        margin: 0!important;
        padding: 20px 0;
        justify-content: center!important;
    }
    .flex-grow-1.ms-3.text-start {
        font-size: 1em;
    }
    .info {
        height: 50vh;
        margin: auto;
    }

    .col-md-4.col-sm-12.text-center.align-self-center {
        width: 100% !important;
        margin: auto !important;
    }

    .ingresa {
        width: 313px !important;        
        height: 110px !important;
        font-size: 1em !important;
    }

    .cuenta {
        width: 32vw !important;
        top: 44.2vh !important;
        right: 9vw !important;
        font-size: 1em !important;
    }

}

@media (max-width: 768px) {
    .bg-image {
        height: 60vh !important;
    }

    .info {
        height: 60vh !important;
        padding: 0 0 50px 0;
    }
    
    .botones{
        gap: 1rem!important;
        width: 90%!important;
        max-width: 90%!important;
        margin: auto!important;
    }
    .ingresa {
        width: 90vw !important;
        font-size: 1.5em !important;
        margin: auto!important;
    }

    .orgullo {
        width: 50vw !important;
        right: 3vw !important;
        top: 35vh;
    }
    .logo-camara {
        width: 30vw;
    }

    .flip-card {
        width: 90vw !important;
        height: 130px !important;
        font-size: 0.7rem;
        line-height: 1rem;
    }

    .card-body {
        padding: 1rem 0rem!important;
    }

    .flex-grow-1.ms-3.text-start{
        font-size: 1em;
    }

}

@media (max-width: 577px) {
    .bg-image {
        height: 50vh !important;
    }

    .info {
        height: 70vh !important;
    }

    .bg-image {
        background-position: -50px;
    }

    .logo {
        width: 24vw;
    }

    .ingresa {
        font-size: 1em !important;
    }

    .orgullo {
        top: 32vh !important;
        right: 1vw !important;
        width: 53vw !important;
    }

    .cuenta {
        width: 41vw !important;
        top: 20vh !important;
        right: 7vw !important;
        font-size: 0.8em !important;
    }

    .bg-image {
        background-position: -49px !important;
    }

}

@media (max-width: 369px) {
    .bg-image {
        background-position: -19px !important;
    }
    .info {
        height: 80vh !important;
    }

    .logo {
        width: 37vw !important;
    }

    .orgullo {
display: none;
    }

    .cuenta {
        width: 70vw !important;
        top: 40vh !important;
        right: 14vw !important;
        font-size: 0.8em !important;
    }

    img.img-info {
        width: 50px;
    }
}