html, body{
    margin:0;
    background-color: white;
    overflow: hidden;
    min-height: 100vh;
}

/*VERSION DE CELULAR*/
.contenedor {
    display:grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "sectionMain"
        "sectionOptions"
        "footer";
}

.header{
    grid-area:header;
    height: 30vh;
}

.logo {
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.img_logo{
    width: auto;
    height: 200px;
    margin-top: 50px;
}

.sectionMain{
    grid-area:sectionMain;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 15vh;
}

.sectionOptions {
    grid-area:sectionOptions;
    display:flex;
    align-items: flex-start;
    justify-content: center;
    padding-top:60px;
    height: 55vh;
    background-image: url(../../img/vector_1_gris.png);
    background-position: right;
    background-position-y: top;
    background-size: auto 280px;
    background-repeat: no-repeat;
}

footer {
    grid-area: footer;
    bottom: 0;
    width: 100%;
}

img{
    height: auto;
    width: 100px;
}

.cards{
    text-align: center;
}

.cards h1{
    color:#525b1d;
    margin-bottom: 0;
    letter-spacing: 10px;
    text-indent:10px;
    text-align: center;
    font-weight: 300;
    font-family: 'Source Serif Pro', serif;
}

.cards h5{
    color:#525b1d;
    margin-top: 0;
    font-size: 8px;
    font-weight: 600;
    font-family: 'Montserrat';
    text-transform: uppercase;
}

.buttons{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
}

.btn-menu{
    background-color: #3b3d3c;
    width: 200px;
    color:white;
    padding: 2px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Montserrat';
    letter-spacing: 2px;
}

.lang-menu {
    right: 0;
    text-align: right;
    margin-right: 15px;
    position: absolute;
    outline:none;
}
.lang-menu .selected-lang {
    display: flex;   
    justify-content: flex-end;
    align-items: center;
    line-height: 2;
    cursor: pointer;
    color:black;
    font-family: 'Montserrat';
    font-size: 12px;
}

.lang-menu ul {
    margin: 0;
    padding: 0;
    display: none;
    background-color: transparent;
    border: 1px solid gray;
    position: absolute;
    right: 0px;
    width: 80px;
    border-radius: 5px;
}

.lang-menu ul li {
    list-style: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.lang-menu ul li a {
    text-decoration: none;
    padding: 2px 10px;
    display: block;
    color:black;
    font-family: 'Montserrat';
    font-size: 12px;
}

.lang-menu ul li:hover {
    background-color: gray;
}

.lang-menu ul li a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.por:before {
    background-image: url(../../img/portugal_flag.png);
}

.en:before {
    background-image: url(../../img/en_flag.png);
}

.es:before {
    background-image: url(../../img/spain_flag.png);
}

/* small device */
@media (max-width:376px){
    .sectionOptions {
        background-size: auto 300px; 
        padding-top:30px;
    }
}

@media (max-width:320px){

    .img_logo{
        margin-top:20px;
        height: 150px;
    }

    .sectionOptions{
        background-size: auto 220px;
        padding-top:30px;
    }

    h1{
        font-size:1.5em;
    }

    .buttons{
        gap:15px;
    }

    .btn-menu{
        font-size:16px;
    }


}