/*Estilos generales*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/*Barras de scroll*/

::-webkit-scrollbar {
    background-color: transparent;
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-button {
    display: none;
}
::-webkit-scrollbar-thumb {
    background-color: #758197;
    border-radius: 4px;;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #FF9C08;
}

/*Menú cabecera | Header*/

.menu{
    width: 100%;
    height: 110px;
    background: rgba(10, 10, 10, 0.5);
    transition: background-color 200ms linear;
    position: fixed;
    z-index: 1;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    height: 100%;
    margin: 0 auto;
}

.menu__container .imagen{
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 35%;
    width: 100%;
}

.menu__links{
    height: 100%;
    transition: transform .5s;
    display: flex;
}

.menu__item{
    list-style: none;
    position: relative;
    height: 100%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    display: flex;
    height: 100%;
    align-items: center;
}

.menu__link:hover{
    color: #ff6600;
}

.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: -100;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #333;
}

.menu__link--inside{
    padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
    background-color: rgba(10, 10, 10, 0.5);
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__hamburguer .fa-solid {
    display: block;
    font-size: 36px;
    color: white;
}

@media (max-width: 1200px) {
    .menu__container .imagen {
        max-width: 50%;
    }
}

@media (max-width: 1000px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #333;
    }

    .menu__item--show{
        background-color: var(--background);
    }

    .menu__link{
        font-size: 16px;
    }

    .menu__container .imagen {
        max-width: 40%;
    }

    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 110px;
        bottom: 0;
        right: 0;
        background-color: #333;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #ff6600;
    }
}

@media screen and (max-width: 700px) {
    .menu {
        height: 90px;
    }

    .menu__container .imagen {   
        max-width: 30%;
        width: 100%;
    }

    .menu__links {
        top: 90px;
    }
}

@media screen and (max-width: 520px) { 
    .menu {
        height: 70px;
    }
    
    .menu__container .imagen {
        width: 45%;
    }

    .menu__hamburguer .fa-solid {
        font-size: 30px;
    }

    .menu__links {
        top: 70px;
    }
}

/*Diseño de botones de idiomas*/

.dropdown {
    position: relative;
    text-align: center;
}

.idioma-btn {
    margin-bottom: 10px;
    padding: 10px;
    background-color: transparent; /* Color de fondo del botón */
    color: #FFFFFF; /* Color de texto del botón */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: 0px 18px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    padding: 30px;
    text-decoration: none;
    border-radius: 5px;
}

.dropdown-content a img:hover { 
    width: 40px;
}

.idioma-selector:hover .dropdown-content {
    display: block;
}

.idioma-btn img{
    margin-top: 35px;
    width: 30px;
}

.idioma-selector a img {
    width: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

@media screen and (max-width:1000px) {
    .dropdown-content {
        position: relative;
    }
}

/*Pie de página | Footer*/

*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.footer {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    background: #515151;
}

.inner-footer {
    width: 95%;
    margin: auto;
    padding: 30px 10px;
    display: flex;
    flex-wrap: row;
    box-sizing: border-box;
    justify-content: center;
}

.footer-items {
    width: 33.3%;
    padding: 5px 3%;
    box-sizing: border-box;
}

.footer-items p {
    width: 100%;
    margin-bottom: 10px;
    color: white;
    font-size: 18px;
    text-align: left;
    line-height: 25px;
}

.footer-items h2 {
    margin: 10px 0;
    color: #ff6600;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-items .border {
    height: 2px;
    width: 100%;
    margin-bottom: 10px;
    background: #ff6600;
}

.footer-items ul {
    list-style: none;
    color: #fff;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
}

.footer-items ul a {
    text-decoration: none;
    outline: none;
    color: #fff;
    transition: 0.3s;
}

.footer-items ul a:hover {
    color: #ff6600;
    font-size: 24px;
    transition: 0.3s;
}

.footer-items ul li {
    margin: 20px 0;
    height: 25px;
    white-space: nowrap;
}

.footer-items ul li i {
    margin-right: 18px;
}

.social-media {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.social-media a {
    text-decoration: none;
}

.social-media-element {
    height: 70px;
    width: 90px;
    
}

.social-media i {
    font-size: 50px;
    margin: 10px 0px;
    color: #fff;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;

}

.social-media i:hover {
    color: #ff6600;
    font-size: 70px;
    margin: 0px;
}

.footer-bottom {
    padding: 20px;

    color: #fff;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
}

.footer-items iframe {
    width: 100%;
    height: 250px;
}

@media screen and (max-width:1200px) {
    .footer-items p {
        font-size: 16px;
    }
    .footer-items h2 {
        font-size: 25px;
    }
    .footer-items ul {
        font-size: 18px;
    }
    .footer-items ul a:hover {
        font-size: 21px;
    }
}

@media screen and (max-width:1000px) {
    .footer-items h2 {
        font-size: 20px;
    }
    .footer-items ul {
        font-size: 15px;
    }
    .footer-items ul a:hover {
        font-size: 18px;
    }
    .footer-items ul li i {
        margin-right: 15px;
    }
    .footer-bottom {
        font-size: 16px;
    }
}

@media screen and (max-width:840px) {
    .footer {
        width: 100%;
        margin-top: 0%;
    }
    .inner-footer {
        width: 100%;
        flex-direction: column;
    }
    .footer-items {
        width: 95%;
        margin: auto;
    }
    .footer-items ul {
        font-size: 18px;
    }
    .footer-items ul a:hover {
        font-size: 21px;
    }
}

@media screen and (max-width:601px) {
    .social-media i {
        font-size: 40px;
    }
    .social-media i:hover {
        font-size: 60px;
    }
    .footer-bottom {
        font-size: 14px;
    }
}

@media screen and (max-width:491px) {
    .social-media i {
        font-size: 35px;
        width: 100px;
    }
    .social-media i:hover {
        font-size: 55px;
    }
}

@media screen and (max-width:411px) {

    .social-media i {
        width: 70px;
    }
}

/*Botones Compartir*/

.compartir{
    
    position: relative;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.compartir p {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.compartir ul {
    list-style: none;
}

.compartir li{
    display: inline-block;
    border: none;
    margin-top: 5px;
    padding: 10px 20px;
    margin-bottom: 5px;
}

.compartir ul li a{
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.compartir ul li .icon-facebook {
    background: #4267B2; 
}

.compartir ul li .icon-whatsapp {
    background: #4AC959;
}


.compartir ul li .icon-twitter {
    background: #00acee;
}

.compartir ul li a:hover{
    padding: 10px 45px 10px 45px;
    background: #ff6600;
    /*box-shadow: 0 0 10px 0 white inset, 0 0 10px 4px white;*/
}

@media screen and (max-width:800px){
    .compartir{
        position: relative;
        text-align: center;
    }
    
    .compartir p {
        margin-right: 0;
        text-align: center;
        font-size: 16px;
    }
}

@media screen and (max-width:365px){
    .compartir li{
        padding: 10px 15px;
    }
    
    .compartir ul li a{
        color: #fff;
        padding: 10px 15px;

    }
    .compartir ul li a:hover{
        padding: 10px 30px 10px 30px;
        background: #ff6600;
        box-shadow: 0 0 10px 0 white inset, 0 0 10px 4px white;
    }
}

/*Estilo de carga de pagina*/
.loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content {
    display: none;
    background-color: #fff;
    padding: 20px;
}

/* Estilo para mostrar el contenido después de cargar */
body.loaded .loader {
    display: none;
}

body.loaded .content {
    display: block;
}