
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans&display=swap');


*{
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
body{
    height: 100vh;
}

h1{
    font-weight: bold;
}

li{
    list-style: none;
}


a{
    text-decoration: none;
    color: rgb(37, 37, 37);
    transition: 2s;

}

.saber{
    color: rgb(54, 107, 255);
}

.maps{
    color: rgb(4, 122, 201);
}

.saber:hover{
    text-decoration: underline;
}

a:hover{
    color: rgb(4, 122, 201);
    transition: 0.2s;
}

.white{
    color: white;
}

header{
    z-index: 100;
    position: fixed;
    width: 100%;
    padding: 0 2rem;
   
    transition: 2s;
}

.color{
    background-color: rgb(125, 201, 252);
}

.navbar{
    width: 100%;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    display: flex;
    align-items: center;
}

.navbar .logo a{
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 20px; 
    color: rgb(2, 136, 224);
}

.navbar .links{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;

}

.navbar .links li a{
    font-weight: bold;
}

.navbar .toggle_btn{
    color: rgb(37, 37, 37); 
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn{
    border: none;
    outline: none;
    color: white;
    background-color: rgb(40, 118, 190);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}


.action_btn:hover{
    scale: 1.05;
    color: white;
}


.dropdown_menu{
    display: none;
    position: absolute;
    text-align: center;
    right: 2rem;
    top: 60px;
    width: 300px;
    height: 0;
    background-color: rgb(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open{
    height: 250px;
}

.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn{
    width: 100%;
    display: flex;
    justify-content: center;
}

.agrandar{
    transition: 0.1s;
}

.agrandar:hover{
    transform: scale(1.05);
}

.agrandar1{
    transition: 0.2s;
}

.agrandar1:hover{
    transform: scale(1.02);
}

.h-alfombra{
    position: absolute; 
    top: 0; 
    padding: 20px; 
    width: 100%;  
    height: 0;
    transition: 0.5s;
}

.recuadre:hover .h-alfombra{
    border-radius: 10px;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.315);
}

.b-alfombra{
    position: absolute; 
    bottom: 0; 
    padding: 20px; 
    width: 100%;  
    height: 0px;
    transition: 0.5s;
    border-radius: 10px;
}

.p-alfombra{
    display: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 1.2rem;
    transition: 1s;
}

.recuadre:hover .p-alfombra{
    display: block;
}

.recuadre:hover .b-alfombra{
    height: 30%;
    background-color: rgb(96, 191, 255);
}

.altura{
    transition: 0.2s;
    height: 50px;
}


.recuadre2:hover .altura{
    height: 70px;
}

.t-alfombra{
    transition: 2s;
    font-weight: bold; 
    color: white;
}

/* MENU IDIOMA desde aqui*/
.dropdown {
    display: inline-block;
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    overflow: auto;
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
    background-color: #ffffff;
    border-radius: 10px;
    text-align: start;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    color: #000000;
    padding: 5px;
    text-decoration: none;
}
.dropdown-content a:hover {
    color: #000000;
    background-color: rgb(125, 201, 252);
}
/* fins aqui*/ 


@media (max-width: 822px){
    .navbar .links, .navbar .action_btn{
        display: none;
    }

    .navbar .toggle_btn{
        display: block;
    }

    .dropdown_menu{
        display: block;
    }

    #idiomas{
        display: none;
    }
}

@media (max-width: 530px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
}