/* CSS Document */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.am_portada {

    display: flex;

}

body{
   font-family: 'Kdam Thmor Pro', sans-serif;;

}

a {
    color: white;
}
a:hover {
    color: #fff; /* Optional: keep the hover color white as well */
}

.am_container__img--4 {
    background-image: url('Katari-Qorikancha.jpg');
}

.am_container__img--3 {
    background-image: url('CasaEsmeralda_Katari.jpg');
}

.am_container__img--2 {
    background-image: url('https://cusco-waykap.waykaphostels.com/wp-content/uploads/2024/09/waykap-cusco-50-1.jpg');
}

.am_container__img--1 {
    background-image: url('https://www.waykaphostels.com/arequipa/wp-content/uploads/2019/04/bg_foot.jpg');
}

.am_container__img {

    text-align: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    width: 50%;
    height: 100vh;

}

.am_container__img:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.am__logo {
    position: relative;

}

.text {
    color: #FFF;
    position: relative;
    font-size: 1.4rem;
}

.am__logo--1 {
    width: 200px;
}

.am__logo--2 {
    width: 200px;
}

.am__logo--3 {
    width: 200px;
}

.am__logo--4 {
    width: 200px;
}

.flex-center {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.grow {
    transition: all 0.5s ease-in-out;
}

.grow:hover {
    transform: scale(1.1);
}

.white-link {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    padding-bottom: 2px; /* Espacio entre el texto y el subrayado */
}

.white-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px; /* Grosor de la línea subrayada */
    display: block;
    background: white;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease; /* Duración y tipo de animación */
}

.white-link:hover::after {
    width: 100%; /* La línea se expandirá hasta el 100% del texto */
}


@media (max-width: 967px) {
    .am_portada {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .am_container__img {
        width: 100%;
        height: 50vh;
    }

    .am__logo--1 {
        width: 250px;
    }

    .am__logo--2 {
        width: 174px;
    }

    .am__logo--3 {
        width: 240px;
    }

    .am__logo--4 {
        width: 240px;
    }
    .text {
        font-size: 1.2rem;
    }

}


@media (max-width: 767px) {


    .am__logo--1 {
        width: 200px;
    }

    .am__logo--2 {
        width: 140px;
    }

    .am__logo--3 {
        width: 200px;
 }

    .am__logo--4 {
        width: 200px;

    .text {
        font-size: 1.1rem;
    }
}
