.logotype, .animatedlogo, .title {
    display: none;
}
.tile {
    width: 80%;
    min-width: 320px;
    justify-self: center;
}
.grid-container {
    display: grid;
    position: absolute;
    width: 100vw;
    min-height: 100vh;
    gap: 0rem;
    grid-template-columns: 1% 1% repeat(2, 1fr) 2px repeat(2, 1fr) 2px repeat(2, 1fr) 1% 1%;
    grid-template-rows: 40px 150px 30px repeat(4, 25px) 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 150px 750px 130px;
    margin: 0 auto;
    z-index: 1;
}
.toprow {
    grid-row: 1 / 2;
    grid-column: 1 / 13;
}
.banner {
    grid-row: 2 / 3;
    grid-column: 1 / 13;
}
header {
    grid-row: 3 / 4;
    grid-column: 1 / 13;
}
.hero-title {
    grid-row: 5 / 8;
    grid-column: 1 / 13;
}
.grid-bg {
    grid-row: 4 / 28;
    grid-column: 1 / 13;
}
.hero-content {
    grid-row: 4 / 8;
    grid-column: 1 / 13;
}
.slideshow {
    grid-row: 4 / 8;
    grid-column: 1 / 13;
}
.conferences {
    grid-row: 9 / 10;
    grid-column: 3 / 11;
}
.workshops {
    grid-row: 11 / 12;
    grid-column: 3 / 11;
}
.journals {
    grid-row: 13 / 14;
    grid-column: 3 / 11;
}

.president {
    grid-row: 15 / 16;
    grid-column: 3 / 11;
}
.founder {
    grid-row: 17 / 18;
    grid-column: 3 / 11;
}
.directors {
    grid-row: 19 / 20;
    grid-column: 3 / 11;
}



.centers {
    grid-row: 21 / 22;
    grid-column: 3 / 11;
}
.mission {
    grid-row: 23 / 24;
    grid-column:3 / 11;
}
.membership {
    grid-row: 25 / 26;
    grid-column: 3 / 11;
}

.pre-footer {
    grid-row: 28 / 29;
    grid-column: 1 / 13;
}
footer {
    grid-row: 29 / 30;
    grid-column: 1 / 13;
}



.banner {
    justify-content: space-evenly;
}
.title {
    justify-self: left;
    align-self: center;
    padding: 1rem;
    margin-right: 0rem;
}
.animatedlogocontainer {
    margin-left: 1rem;
    width: 150px;
    height: 150px;
    justify-content: center;
    align-content: center;
    
}
.animatedlogo img {
    width: 100%;
    padding: .7rem;
    border-radius: 50%;
}
/*
.animatedlogo {
    width: 100%;
    height: auto;        
    border-radius: ;50%;

}*/

.logotype {
    position: absolute;
    justify-self:flex-end;
    align-self: center;
}
.socialicons {
    display: flex;
    align-self: center;
    margin-right: 1.5rem;
}
.socialicons i {
    padding: .5rem;
    font-size: 2.5rem;
}

.mySlides {
    width: 100%;
    height: auto;
}



.grid-bg {
    justify-content: center;
    align-items: center;
    background-image: url(../resources/assets/map.jpg);
    background-color: rgba(250, 250, 250, 0.65);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode:lighten;
}
.hero-title {
    justify-self: center;
    align-self: center;
    z-index: 111;
    opacity: 1;
}

.conferences {
    background-color: rgba(22, 22, 22, 0.452);
    background-image: url(../resources/assets/usf1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-blend-mode: overlay;
}
.conferences aside {
    flex-direction: column;
    justify-content: left;
    padding: .5rem 0 0 2.5rem;
}
.workshops {
    background-image: url(../resources/assets/workshops.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}
.journals {
    background-image: url(../resources/assets/journals.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
.conferences h2, .workshops h2, .journals h2 {
    text-align: center;
}
/*
.president {
    background-image: url(../resources/assets/president/drtsokosjpg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    background-blend-mode: overlay ;
    padding-bottom: .7rem;
} */
.centers {
    background-image: url(../resources/assets/ifnacentersmaploc.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    justify-content: center;
    align-items: flex-end;
}
.centers h2 {
    text-align: center;
    
}


.mission {          
    background-image: url(../resources/assets/mission.png), url(../resources/assets/horizonlg.jpg);     
    background-repeat: no-repeat, no-repeat;
    background-size: 75%, cover;
    background-position: center, center;
    justify-content: center;
    align-items: flex-end;
}

/*
.membership {
    background-color: #fff;
    background-image: url(../resources/assets/IFNA_bluegreen_logo.png);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
}*/
.membership {
    background-image: url(../resources/assets/memberbenefits.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    justify-content: center;
    align-items: flex-end;
}

.membership p {
    align-items: center;
    text-align: left; 
    margin-left: 2rem;           
}
.membership ul {
    margin-left: 4rem;
}
.directors aside {
    flex-direction: column;
    height: 80%;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.president aside,
.founder aside {
    flex-direction: column;
    justify-content: left;
    padding: .5rem 0 0 2.5rem;
}
.presidentbiolink,
.founderbiolink {
    padding: .2rem;
    border: 1px solid whitesmoke;
}

.president h3,
.founder h3 {
    padding-block: .5rem;
}
.president p,
.founder p {
    display: block;
    padding-bottom: 1.5rem;
    max-width: 20ch;
}
.footerlogo {
    width: 150px;
}
.pre-footer {
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    line-height: 1.5rem;
}
footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1rem;
    width: 100%;
    margin: 0 auto;
}


/**********************
.moto p {
    position: relative;
    
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1rem;
    color: whitesmoke;
    text-shadow: 0 0 5px steelblue;
    border-radius: 10px;
    background-color: rgba(191, 216, 216, 0.377);
    backdrop-filter: blur(.2rem);
    z-index: 1000;
    }


.hero-content {
    background-image: url(../resources/assets/home-main/d-group2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/****************************
.president {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: whitesmoke;
    background-color: #838c916c;
    background-image: url(../resources/assets/president/drtsokosjpg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-blend-mode:multiply;
    padding-bottom: .5rem;
}
.presidentbiolink {
    padding: .1rem;
    border: 1px solid whitesmoke;
}

.president h3 {
    padding-block: .5rem;
}
.president p {
    display: none;
    padding-bottom: .5rem;
    max-width: 20ch;
}

.mission {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
    background-image: url(../resources/assets/mission.png), url(../resources/assets/horizon.jpg);     
    background-repeat: no-repeat, no-repeat;
    background-size: 75%, cover;
    background-position: center, bottom;
    padding-bottom: .5rem;
}
.mission a {
    text-align: center;
}
.mission img {
    justify-self: center;
    width: 80%;
    height: auto;
    max-width: 400px;   
}
.missionlink {
    padding: .2rem;
    border: 1px solid whitesmoke;
}

.membership {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding-bottom: .5rem;
    color: #e48e4c;
    background-color: #fff;
    background-image: url(../resources/assets/IFNA_bluegreen_logo.png);
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: center;
}

.membershiplink {
    font-size: .9rem;
    color: #e48e4c;
    letter-spacing: 1px;
    padding: .2rem;
    border: 1px solid #e48e4c;
}


footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3rem;
    width: 100%;
    margin: 0 auto;
}
footer p {
    max-width: 80%;
}
***********************************/




@media (min-width:768px) and (max-width:1024px) {
    .logotype, .animatedlogo, .title {
        display: block;
    }
    .mobile {
        display: none;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 1% 1% repeat(2, 1fr) 2px repeat(2, 1fr) 2px repeat(2, 1fr) 1% 1%;
        grid-template-rows: 40px 150px 30px repeat(4, 70px) 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 250px 40px 350px 40px 150px 700px 150px;
        margin: 0 auto;
        z-index: 1;
    }
    .tile {
        width: 80%;
        min-width: 320px;
        height: 250px;
        justify-self: center;
    }
    /*
    .moto p {
        position: absolute;
        top: 27%;
        left: 27.5%;
        font-size: 2rem;
    }*/
    
    .mission {
        background-image: url(../resources/assets/mission.png), url(../resources/assets/horizon.jpg);     
        background-repeat: no-repeat, no-repeat;
        background-size: 75%, cover;
        background-position: center, center;
        padding-bottom: .5rem;
    }
    /*
    .membership {
        background-size: 30%;
    }*/
    .president p {
        display: block;
    }

 
        
    
}


@media (min-width:1024px) {
    .mobile {
        display: none;
    }
    .logotype, .animatedlogo, .title {
        display: block;
    }
    
    .banner {
        justify-content: space-evenly;
    }
    .title {
        justify-self: left;
        align-self: center;
        padding: 1rem;
        margin-right: 0rem;
    }
    .animatedlogocontainer {
        margin-left: 1rem;
        width: 150px;
        height: 150px;
        justify-content: center;
        align-content: center;
        
    }
    .animatedlogo img {
        width: 100%;
        padding: .7rem;
        border-radius: 50%;
    }
    /*
    .animatedlogo {
        width: 100%;
        height: auto;        
        border-radius: ;50%;
    
    }*/
    
    .logotype {
        position: absolute;
        justify-self:flex-end;
        align-self: center;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 1% 1% repeat(2, 1fr) 2px repeat(2, 1fr) 2px repeat(2, 1fr) 1% 1%;
        grid-template-rows: 40px 150px 30px repeat(4, 100px) 40px 300px 40px 300px 40px 300px 40px 300px 40px 300px 40px 300px 40px 300px 40px 300px 40px 400px 40px 150px 400px 150px;
        margin: 0 auto;
        z-index: 1;
    }
    .tile {
        width: 70%;
    }
    .mission {
        background-size: 50%, cover; 
        background-position: center, bottom;
        padding-bottom: 1rem;
    }
    .pre-footer {
        flex-direction: row;
    }
}


/*********************************
        IPAD PRO

@media (min-width:1024px) and (min-height:1366px) {
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        height: 100vh;
        gap: 1rem;
        
        grid-template-rows: 50px 150px 50px repeat(5, 120px) 10px repeat(2, 130px) 10px repeat(2, 130px) 9px repeat(2, 55px);
        margin: 0 auto;
        z-index: 1;
    }
    .mission {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        background-color: #fff;
        background-image: url(../resources/assets/mission.png), url(../resources/assets/horizon.jpg);     
        background-repeat: no-repeat, no-repeat;
        background-size: 50%, cover;
        background-position: center, bottom;
        padding-bottom: 2rem;
    }
    .moto p {
        position: absolute;
        top: 30%;
        left: 30%;
    }
    .mission {
        background-size: 50%, cover;
    }
    .membership {
        background-size: 50%, cover;
    }
}

*********************************/






@media (min-width:1070px) {
   
    .slideshow {
        display: block;
    }
   
    .tile {
        width: 300px;
        min-width: 320px;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 1% 1% repeat(2, 1fr) 20px repeat(2, 1fr) 20px repeat(2, 1fr) 1% 1%;
        grid-template-rows: 40px 150px 40px repeat(4, 75px) 40px 250px 40px 250px 40px 250px 200px 250px 80px;
        margin: 0 auto;
        z-index: 1;
    }
    .toprow {
        grid-row: 1 / 2;
        grid-column: 1 / 13;
    }
    .banner {
        grid-row: 2 / 3;
        grid-column: 1 / 13;
    }
    header {
        grid-row: 3 / 4;
        grid-column: 1 / 13;
    }
    .hero-content {
        grid-row: 4 / 8;
        grid-column: 1 / 13;
    }
    .slideshow {
        grid-row: 4 / 8;
        grid-column: 1 / 13;
    }
    .conferences {
        grid-row: 9 / 10;
        grid-column: 3 / 5;
    }
    .workshops {
        grid-row: 9 / 10;
        grid-column: 6 / 8;
    }
    .journals {
        grid-row: 9 / 10;
        grid-column: 9 / 11;
    }

    .president {
        grid-row: 11 / 12;
        grid-column: 3 / 5;
    }
    .founder {
        grid-row: 11 / 12;
        grid-column: 9 /11;
    }
    .directors {
        grid-row: 11 / 12;
        grid-column: 6 / 8;
    }



    .centers {
        grid-row: 13 / 14;
        grid-column: 3 / 5;
    }
    .mission {
        grid-row: 13 / 14;
        grid-column: 6 / 8;
    }
    .membership {
        grid-row: 13 / 14;
        grid-column: 9 / 11;
    }
    
    .pre-footer {
        grid-row: 15 / 16;
        grid-column: 1 / 13;
    }
    footer {
        grid-row: 16 / 17;
        grid-column: 1 / 13;
    }

    .banner {
        justify-content: space-evenly;
    }
    .title {
        justify-self: left;
        align-self: center;
        padding: 1rem;
        margin-right: 15rem;
    }
    .animatedlogocontainer {
        margin-left: 5rem;
        width: 150px;
        height: 150px;
        justify-content: center;
        align-content: center;
        
    }
    .animatedlogo img {
        width: 100%;
        padding: .7rem;
        border-radius: 50%;
    }
    /*
    .animatedlogo {
        width: 100%;
        height: auto;        
        border-radius: ;50%;
    
    }*/

    .logotype {
        position: absolute;
        justify-self:flex-end;
        align-self: center;
    }
    .socialicons {
        display: flex;
        align-self: center;
        margin-right: 1.5rem;
    }
    .socialicons i {
        padding: .5rem;
        font-size: 2.5rem;
    }
    

    
    
    
    /*****************
    .moto p {
        position: relative;
        top: 30%;
        left: 30%;
      
        font-family: 'Caveat', cursive;
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: 2px;
        padding: 1rem;
        color: whitesmoke;
        border-radius: 10px;
        background-color: rgba(191, 216, 216, 0.1);
        backdrop-filter: blur(.9rem);
        z-index: 1000;
        }
    **********************/
        .conferences {
            background-color: rgba(22, 22, 22, 0.452);
            background-image: url(../resources/assets/usf1.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: bottom;
            background-blend-mode: overlay;
        }
        .conferences aside {
            flex-direction: column;
            justify-content: left;
            padding: .5rem 0 0 2.5rem;
        }
        .workshops {
            background-image: url(../resources/assets/workshops.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: bottom;
        }
        .journals {
            background-image: url(../resources/assets/journals.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: top;
        }
        .conferences h2, .workshops h2, .journals h2 {
            text-align: center;
        }
        /*
        .president {
            background-image: url(../resources/assets/president/drtsokosjpg.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: left top;
            background-blend-mode: overlay ;
            padding-bottom: .7rem;
        } */
        .centers {
            background-image: url(../resources/assets/ifnacentersmaploc.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: bottom;
            justify-content: center;
            align-items: flex-end;
        }
        .centers h2 {
            text-align: center;
            
        }
        
        
        .mission {          
            background-image: url(../resources/assets/mission.png), url(../resources/assets/horizonlg.jpg);     
            background-repeat: no-repeat, no-repeat;
            background-size: 75%, cover;
            background-position: center, center;
            justify-content: center;
            align-items: flex-end;
        }
        
        /*
        .membership {
            background-color: #fff;
            background-image: url(../resources/assets/IFNA_bluegreen_logo.png);
            background-repeat: no-repeat;
            background-size: 50%;
            background-position: center;
        }*/
        .membership {
            background-image: url(../resources/assets/memberbenefits.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: top;
            justify-content: center;
            align-items: flex-end;
        }
        
        .membership p {
            align-items: center;
            text-align: left; 
            margin-left: 2rem;           
        }
        .membership ul {
            margin-left: 4rem;
        }
        .directors aside {
            flex-direction: column;
            height: 80%;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .president aside,
        .founder aside {
            flex-direction: column;
            justify-content: left;
            padding: .5rem 0 0 2.5rem;
        }
        .presidentbiolink,
        .founderbiolink {
            padding: .2rem;
            border: 1px solid whitesmoke;
        }

        .president h3,
        .founder h3 {
            padding-block: .5rem;
        }
        .president p,
        .founder p {
            display: block;
            padding-bottom: 1.5rem;
            max-width: 20ch;
        }
        .footerlogo {
            width: 150px;
        }
        .pre-footer {
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;
            line-height: 1.5rem;
        }

    }    








    

@media (min-width:1200px) {
    .tile {
        min-width: 320px;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 2% 2% repeat(2, 1fr) 40px repeat(2, 1fr) 40px repeat(2, 1fr) 2% 2%;
        grid-template-rows: 40px 150px 40px repeat(4, 85px) 40px 250px 40px 250px 40px 250px 200px 250px 80px;
        margin: 0 auto;
        z-index: 1;
    }
    .toprow {
        grid-row: 1 / 2;
        grid-column: 1 / 13;
    }
    .banner {
        grid-row: 2 / 3;
        grid-column: 1 / 13;
    }
    header {
        grid-row: 3 / 4;
        grid-column: 1 / 13;
    }
    .hero-content {
        grid-row: 4 / 8;
        grid-column: 1 / 13;
    }
    .slideshow {
        grid-row: 4 / 8;
        grid-column: 1 / 13;
    }
    .conferences {
        grid-row: 9 / 10;
        grid-column: 3 / 5;
    }
    .workshops {
        grid-row: 9 / 10;
        grid-column: 6 / 8;
    }
    .journals {
        grid-row: 9 / 10;
        grid-column: 9 / 11;
    }

    .president {
        grid-row: 11 / 12;
        grid-column: 3 / 5;
    }
    .founder {
        grid-row: 11 / 12;
        grid-column: 9 /11;
    }
    .directors {
        grid-row: 11 / 12;
        grid-column: 6 / 8;
    }



    .centers {
        grid-row: 13 / 14;
        grid-column: 3 / 5;
    }
    .mission {
        grid-row: 13 / 14;
        grid-column: 6 / 8;
    }
    .membership {
        grid-row: 13 / 14;
        grid-column: 9 / 11;
    }
    
    .pre-footer {
        grid-row: 15 / 16;
        grid-column: 1 / 13;
    }
    footer {
        grid-row: 16 / 17;
        grid-column: 1 / 13;
    }





    

   
    
    .tile {
        transition: 1s;
        transition-timing-function: ease-out;
    }
    .tile:hover {
        transform: scale(1.1);
        z-index: 100;
        overflow: hidden;        
    }
    footer {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        line-height: 1.3rem;
        width: 100%;
        margin: 0 auto;
    }
    
}



@media (min-width:1400px) {
    .tile {
        min-width: 320px;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 5% 5% repeat(2, 1fr) 40px repeat(2, 1fr) 40px repeat(2, 1fr) 5% 5%;
        grid-template-rows: 40px 150px 40px repeat(4, 100px) 40px 250px 40px 250px 40px 250px 200px 250px 80px;
        margin: 0 auto;
        z-index: 1;
    }
    
    .banner {
        justify-content: center;
    }
    .title {
        justify-self: left;
        align-self: center;
        padding: 1rem;
        margin-right: 25rem;
    }
    .animatedlogocontainer {
        margin-left: 10rem;
        width: 150px;
        height: 150px;
        justify-content: center;
        align-content: center;
        
    }
    .animatedlogo img {
        width: 100%;
        padding: .7rem;
        border-radius: 50%;
    }
    /*
    .animatedlogo {
        width: 100%;
        height: auto;        
        border-radius: ;50%;
    
    }*/

    .logotype {
        position: absolute;
        justify-self:flex-end;
        align-self: center;
    }
    .socialicons {
        align-self: center;
        margin-right: 3rem;
    }
    .socialicons i {
        padding: .5rem;
    }
    
   
    
    
    
    .footerlogo {
        width: 150px;
    }
    .pre-footer {
        justify-content: space-evenly;
        align-items: center;
        line-height: 1.5rem;
    }
}
    




@media (min-width:1500px) {
    
    .tile {
        min-width: 330px;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: 5% repeat(3, 1fr) 40px repeat(2, 1fr) 40px repeat(3, 1fr) 5%;
        grid-template-rows: 40px 150px 40px repeat(4, 110px) 40px 250px 40px 250px 40px 250px 200px 250px 80px;
        margin: 0 auto;
        z-index: 1;
    }
    
}
@media (min-width:1700px) {
    
    .tile {
        min-width: 350px;
    }
    .grid-container {
        display: grid;
        position: absolute;
        width: 100vw;
        min-height: 100vh;
        gap: 0rem;
        grid-template-columns: repeat(4, 1fr) 80px repeat(2, 1fr) 80px repeat(4, 1fr);
        grid-template-rows: 40px 150px 40px repeat(4, 125px) 40px 250px 80px 250px 80px 250px 200px 250px 80px;
        margin: 0 auto;
        z-index: 1;
    }
    .mySlides {
        width: 100%;
        height: auto;
    }
}