.main__flex {
    margin: auto;
    max-width: 1200px;    
}

.bg-light {
    background: #9CECFB;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #fff, #fff, #9CECFB);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #fff, #fff, #9CECFB); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}

.social i {
    margin: 0 9.2px;
    text-shadow: 1px 1px 3px #9c9c9c;
}

.social .face {
    font-size: 2em;
    color: #4267B2;
}

.social .insta {
    font-size: 2em;
    color: #8a3ab9;
}

.social .twitt {
    font-size: 2em;
    color: #1DA1F2;
}

.social .linked {
    font-size: 2em;
    color: #0072b1;
}

.social i:hover {
    opacity: .8;
}

/* modal */
.modal-con {    
    background-color: rgba(0,0,0,.45);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    /* transform: translateX(200%); */
    transition: all .5s linear;
    z-index: 1500;
}

.active {
    visibility: visible;
    opacity: 1;
    /* transform: translateX(0); */
}

.modal__x {    
    text-align: right;    
    font-size: 1rem;
    color: #fafafa;
    transition: .3s ease;
}

.modal__x:hover {
    cursor: pointer;
    color: #000;
}

.modal__box {
    max-width: 300px;
    background-color: rgba(255,255,255,.75);
    padding: 5px 10px;
    border-radius: 5px;   
}

.modal__box img {
    width: 70%;    
    margin: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 2px 2px 3.5px #1f1f1f;    
}

.modal__title {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;    
    color: #1f1f1f;
}

.modal__txt {
    font-size: .88rem;
    text-align: center;    
    color: #000;
}

.modal__btn {    
    display: block;
    width: 100px;
    height: auto;
    margin: auto;
    background-color: #1f1f1f;
    padding: 4px 12px;
    margin-bottom: 10px;
    color: #fafafa;
    text-decoration: none;
    transition: .3s ease;
}

.modal__btn:hover {    
    background-color: #555;
    color: #fafafa;
    text-decoration: none;
}
/* end modal */

/* video section */

.xmas-con {    
    text-align: center;
    margin: auto;
    padding: 50px 0;
    max-width: 1440px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);    
}

.xmas__video {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    padding: 0 10px;    
}

.text-afeet {
    font-size: 1.3rem;
    font-family: 'Ubuntu', sans-serif;   
    color: #CA8596;
}

video {    
    max-width: 640px;    
    height: auto;
    border-radius: 2%;   
    box-shadow: 0px 0px 7px #CA8596;    
}

.afeet-thanks {
    font-size: 1.4rem;
    margin-bottom: 50;
    color: #CA8596 !important;
}

/* End video section */

.orphan-con, .p-message {
    padding-top: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;  
    min-height: 200px;
    background-image: url("../img/friendsofaca_color.svg");
    background-size: 55%;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
}


/* Childrens Days Content */

.celebrate-con {
    padding-top: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;    
    min-height: 200px;
    background-image: url("../img/friendsofaca_color.svg");
    background-size: 55%;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
}

.celebrate-title {
    font-size: 2.3em !important;    
    color: #1d4871 !important;    
}

.celebrate-border {
    border: .1em solid #FFBE67 !important;    
}

.celebrate-txt {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.1em;
    font-weight: normal;
}

.especial-con {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    padding: 0 20px;
    place-items: center;  
}

.especial__item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 30px;   
}

video {
    max-width: 400px;    
    margin: auto;
    padding: 10px;
    box-shadow: 0px 0px 7px #CA8596;
}

.video__link {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 7px 12px;
    background-color: #ff4444;
    color: #fafafa;
    transition: .3s ease;
    font-size: 1rem;    
    border-radius: 7px;
    box-shadow: 0 0 3px #1f1f1f;
    margin-top: 20px;
    margin-bottom: 30px;
}

.video__link:hover {
    text-decoration: none;
    background-color: #CC0000;
    color: #fafafa;    
}

.especial__title {
    color: #1d4871 !important;
    margin-bottom: 30px;
}

.especial__txt {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;    
}

/* End Childrens Day Content */

.mission-con  {
    padding-top: 20px;
    padding-bottom: 30px;      
    min-height: 200px;
    background-image: url("../img/friendsofaca_color.svg");
    background-size: 55%;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
}

.orphan-title, .mission-title, .pm-title {
    font-size: 2.3em !important;    
    color: #1d4871 !important;    
}

.orphan-border, .core-border, .pm-border {
    border: .1em solid #FFBE67 !important;    
}

.orphan-txt, .mission-txt, .pm-txt {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.1em;
    font-weight: normal;
}

.boxes {    
    display: flex;    
    flex-wrap: wrap;                
    justify-content: center;
    align-items: center;
    -webkit-box-align: center;
    overflow: hidden;    
}

.box__home {    
    position: relative;    
    width: 25.5%;
    height: 300px;
    margin: 10px 10px;    
    padding: 15px;
    text-align: center;
    border-radius: 2%;    
    box-shadow: 0 0 2px .7px rgba(0,0,0,.4);
    background-color: #fafafa;
    overflow: hidden;
    transition: .4s ease-in-out;               
}

.box__home:hover {
    transform: scale(1.05, 1.05);
}

.box__txt {
    font-family: 'Ubuntu', sans-serif;
    font-size: .9em;
    font-weight: 300;    
}

.btn-margin {
    display: none;
    position: absolute;
    top: 10px;
    right: 0;
    padding-left: 12px;
    margin-right: 15px;
    margin-bottom: 15px;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: .5px .5px 1.7px #1f1f1f;    
}

.children {
    background-image: url(../img/portada2.jpg);
    background-repeat: repeat;
    background-position: center 30%;
    background-size: cover;
    object-fit: cover;    
    padding-top: 50px;
    padding-bottom: 50px;    
}

.boxes-core {      
    display: flex;    
    flex-wrap: nowrap;        
    justify-content: center;
    align-items: center;
    overflow: hidden;        
}

.box__core {
    background-color: #fafafa;  
    border-radius: 5px;
    width: 25%;
    height: 330px;
    margin: 15px;
    padding: 30px 10px;
    text-align: center;    
    box-shadow: .5px .5px 7px rgba(0,0,0,.3);
    opacity: .9;
    transition: .4s ease-in-out;                  
}

.box__core:hover {
    transform: scale(1.07, 1.07); 
}

.box__core i {
    border-radius: 50%;
    padding: 5px;
    color: #0575E6;
}

.core__title {
    font-size: 1.05em;
    padding-top: 15px;
}

.core-border {
    border: .1em solid  #FFBE67 !important;
}

.core__txt {
    font-family: 'Ubuntu', sans-serif;
    font-size: .9em;    
    font-weight: 300;
}

.president__pic {
    padding-bottom: 30px;
    margin: 30px 0;
    text-align: center;    
}

.p-img {
    width: 82%;
    min-height: 210px;
    box-shadow: 4px 4px 3px #FFBE67;    
}

.president__foa {
    font-size: 1.8em;
    padding-bottom: 20px;    
}

.president__txt {    
    text-align: justify;            
}

.president__sign {
    padding-top: 15px;
    text-align: center;
    margin: 25px 0;
    color: #1d4871;
}

.president__message {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;    
    font-weight: 300;
    padding: 18px 15px;
}

@media screen and (max-width: 320px) {
    
    .amg-org {
        font-size: .69em;
        color: #1d4871;
    }    

    .amg-welcome {
        font-size: 1.2em;
    }

    .amg-foa {
        font-size: 1.55em;
    }    

    .orphan-title, .mission-title,
     .pm-title, .celebrate-title  {
        font-size: 1.55em !important; 
    }

    .orphan-txt, .mission-txt, .core__txt, .pm-txt {
        font-size: .95em;
    }

    .xmas-con {        
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .especial-con {
        grid-template-columns: repeat(1, 1fr);
    }

    .especial__title {
        font-size: 1.55em;
    }

    video {
        max-width: 250px;        
    }

    .boxes {
        display: flex;                                   
        display:-webkit-box;
        flex-direction: column;
        -webkit-box-orient:vertical;
    }

    .box__home {        
        width: 85%;
        height: 17%;
        margin: 10px 0;                      
    }
      
    .btn-margin {        
        top: 8px;           
        right: -8px;
    }

    .boxes-core {      
        flex-direction: column;
        -webkit-box-orient:vertical;   
    }

    .box__core {        
        width: 85%;                                   
    }
}

@media screen and (min-width: 321px) and (max-width: 374px) {
    .amg-org {
        font-size: .75em;
        color: #1d4871;
    }

    .amg-foa {
        font-size: 1.55em;
    }  

    .orphan-title, .mission-title,
     .pm-title, .celebrate-title  {
        font-size: 1.8em !important; 
     }

    .box__home, .box__core {
        width: 90%;
    }

    .xmas-con {        
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
     }

    .especial-con {
        grid-template-columns: repeat(1, 1fr);
    }

    .especial__title {
        font-size: 1.55em;
    }

    video {
        max-width: 280px;        
     }     
    
    .boxes-core {              
        flex-direction: column;
        -webkit-box-orient:vertical;   
    }
}

@media screen and (min-width: 375px) and (max-width: 768px) {    

    .amg-foa {
        font-size: 2.1em;
    }    

    .orphan-title, .mission-title,
    .pm-title, .celebrate-title  {
        font-size: 1.8em !important; 
     }

     .orphan-txt, .mission-txt, .core__txt, .pm-txt {
         font-size: 1em;
     }

    .xmas-con {        
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
     }

    .especial-con {
        grid-template-columns: repeat(1, 1fr);
    }

    video {
        max-width: 320px;        
     }

    .boxes {                             
        display: flex;                                           
        display:-webkit-box;
        flex-direction: column;
        -webkit-box-orient:vertical;        
    }

    .box__home {        
        width: 75%;
        height: 20%;
        margin: 10px 0;                              
    }
    
    .boxes-core {             
        flex-direction: column;
        -webkit-box-orient:vertical;   
    }

    .box__core {        
        width: 80%;                                           
    }

}

@media screen and (min-width: 769px) and (max-width: 1024px) {  
    .xmas-con {        
        grid-template-columns: repeat(2, 2fr);        
        padding: 0 30px;
        gap: 20px;
    }

    .especial__title {
        font-size: 1.7em;
    }

    video {
        width: 320px;        
    }

    .especial-con {
        grid-template-columns: repeat(1, 1fr);
    }

    .box__home {        
        width: 51%;
        height: 20%;
        margin: 10px 0;                      
    }

    .box__core {        
        width: 80%;
        height: 400px;                                           
    }   
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .xmas-con {        
        grid-template-columns: repeat(2, 2fr);        
        padding: 0 30px;
        gap: 20px;
    }

    video {
        width: 400px;        
    }
}