@font-face {
    font-family: 'Poppins-Light';
    src: url('/themes/PRSADD279_02/assets/fonts/Poppins-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'PlayFair';
    src: url('/themes/PRSADD279_02/assets/fonts/PlayFair.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('/themes/PRSADD279_02/assets/fonts/Poppins-Medium.ttf') format('truetype');
}

@font-face{
    font-family: 'Alice';
    src: url('/themes/PRSADD279_02/assets/fonts/Alice-Regular.ttf') format('truetype');
}

:root{
    --padding-global: 0px 10%;
    --padding-side:10%;
}


#main  .page-content{
    width: 100%;
    border:none;
    margin-bottom:0px;
    padding:0px;
    float:none;
    margin-top: -30px;
}

/**Inicio de Banner**/
.banner-about{
    background-image: url(/themes/PRSADD279_02/assets/img/megnor/banner-who.png);
    background-repeat:no-repeat ;
    background-size: cover;
    background-position: bottom;
    width:100%;
    height:954px; /* Este alto puede ser un problema en dispositivos móviles */
}

.gradient{
    background: linear-gradient(to top, rgba(66, 33, 11, 0.8) , rgba(66, 34, 11, 0.3) );
    width:100%;
    height:954px; /* Este alto puede ser un problema en dispositivos móviles */
}

.banner-about h1{
    color:#E1DACB;
    font-family:PlayFair;
    height: 100%;
    align-content: center;
    font-size:60px; /* Este tamaño de fuente puede ser demasiado grande para móviles */
}

/* Opcional: Centrar el texto verticalmente */
.banner-about h1 {
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Descripcion del nos */

.description-back{
    width: 100%;
    height: auto;
    background-image: url('/themes/PRSADD279_02/assets/img/megnor/banner-nosotros.jpg');
    align-content: center;
    padding:80px var(--padding-side);
    background-size: cover;
}

.description-back img{
    width:400px!important;
}
.description-about{
    width: 55%;
    max-width: 700px;
    position: relative;
    margin: 80px auto;
    margin-top: 80px;
}

.description-about p {
    font-size: 45px; 
    color: #680434; 
    line-height: 65px;
    font-family: PlayFair;
    font-weight: bold;
}

.description-about .shine  {
    color: #C50A59; 
    font-size: inherit;
    font-weight: bold; 
    font-family: PlayFair;
}
/**Conecta con el Talento**/
.connect-back{
    background:#680434;
    display: flex;
    width: 100%;
    height: auto;
}

.connect-img{
    width: 37%;
}

.connect-about{
    width: 60%;
    align-content: center;
    position:relative;
    padding:5.5%;
}
.connect-about h1{
    color:#FFFFFF;
    font-family: PlayFair;
    font-weight: bold;
    text-align: left;
    font-size: 65px;
}

.connect-about p{
    color:#FFFFFF;
    font-family: Poppins-Light;
    text-align: left;
    font-size:18px;
    line-height: 30px;
}

/**Caracteristicas**/
.attributes-back{
    background-color:#E1DACB;
    width: 100%;
    height: auto;
    padding-bottom: 50px;
}

.attributes-about{
    justify-content: center;
    display: flex;
    flex-wrap: wrap; /* Agrega esto para que los elementos se envuelvan en dispositivos más pequeños */
    padding:var(--padding-global);
}

.attributes-box{
    width:25%;
    height: auto;
    margin:40px auto;
}

.attributes-box h1{
    font-size:22px;
    letter-spacing: 30%;
    font-family: Poppins-Medium;
    line-height: 100%;
    color:#680434;
    margin-top: 40px;
}

.attributes-box p{
    font-size: 14px;
    line-height: 30px;
    color:#680434;
    font-family: Poppins-Light;
}

.attributes-images{
    width: 100%;
    display:flex;
    justify-content: center;
    height: 616px;
    padding:var(--padding-global);
}

.attributes-containt{
    width: 35%;
    height: 100%;
    margin: 0px 10px;
    border-radius: 10px;
}

.attributes-containt h1{
    color:#E1DACB;
    font-family: Poppins-Light;
    font-size:18px;
    line-height: 40px;
    font-weight: bold;
    position:relative;
    top: 80%;
    padding: 0px 24px;
}

.attributes-1{
    background-image: url(/themes/PRSADD279_02/assets/img/megnor/hecho-mano.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.attributes-2{
    background-image: url(/themes/PRSADD279_02/assets/img/megnor/comercializa-mano.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.attributes-3{
    background-image: url(/themes/PRSADD279_02/assets/img/megnor/buy-art.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.attributes-shadow{
    background: linear-gradient(to top, rgba(66, 33, 11, 0.8) , rgba(66, 34, 11, 0.3) );
    width:100%;
    height:100%; 
    border-radius: inherit;
}
#wrapper{
    margin:0px;
}
#footer {
    margin:0px;
}
.page-footer{
    padding:0px!important;
}
/* Media Queries para dispositivos móviles y tablets */

@media (max-width: 1200px) {
    .attributes-box {
        width: 15%;
        height: auto;
        margin: 20px auto;
    }
    .attributes-box h1 {
        font-size: 18px;
    }
    .attributes-box p {
        font-size: 16px;
    }
}

@media (max-width: 768px) { /* Tablets y dispositivos más pequeños */
    .banner-about, .gradient {
        height: 600px; /* Ajusta el alto para tablets */
    }
    .banner-about h1 {
        font-size: 50px; /* Ajusta el tamaño de fuente para tablets */
    }
    .description-back {
        height: 600px;
    }
    .description-about {
        width: 80%;
        left:10%;
        margin: 40px 0px;
    }
    .description-about p {
        font-size: 40px;
        line-height: 55px;
    }
    .connect-back{
        height: auto;
        display: flow-root;
    }
    .connect-img{
        width: 100%;
        height: 700px;
    }
    .connect-about{
        width: 80%;
    }
     .attributes-back {
        height: auto;
    }
    .attributes-box {
        width: 35%;
        height: auto;
        margin: 20px;
    }
    .attributes-box h1 {
        font-size: 16px;
    }
    .attributes-box p {
        font-size: 14px;
    }
    .attributes-images{
        display:flow-root;
        height: auto;
    }
    .attributes-containt{
        height: 600px;
        width: 95%;
        margin:20px;
    }
}

@media (max-width: 480px) { /* Celulares */
    .banner-about, .gradient {
        height: 400px; /* Ajusta el alto para celulares */
    }
    .banner-about h1 {
        font-size: 30px; /* Ajusta el tamaño de fuente para celulares */
        text-align: center; /* Centra el texto en celulares */
    }
    .description-back {
        height: auto;
        padding:20px 0px;
    }
    .description-about {
        width: 90%;
        left:5%;
        margin: 20px 0px;
    }
    .description-about p {
        font-size: 25px;
        line-height: 35px;
    }
    .connect-back{
        height: auto;
        display: flow-root;
        width: 100%;
    }
    .connect-img{
        width:100%;
        height: auto;
    }
    .connect-about{
        width: 80%;
    }
    .attributes-back {
        height: auto;
    }
    .attributes-box {
        width: auto;
        height: auto;
        margin: 20px;
    }
    .attributes-images{
        display: contents;
    }
    .attributes-box h1 {
        font-size: 14px;
    }
    .attributes-box p {
        font-size: 12px;
        width: 60%;
        margin:auto;
    }
    .attributes-containt{
        width: 90%;
        height: 430px;
        margin: 20px auto;
    }
    .attributes-containt h1{
        top:70%;
        
    }
}