@font-face {
    font-family: 'THRONE';
    src: url('fonts/THRONE-FREE.eot');
    src: url('fonts/THRONE-FREE.eot?#iefix') format('embedded-opentype'),
         url('fonts/THRONE-FREE.woff2') format('woff2'),
         url('fonts/THRONE-FREE.woff') format('woff'),
         url('fonts/THRONE-FREE.ttf')  format('truetype'),
         url('fonts/THRONE-FREE.svg#THRONE FREE') format('svg');
}
@font-face {
    font-family: 'POPPINS';
    src: url('fonts/Poppins-Regular.ttf')  format('truetype');
}
@font-face{
    font-family: 'MONTSERRAT';
    src: url('fonts/static/Montserrat-Regular.ttf') format('truetype');
}






*{/* Afecta a tot*/
    font-family: 'POPPINS', Arial, Helvetica, sans-serif;
    color:  #344151;
}
body {
    background-color:  #bfdce2;
}






/*Header (logo i navegador) */
header {
    padding: 30px 10%;
    text-align: center;
    display: flex; /* Alinea elementos en una fila */
    justify-content: flex-end; /* Espaciado uniforme entre elementos */
    align-items: center;  /* Centrar verticalmente los elementos */
}
header a{
    width: 25%;
    margin-right: auto;
}
nav{
    overflow: hidden;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li {
    display: inline-block;
    padding: 0px 20px;
   
    
}
nav a {
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease 0s;
    border-bottom: 3px solid transparent;
    border-radius: 10%;
    line-height: 1.8;
    color: black;
}
nav a:hover{
    border-color: #fff;
	color: #fff;
}
.phone_number a{
    text-decoration: none;
}
.phone_number a:hover{
    border-color: #fff;
	color: #fff;
}
.logo {
    width: 100%;
    min-width: 150px;
}
.menu-toggle{
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: black;
}
#productText {
    display: none;
    margin-left: 10px;
    text-align: left; 
    max-width: 95%; 
    font-size: 16px; 
    line-height: 1.6; 
}
.origin-collection-h1{
    font-size: 50pt; margin-top:0;
}
.origin-collection-h2{
    font-size: 20pt; margin-bottom:0; margin-top: 40pt;
}
#productText div p{
    margin-top: 5px;
}


/*Contenedor de imatges*/
main {
    padding: 30px 10%;
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}
.image-wrapper{
    position: relative;
    width: 46%; /* Ajustar mida de les imatges */
    margin: 10px;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s, filter 0.3s;
    cursor: pointer;
}
.image-wrapper img {
    width: 100%;
    height: auto; /* Para mantener la proporción de la imagen */
    object-fit: cover;
    display: block; /* Asegura que la imagen no tenga margen inferior */
}
.video-wrapper{
    display: flex;
    width: 100%; /* Ajustar mida de les imatges */
    margin: 10px;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s, filter 0.3s;
}
.video-wrapper video {
    width: 50%;
    height: auto; /* Para mantener la proporción de la imagen */
    object-fit: cover;
    display: block; /* Asegura que la imagen no tenga margen inferior */
}

.image-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.image-text p {
    text-align: center;
	font-size: 18px;
}

.image-wrapper:hover .image-text {
    opacity: 1;
}

.rectangular-button {
    background-color: #bfdce2; /* Color de fondo verde */
    color: #344151;              /* Color del texto */
    border:  none;              /* Sin borde */
    cursor: pointer;           /* Cambia el cursor al pasar sobre el botón */
    font-size: 16px;            /* Tamaño de la fuente */
    transition: all 0.2s ease 0s; /* Transición suave al cambiar de color */
    font-weight: bold;
}

/* Cambia el color al pasar el ratón sobre el botón */
.rectangular-button:hover {
    color: #fff;
    border-bottom: 3px solid #fff;
}

.filter-buttons{
    margin-left: 5px;
}



/* Secció del footer */
.social-container ul li{
    display: inline;
    margin: 0 10px;    
}
.social-container ul li a{
    text-decoration: none;
    transition: all 0.2s ease 0s;
    font-size: 16px;
}
.social-container ul li a:hover{
    color: #fff;
    
}
.footer{
    padding: 30px 10%;
    font-family: 'POPPINS', sans-serif;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer ul li{
    display: inline;
    margin: 0 10px;    
}
.footer ul li a{
    text-transform: lowercase;
    text-decoration: none;
    transition: all 0.2s ease 0s;
    font-size: 12px;
}
.footer ul li a:hover{
    color: #fff;
    
}
.footer-logo{
    width: 120px;
    height: auto;
}
.footer-mail{
    margin-bottom: 0px;
}
.autoria:hover{
	color:#fff;
}
@media screen and (max-width: 460px) {
   
    .social-container ul li{
        display: block;
        margin: 10px 0px;    
    }
    .footer ul li{
        display: block;
        margin: 6px 0px;    
    }
    .footer{
        padding-top: 20px;
    }
    main{
        padding-bottom: 0px;
    }
}



/*Canvis en funció del tamany de la pantalla*/
@media screen and (max-width: 1000px) {
    .image-container img {
        width: 100%; /* Ajustar mida de les imatges en pantalla mès petita */
        display: block;
    }
    .image-container{
        justify-content: center;
    }
    nav {
        flex-direction: column; /* Cambiar la dirección del eje principal a columna en pantallas pequeñas */
        align-items: center; /* Centrar los elementos horizontalmente */
    }
    

/*    nav li {
        margin-right: 0;  Eliminar el margen derecho en pantallas pequeñas 
        margin-bottom: 10px;  Agregar un margen inferior para separar los elementos en la columna 
    }

    nav li a {
        font-size: 12px;
    }

    nav ul li{
        padding: 0px 10px;
    }*/
    .menu-toggle {
        display: block;
    }
        
    /* Fondo semitransparente y menú desplegable oculto */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 20px;
        background-color: rgba(52, 65, 81, 1);
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(52, 65, 81, 0.3);
        z-index: 9999;
    }

    /* Mostrar el menú desplegable cuando se hace clic en el botón */
    nav ul.showing {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
    /* Overlay que se usará para detectar clic fuera del menú */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9998;
    }

    .overlay.active {
        display: block;
    }

    .filter-buttons{
        margin-left: 2px;
    }
    .filter-buttons button{
        font-size: 12px;
    }
    

}
@media screen and (min-width: 1024px) {
    .container-home{
        margin-left: 30%;
        margin-right: 30%;/* Alinea los elementos al inicio horizontalmente */
    }
}
@media screen and (max-width: 490px) {
   
    nav li a {
        font-size: 8px;
        color: whitesmoke;
    }

    nav ul li{
        padding: 0px 3px;
    }

    header{
        padding-right: 10px;
    }

}
@media screen and (max-width: 768px) {
   
    nav li a {
        color: whitesmoke;
    }
    #productText {
        display: none;
        margin-left: 10px;
        text-align: left; 
        max-width: 80%; 
        font-size: 12px; 
        line-height: 1.6; 
    }
    .origin-collection-h1{
        font-size: 30pt; margin-top:0;
    }
    .origin-collection-h2{
        font-size: 15pt; margin-bottom:0; margin-top: 40pt;
    }

  

}

@media screen and (max-width: 1268px) {
    .image-wrapper {
        width: 100%; 
    }
    .video-wrapper {
        width: 100%; 
        margin: 0; 
        justify-content: center; 
    }
    .video-wrapper video{
        width: 100%;
    }
}




/* El visor de la imatge de work*/
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%;
}
.slider-image {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
.navigation {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

.navigation.left {
    left: 0;
}

.navigation.right {
    right: 0;
}



/* Pagina home */
.div-home{
    display: block;
}
.img-home {
    max-width: 100%;
}
.container-home{
    display: flex;
    flex-direction: column;
    align-items: center; 

}
.footer-logo-container{
    margin-top: 10px; /* Ajusta el margen superior para separar la imagen del div */
    align-self: flex-end; /* Alinea el contenedor del logo al final horizontalmente */
}
.footer-logo-videoplayer{
    width: 120px;
    height: auto;
}
.footer-logo-container-videoplayer{
    margin-top: 10px; /* Ajusta el margen superior para separar la imagen del div */
    align-self: center; /* Alinea el contenedor del logo al centro */
    padding-left: 480px; /* Alinea amb el final del video*/
}
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.video-player{
    width: 620px;
    height: 420px;
}



/* Pagina Contact*/
    .contact-container{
        display: flex;
        margin-top: 50px;
    }
    .contact-info-container{
        flex: 2;
        display: flex;
        flex-direction: column;
        align-content: space-between;
    }
    .contact-image-container{
        flex:2;
    }

    .contact-image-container img{
        width: 300px;
    }

@media screen and (max-width: 1200px) {
    .contact-container{
        display: flex;
    }
    .contact-info-container{
        flex: 2;
        padding-right: 50px;
    }
    .contact-image-container{
        flex:2;
    }
    .contact-image-container img{
        width: 300px;
    }
}
@media screen and (max-width: 1020px) {
    .contact-container{
        display: inherit;
    }
    .contact-info-container{
        padding-right: 50px;
    }
    .contact-image-container img{
        padding-top: 50px;
        width: 300px;
    }
}

/* Pagina About*/
    .about{
        display: flex;
        margin-top: 8%;
    }
    .parrafos-about{
        flex: 2;
        padding-right: 150px;
    }
    .parrafos-about p{
        margin-top:0;
    }
    .imagen-about{
        flex:2;
    }
    .imagen-about img{
        width: 400px;
        height: auto;
    }

@media screen and (max-width: 1200px) {
    .about{
        display: flex;
        margin-top: 8%;
    }
    .parrafos-about{
        flex: 2;
        padding-right: 50px;
    }
    .imagen-about{
        flex:2;
    }
    .imagen-about img{
        width: 335px;
        height: 335px;
    }
}
@media screen and (max-width: 920px) {
    .about{
        display: inherit;
        margin-top: 8%;
    }
    .parrafos-about{
        padding-right: 50px;
    }
    .imagen-about img{
        width: 200px;
        height: 200px;
    }
    .video-player{
        width: 320px;
        height: 200px;
    }
    .video-player_services{
        width: 320px;
        height: 320px;
    }
    .video-player_work{
        display: block;
        margin-top: 30px;
    }
    .footer-logo-container-videoplayer {
        margin-top: 10px;
        align-self: center;
        padding-left: 168px;
    }
    .services_row{
        flex-direction: column !important;
    }
    .services_column{
        width: 100%;
    }
}
/* Services */
.services_grid{
    display: flex;
    flex-direction: column;
}
.services_row{
    display: flex;
    flex-direction: row;
}
.services_column{
    flex:1
}
.service{
    padding: 2px;
}
.service p:first-child{
    font-weight: bolder;
    margin: 0;
}