* {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*Menu de navegacion*/
nav {
    height: 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(43, 76, 93);
    color: rgb(255, 255, 255);
    font-size: larger;
    padding: 1.5vw 3vw;
    position: sticky;
    top: 0;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;

}

nav li {
    display: flex;
    margin: 1vw;
}

nav a {
    text-decoration: none;
    color: white;
}

nav a:hover {
    transform: scale(1.1);
    color: rgb(214, 214, 214);
    transition: 0.2 s;
}

/*Fin de menú de navegacion*/

#banner {
    background-color: rgba(0, 0, 0, 0.273);
    background-image: url(imagenes/rio-de-janeiro.jpg);
    background-blend-mode: overlay;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 45vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.868);
}

#banner h1 {
    font-size: 2.5rem;
    margin: 2vw;
}

#banner p {
    font-size: 1rem;
    margin: 2vw;
}

#post-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    padding: 8vw 12vw;
}

#lugares {
    display: grid;
    gap: 1vw;
    grid-template-columns: 1fr 1fr 1fr;
    height: 40vw;
    margin: 3vw;
}

#lugares div {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#container-destinos {
    background-color: rgb(66, 96, 115);
    padding: 5vw 10vw;
    color: white;
}

.destinos h2,
.destinos h3,
.destinos p {
    text-align: center;
    margin: 0vw 5vw;
}

.paises {
    margin: 2vw 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.558);
    border-radius: 10px;
    color: white;
}

.paises h3 {
    font-size: 2rem;
}

.paises p {
    margin-top: 1vw;
    align-items: center;
    font-size: 1rem;
}

.paises div {
    border-radius: 10px;
}

.paises img {
    width: 30vw;
    border-radius: 10px;
}

.paises a {
    color: inherit;
}

.paises a:hover {
    color: lightgray;
    transition: 0.2s;
}

.recomendaciones,
.tips,
.servicios {
    width: 80vw;
    margin-top: 5vw;
}

.recomendaciones p {
    margin: 2vw 2vw;
}

.recomendaciones div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.recomendaciones div p {
    background-color: rgba(71, 71, 71, 0.152);
    border-radius: 10px;
    padding: 4vw;
}

#servicios {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 3vw 5vw;
}

#servicios ul {
    background-color: lightgray;
    border-radius: 0 0 10px 10px;
    padding: 0.5vw 3vw;
}

#servicios div p {
    font-size: 1rem;
    font-weight: bold;
    background-color: rgb(99, 152, 198);
    border-radius: 10px 10px 0 0;
    padding: 0.5vw 4vw;
    text-align: center;
}

#servicios li {
    margin: 0;
    margin-left: 2px;
}

#servicios table {
    width: 40vw;
    min-height: 20vw;
    max-height: 30vw;
    background-color: rgb(218, 218, 218);
    padding: 2vw;
    border-radius: 10px;
    border-collapse: collapse;
    overflow: hidden;
}

#servicios thead {
    background-color: rgb(99, 152, 198);
}

#servicios thead th {
    padding: 10px;
}

#servicios table tr {
    border-bottom: 1px solid rgb(151, 151, 151);
}

#servicios table td {
    text-align: center;
}

.partners {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5vw 2vw;
    font-size: 1rem;
    font-weight: 400;
    color: rgb(49, 49, 49);
}

#partners-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners img {
    width: 10vw;
    margin: 1vw;
}

#volver-arriba {
    text-align: center;
}

#volver-arriba a {
    text-decoration: none;
    color: rgb(32, 32, 32);
    font-size: 1rem;
    font-weight: 600;
    padding: 15px;
    background-color: rgb(203, 203, 203);
    border-radius: 30px;
}

footer {
    background-color: rgb(43, 76, 93);
    padding: 8vw;
    color: whitesmoke;
    font-size: 1rem;
    display: flex;
    justify-content: center;
}

@media (max-width:1024px) {
    nav {
        height: 7vh;
    }

    #banner {
        height: 80vh;
        padding: 20px;
    }

    #banner h1 {
        font-size: 1.5rem;
    }

    #container-destinos {
        padding: 0;
    }

    .paises {
        flex-direction: column;
        padding: 10px;
    }

    .paises img {
        width: 60vw;
    }

    .recomendaciones div,
    #servicios {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #servicios {
        gap: 1rem;
    }

    #servicios div {
        width: 60vw;
        padding: 2rem;
    }

    #servicios div li {
        margin-left: 2rem;
    }

    #servicios td {
        padding: 0.4rem;
    }
}

#volver {
    background-color: rgba(0, 0, 0, 0.786);
    padding: 1rem;
    border-radius: 20px;
    position: fixed;
    bottom: 1%;
    left: 1%;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

#github-landing {
    background-color: rgba(0, 0, 0, 0.786);
    width: 50px;
    padding: 1rem;
    border-radius: 20px;
    position: fixed;
    bottom: 1%;
    right: 1%;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}