/******************************************
        Global Styles
******************************************/
:root {
    --color-primary-bg: hsl(204 100% 59%);
    --color-secondary-bg: hsl(118 90% 52%);
    --color-primary-bg-dark: hsl(204 100% 45%);
    --color-primary-bg-light: hsl(0 100% 100%);
    --color-text-light: #fff;
    --color-link-light: rgb(245, 245, 245);
    --color-link-accent: rgb(190, 190, 190);
}


*, ::after, ::before {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
* {
    padding: 0;
    margin: 0;
    
}
html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Roboto', 'Lato', sans-serif;
    font-size: 16px;
    margin: 0;
    width: 100%;
    color: var(--color-text-light);

    background-color: #dedede;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Lato', sans-serif;
}
h1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-bg) !important;       
}
.tag {
    color: var(--color-secondary-bg) !important;
}
h2 {
    font-size: 1.5rem;
    font-weight: 300;
}
h3 {
    font-size: 1.1rem;
    font-weight: 400;
}
.hero-title {
    font-family: 'Alfa Slab One', cursive;
    font-size: 22rem;    
    letter-spacing: 1.3rem;
    color: rgba(0, 0, 0, 0.308);
    background-image: url(../resources/assets/headshotbg3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-clip: text;
    -webkit-background-clip: text;
}
/*
.hero-title span {
    text-shadow: 2px 2px 4px #000000;
    opacity: 0.2;
}*/
p {
    font-size: 1rem;
    font-weight: 300;
}
.conferences h3 {
    font-size: 2rem;
    padding: 1.5rem;
}
.conferences p {
    font-size: 1.3rem;
}
.pre-footer h3 {
    font-size: 1.4rem;
}




   

/************IPAD PRO **********************/
@media (min-width:1024px) and (min-height:1366px) {
    
    .president h3 {
        font-size: 1.2rem;
    }
    .president p {
        font-size: 1rem;
        padding-bottom: 1rem;
    }
    .president a {
        font-size: 1rem;
    }
}

/**********************************
        Link Styles
**********************************/

.nav a {
   /* font-size: clamp(1rem, 1.7vw, 1.4rem);*/
    text-transform: uppercase;
    letter-spacing: 2px;
}
a {
    text-decoration: none;
    cursor: pointer;
}
.pre-footer li {
    list-style: none;
}

@media (max-width:1070px) {
    

    /* unvisited link */
    a:link {
        color: var(--color-link-light);
    }
    
    /* visited link */
    a:visited {
        color: var(--color-link-light);
    }
    
    /* mouse over link */
    a:hover {
        color: #4c4c4c;
        text-decoration: underline;
    }
    
    /* selected link */
    a:active {
        color: var(--color-link-light);
    }
    footer a {
        text-decoration: underline;
    }
}

  @media (min-width:1070px) {
            /* unvisited link */
        a:link {
            color: var(--color-link-light);
        }
                
        /* visited link */
        a:visited {
            color: var(--color-link-light);
        }
             
        /* mouse over link */
        a:hover {
            color: var(--color-link-light);
        }
        .pre-footer a:hover {
            color: var(--color-link-accent);
        }
        .primary-navigation a:hover {
            border-bottom: 1px solid var(--color-link-light);
        }
        
        /* selected link */
        a:active {
            color: var(--color-link-light);
        }
        


        /* mouse over link */
        .toprow a:hover {
            color: var(--color-text-light);
        }
                
        /* selected link */
        .toprow a:active {
            color: var(--color-primary-bg-dark);
        }
      
  }


/*
 
  /* unvisited link 
  .president a:link {
    color: var(--color-link-light);
  }
  
  /* visited link 
  .president a:visited {
    color: var(--color-link-light);
  }
  
  /* mouse over link 
  .president a:hover {
    color: var(--color-link-light);
  }
  
  /* selected link 
  .president a:active {
    color: var(--color-link-light);
  }

*/

  






.sr-only {
      display: none;
}
.flex {
    display: flex;
}
.flex-columns {
    display: flex;
    flex-direction: column;
}

.toprow-nav {
    display: none;
}
.slideshow {
    display: none;
}

.toprow {
    background: linear-gradient(to right, midnightblue, hsl(204 100% 45%), midnightblue);
}
.banner {
    background-color: #fff;
}
header {
    background-color: var(--color-primary-bg);
}
.hero-title {
    display: block;
}
.socialicons {
    font-size: 3rem;
    color: steelblue;
}
.socialicons i:hover{
    color: var(--color-secondary-bg);
    color:  rgb(132, 255, 61)
}
.logotype {
    font-family: 'Noto Seri', serif;
    font-weight: 900;
    font-size: 3.7rem;
    /*
    text-shadow: ;0px 0px 10px rgb(203, 217, 255); */
    background: linear-gradient(
    to right, 
    hsl(98 100% 62%),/* hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%),*/
    hsl(204 100% 59%)/*, hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%)*/
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 2000ms linear;
    /*animation-direction: alternate;*/
    animation-iteration-count: 5;
}
@keyframes gradient {
    
    0% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    7% {background: linear-gradient(to right, #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    14% {background: linear-gradient(to right, hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    21% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    28% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    35% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    42% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    49% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    56% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), #fff, #fff, #fff, #fff,  hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    63% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), #fff, #fff, #fff, #fff,  hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    70% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), #fff, #fff, #fff, #fff,  hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    77% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), #fff, #fff, #fff, #fff, hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    84% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), #fff, #fff, #fff, #fff, hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    92% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), #fff, #fff, hsl(204 100% 59%), hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}

    100% {background: linear-gradient(to right, hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(98 100% 62%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), hsl(204 100% 59%), #fff, #fff, hsl(204 100% 59%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;}


}

.conferences h2, .workshops h2, .journals h2 {
    text-align: center;
    padding: .5rem;
    font-weight: 500;
    background-image: linear-gradient(to right, midnightblue , var(--color-primary-bg-dark), midnightblue);
    opacity: .99;
    box-shadow: 0px 1px 10px 3px midnightblue;
}
.centers h2, .mission h2, .membership h2 {
    font-size: 1.1rem;
    font-weight: 300;
}

.centers a, .mission a, .membership a {
    font-size: 1.1rem;
    font-weight: 300;
    border: 2px solid #fff;
    border-radius: 40px;
    padding: .3rem;
    margin-bottom: .5rem;
}
.centers a:hover, .mission a:hover, .membership a:hover {
    background-color: var(--color-primary-bg-dark);
}

.tile {
    background-color: var(--color-primary-bg-dark);
    /*border: 2px solid var(--color-primary-bg);*/
    box-shadow: 4px 4px 10px 3px rgb(65, 65, 65);
}

.president {
    background-image: linear-gradient(to right, midnightblue , var(--color-primary-bg-dark));
}
.founder {
    background-image: linear-gradient(to left, midnightblue , var(--color-primary-bg-dark));
}
@media (max-width:1070px) {
    .president, .founder, .directors {
        background-image: linear-gradient(to right, midnightblue , var(--color-primary-bg-dark));
    }
}
.t3 h2 {
    width: 100%;
    padding: .5rem 1.5rem;
    
    background-color: var(--color-primary-bg);
    border-radius: 0 0 0 35px;  
}


.pre-footer {
    color: var(--color-link-light);
    background-color: var(--color-primary-bg-dark);
    padding-block: 1rem;
}
.pre-footer h3 {
    padding: 1rem 0;
}
@media (max-width:1070px) {
    .pre-footer li {
        max-width: 20ch;
    }    
}
footer {
    background-color: var(--color-primary-bg);
    font-size: .85rem;
    color: var(--color-link-light);
}









  /****************************************
                Navigation
  *****************************************/

  .nav-item, .dropdown {
    float: left;
    overflow: hidden;
  }
  .nav-item {
      padding: 0 .8rem;
      font-size: 1.1rem;
  }
  .light {
      display: inline;
      width: 1.2rem;
      padding-left: 0.2rem;
  }
  .dark {
      display: none;
  }
  .dropbtn a:hover ~ img {
    transform: rotate(180deg);
    padding: 0 .3rem 0 0;
    transition: 0.3s ease-in-out;
  }


  .dropdown .dropbtn {
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    font-size: 1rem;
    margin: 0;
  }
  

  .dropdown-content {
    display: none;
    position: absolute;
  /*  background-color: rgba(245, 245, 245, 0.6);   */
    width: 150px;
    margin: 0rem .5rem 0 0;
    border-radius: 7px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    background-color: hsl(0 0% 10% / 0.7);
    backdrop-filter: blur(1rem);
    z-index: 1000;
  }
 
        @supports (backdrop-filter: blur(1rem)) {
            .dropdown-content {
                background-color: hsl(204 100% 60% / 0.6);
                backdrop-filter: blur(1rem);
            }
        }
  
  .dropdown-content a {
    float: none;
    padding: .75rem 1rem;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover, .dropdown:hover .dropbtn {
    font-weight: bold;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }











  @media (max-width:1070px) {
    
    .primary-navigation {
        position: fixed;
        gap: 1.5rem;  
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 5rem) 1em;
       
        z-index: 4444;
        transform: translateX(100%);
        transition: transform 350ms ease-in-out;
    }

    .primary-navigation {
        background: rgba(54, 68, 98, 0.829);
        backdrop-filter: blur(1rem);
    }
    
            @supports (backdrop-filter: blur(1rem)) {
                .primary-navigation {
                    background: rgba(0, 20, 65, 0.35);
                    backdrop-filter: blur(1rem);
                }
            }


    .primary-navigation[data-visible="true"] {
        transform: translateX(0%) ;
    }
    .lg {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        width: 2rem;
        height: 2rem;
        right: 2rem;
        top: .8rem;
        background: url(../resources/assets/icons/icon-hamburger.svg) no-repeat;
        z-index: 7777;
        border: none;
    }
    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url(../resources/assets/icons/icon-close.svg);
    }
    .mobile-nav-toggle:hover {
        cursor: pointer;
    }
    .dropdown-content {
        position: absolute; /* relative */
    }
    .dropdown-content a {
        font-size: 1rem;
        width: auto;
        line-height: 1.2rem;
        padding: .7rem .5rem;
    }   
}

@media (min-width:1070px) {
    .mobile-nav-toggle {
        display: none;
    }
    /*
    .primary-navigation {
        display: none;
    }*/
    .toprow-nav, .primary-navigation {
        display: inline;
    }
    
    .primary-header {
        justify-content: center;
        align-items: center;
    }
    .toprow {
        justify-content: right;
        align-items: center;
    }
    .toprow-nav a{
        padding: 1.5rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .tile {
        background-color: var(--color-primary-bg-dark);
        /*border: 2px solid var(--color-primary-bg);*/
        box-shadow: 7px 7px 10px 5px rgb(65, 65, 65);
    }
}











@media (min-width:1200px) {
   
    

    .primary-header {
        justify-content: center;
        align-items: center;
    }
    .nav-item {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    .primary-navigation {
        flex-wrap: nowrap;
        gap: 6rem;
        align-items: center;
        line-height: 2.5rem;
        width: 100%;
        border-radius: 20px;
    }
    
    .dropdown-content {
        
        margin-top: 0rem;
        width: max-content;
    }
    .dropdown-content a {
        font-size: 1rem;
        width: auto;
        line-height: 1.2rem;
        padding: .75rem .5rem;
        border-bottom: 0px !important;
        z-index: 1001;
    }
    .dropdown:hover .dropdown-content {
        display: block;
      }
      .dropdown-content a:hover {
        text-decoration: underline;
      }
    }