:root {
    --blue:#0000F5;
    --lime: #BAFF29;
    --black: #000000;
    --white: #FFFFFF;    
}

* {
    font-family: 'Mulish', sans-serif;
    font-weight: 200;
    font-size: 1em;
}

body {
    padding:0px;
    margin: 0px;
}

/*** NAVBAR ***/
div.navbar {
    height: 10vh;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 20px;
    background-color: var(--black);
    position: sticky;
    top:0px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    z-index:10;
}
div.navbar .logo {
    max-height: 10vh;
}
div.navbar .menu-item {
    font-weight: 600;
    color:var(--lime);
    font-size: 18px;
}
div.navbar a{
    text-decoration: none;
}
div.navbar .menu {
    width:180px;
    display: flex;
    justify-content: space-between;
}

div.navbar .menu-item:hover {
    font-weight: 800;
    cursor: pointer;
}

.container.column {
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.container.row{
    display: flex;
    flex-wrap: wrap;
}

/*** HEADER ***/ 
div.header {
    height: 70vh;
    background-image: url('img/viaje-mundo.png') ;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px 20px 0 20px;
    justify-content: flex-start;
    align-content: center;
    border: solid var(--blue);
    border-width: 0px 0px 3px 0px;
}

.titulo-principal {
    font-size: 4em;
    font-weight: 800;
    text-align: center;
    margin: 3px 0px;
    text-transform: uppercase;
}

.subtitulo-principal {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
    margin: 1px 0px;
    font-style: italic;
}

/*** MAIN ***/
div.main {
    padding: 10px 20px 50px 20px;
    
}
div.main .titulo-seccion {
    font-weight: 800;
    color: var(--blue);
    font-size: 2em;
    padding-top:10px;
}

/** Destinos **/
.container.destinos {
    justify-content: space-between;
    row-gap: 40px;
}

.card {
    width: 24%;
    background-color: var(--white);
    border: solid rgba(207, 207, 207, 0.658) 1px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px #0000f55b;
}
.card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
}
.card-title {
    text-align: center;
    font-weight: 800;
    font-size: 1.2em;
}
.card-button a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    
}
.card-button{
    --width: 90px;
    width: var(--width);
    background-color: var(--lime);
    position: relative;
    left:calc((100% - var(--width)) / 2);
    line-height: 32px;
    
    text-align: center;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 20px;
}
.card-button:hover {
    transform: scale(0.9);
    cursor: pointer;
}

.card-author {
    text-align: center;
    font-style: italic;
    margin: 15px 0 15px 0;
}
.card-author::before{
    content: "Por: ";
}

/** Contacto + Team **/
div.main form {
    width: 40%;
}
div.main input[type="text"],div.main input[type="textarea"],div.main input[type="email"] {
    width: 100%;
    margin: 3px 0 10px 0;
    border-radius: 8px;
    border-width: 1px;
    height: 32px;
}
div.main input[type="textarea"]{
    height: 90px;
}
div.main input[type="submit"] {
    width: 20%;
    margin-top:15px;
    border-radius: 8px;
    border-width: 0px;
    height: 32px;
    font-weight: 600;
    background-color: var(--blue);
    color: var(--white);
}
div.main input[type="submit"]:hover{
    transform: scale(0.9);
    cursor: pointer;
}
div.main label {
    margin: 15px 0 15px 0;
    font-weight: 600;
}

.container.contacto{
    gap: 10%;
}
.team {
    width: 50%;
    display: flex;
}

/*** FOOTER ***/
div.footer {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: var(--lime);
    border: solid var(--blue);
    border-width: 3px 0px 0px 0px;
}
div.footer p{
    color: var(--black);
    font-weight: 600;
    text-align: center;
}

/*** RESPONSIVE ***/
@media screen and (max-width:800px){
    .card {
        width: 48%;
    }
    div.navbar {
        height: 6vh;
    }
    div.navbar .logo {
        height: 5vh;
    }
    div.navbar .menu{
        max-width: 130px;
    }
    div.navbar .menu-item{
        font-size: 14px;
    }
    div.header {
        height:50vh;
        padding-top:20px;
    }
    div.header .titulo-principal{
        font-size: 2.5em;
    }
    div.header .subtitulo-principal{
        font-size: 1.5em;
    }
    div.main .titulo-seccion{
        font-size: 1.5em;
    }
    .card-img{
        height: 90px;
    }
    .card-author{
        font-size: 12px;
    }
    .card-title{
        font-size: 1em;
    }
    div.main form{
        width: 100%;
    }
    .contacto .team {
        width: 100%;
    }
    .team {
        padding: 20px 0;
        justify-content: center;
        align-content: center;
    }
    .team video{
        width: 90%;
    }

}
@media screen and (max-width:290px){
    div.navbar .menu{
        max-width: 110px;
    }
    div.navbar .menu-item{
        font-size: 12px;
    }
    div.header .titulo-principal{
        font-size: 1.8em;
    }
    div.header .subtitulo-principal{
        font-size: 1.2em;
    }
    div.main .titulo-seccion{
        font-size: 1.2em;
    }
    .team video{
        width: 100%;
    }
}