* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    color: white;
    font-family: bebas-neue-pro, sans-serif;
    font-size: 0.9em;
}

H1,
H2,
H3,
H4 {
    font-family: bebas-neue-pro, sans-serif;
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: #f59220;
}
.content {
    display: grid;
    grid-template-rows: 106px 6.8ch 1fr 4ch;
    grid-template-columns: 1fr 80% 1fr;
    height: 100%;
}
/* vvvvvvvv PLACEMENTS ON GRID & COLORS vvvvvvvv */

header {
    background-color: white;
    grid-area: 1/ 1 / 2 /4;
    display: grid;
    grid-template-columns: subgrid;
}

.header-content {
    grid-area: 1 / 2 / 2 / 3;
    height: 85%;
}

.header-content a {
    display: block;
    background: url("img/photoderm-logo.svg") no-repeat;
    height: 100%;
    background-size: contain;
    position: relative;
    top: -2px;
}

nav {
    background-color: #e4e4e4;
    grid-area: 2/ 1 / 3 / 4;
    display: grid;
    grid-template-columns: subgrid;
    z-index: 3;
    font-family: bebas-neue-pro, sans-serif;
    font-size: 1.25em;
    letter-spacing: 0.005em;
}

.nav-content {
    grid-area: 1 / 2 / 2 / 3;
}

.main {
    background-color: #002c70;
    grid-area: 3/ 1 / 4 / 4;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
}

.main-content {
    grid-area: 3/ 1 / 4 / 4;
    display: grid;
}

.slide-1 {
    background: url("img/photoderm-splash-bg.jpg") no-repeat;
}

.slide-2,
.slide-current {
    background: url("img/image3_bg-redux.jpg") no-repeat;
}

.slide-contact {
    background: url("img/contact_bg_optimize.jpg") no-repeat;
}

.slide-3,
.slide-abstracts {
    background: url("img/image4_bg_optimize.jpg") no-repeat;
}

.slide-4 {
    background: url("img/image5_bg.jpg") no-repeat;
}

.slide-1,
.slide-2,
.slide-3,
.slide-4,
.slide-contact,
.slide-current,
.slide-abstracts {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-rows: 1fr;
}

.slide-board,
.slide-archive,
.slide-members {
    background: url("img/board_bg_optimize.jpg") no-repeat;
    width: 100%;
    background-size: contain;
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-rows: 1fr;
}
.slide-archive {
    background: url("img/archive_bg_optimize.jpg") no-repeat;
    background-size: 100%;
    background-color: #014dca;
}

.slide-members {
    background: url("img/members_bg_optimize.jpg") no-repeat;
    background-size: 100%;
    background-color: #000c31;
}

.slide-2 {
    background-position: bottom;
}

.slide-1-content,
.slide-2-content,
.slide-3-content,
.slide-4-content,
.slide-contact-content,
.slide-abstracts-content,
.board-content,
.archive-content,
.members-content {
    grid-area: 1 / 2 / 2 / 3;
}
/* SUCCESS_APP */

.success-app form span {
    font-family: bebas-neue-pro;
    text-transform: uppercaSE;
    font-weight: 600;
    font-size: 1.5em;
}
.success-app form,
.success-app section {
    background-color: rgba(255, 255, 255, 0.35);
    outline: 1px solid rgba(0, 42, 94, 0.5);
    padding: 1em 1.5em;
}
.success-app form select {
    margin: 5px 0;
}
.success-app strong {
    font-family: bebas-neue-pro, sans-serif;
    text-transform: none;
    font-size: 1.35em;
    display: inline-block;
    padding: 0 0 10px 0;
    margin: 0;
}
.success-app section {
    padding: 2em 2em;
}

/* MEMBERS */
.member-statis {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.35);
    outline: 1px solid rgba(0, 42, 94, 0.5);
    width: fit-content;
    padding: 1em 1.5em;
}

.member-statis label {
    padding: 0.25em;
}

.members-content {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 3em;
    color: rgba(0, 42, 94, 1);
}

.members-content h1 {
    font-family: bebas-neue-pro, sans-serif;
    font-weight: 200;
    font-size: 2.5em;
    margin: 5px 0 25px 0;
}


.levels {
    outline: 1px solid rgba(0, 42, 94, 1);
    padding: 35px;
    margin: 35px 0 25px 0;
}

.levels h3 {
    font-family: bebas-neue-pro, sans-serif;
    font-weight: 200;
    font-size: 2em;
    margin: 0;
    padding-bottom: 15px;
}

.levels p:last-child {
    margin-bottom: 0;
}

.levels strong {
    font-family: bebas-neue-pro, sans-serif;
    font-size: 1.25em;
}

form label {
    font-family: bebas-neue-pro, sans-serif;
    padding: 10px 0 3px 0;
    font-size: 1.15em;
}


form {
    display: flex;
    flex-direction: column;
}

.address {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.address span {
    width: 24%;
    display: flex;
    flex-direction: column;
    -moz-animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

input:not(.paypal) {
    padding: 7px;
    border-radius: 0;
    outline: 0;
    border: 1px solid rgba(0, 42, 94, 1);
    background-color: rgba(255, 255, 255, 0.5);
    transition: 250ms all ease;
}

input:not(.paypal):hover {
    border: 1px solid #e4a600;
}

input:not(.paypal):focus {
    background-color: white;
    border: 1px solid #e4a600;
}

.register-btn {
    background-color: rd;
    position: relative;
    height: 75px;
}

.register-btn > button {
    position: absolute;
    right: 0;
    margin: 35px 0;
}


.members-content p {
    font-family: bebas-neue-pro, sans-serif;font-size:1.2em}

.opt {font-family: bebas-neue-pro, sans-serif;font-size:0.95em}

/*ARCHIVE*/
/* MOVED TO OWN FILE */
/*
.archive-content {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2em;
    color: rgba(0, 42, 94, 1);
}
.archive-content h1 {
    font-weight: 200;
    font-size: 3em;
    margin:0;
}

.archive-content em 
{color: #e4a600;
    font-style:normal;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 1.75rem;
    margin-top:3em;
    user-select:none;
    flex-direction:row;
  }
  .controls strong {
    color: rgba(0, 42, 94, 1);
    font-family:bebas-neue-pro,sans-serif;
    font-weight:300;
    font-size:1.25em;
    text-transform: uppercase;
  }
  button.sort-btn {
    cursor:pointer;
    background-color:transparent;
      outline: 1px solid rgba(0, 42, 94, 1);
      border:0;
      font-family: bebas-neue-pro, sans-serif;
      font-size:1.25em;
      text-transform:uppercase;
      padding:7px;
      width:122px;
      border-radius:20px;
  }
  button.sort-btn.selected,
  button.sort-btn:hover,
  button.sort-btn:focus-visible {
    background-color: rgba(0, 42, 94, 1);
    border-color: rgba(0, 42, 94, 1);
    color: white;
  }
  #searchBar {
      flex-grow:1;
    margin-left: auto;
    padding: 11px 18px 9px 18px;
    font-size: 15px;
    border-radius: 25px;
    border: 1px solid #ccc;
    min-width: 220px;
    max-width: 100%;
    box-sizing: border-box;
    user-select: text;
    font-family:bebas-neue-pro,sans-serif;
        font-size:1.25em;
  }
  section.group {
    margin-bottom: 2.8rem;
  }
  section.group h2 {
    border-bottom: 2px solid #004080;
    padding-bottom: 7px;
    margin-bottom: 1rem;
    color: #003366;
    font-weight: 700;
    font-size: 1.35rem;
    user-select: text;
  }
  ul.lecture-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  li.lecture-item {
    border: 1px solid #bbb;
    border-radius: 6px;
    background: white;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0, 0.10);
    overflow: hidden;
  }
  button.lecture-header {
    all: unset;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 18px;
    font-size: 18px;
    font-weight: 700;
    color: #004080;
    background: #e8f0ff;
    user-select: none;
    transition: background-color 0.3s ease;
  }
  button.lecture-header:hover,
  button.lecture-header:focus {
    background: #c6ddff;
    outline-offset: 3px;
  }
  div.lecturers {
    font-weight: 500;
    font-size: 14px;
    color: #555;
    margin-top: 2px;
    user-select: text;
  }
  span.expand-icon {
    font-weight: 900;
    font-size: 22px;
    color: #004080;
    user-select: none;
    transition: transform 0.35s ease;
    line-height: 1;
  }
  button[aria-expanded="true"] > span.expand-icon {
    transform: rotate(90deg);
  }
  div.video-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.4s ease;
    background: #f5faff;
  }
  div.video-container.expanded {
    padding: 12px 10px 18px;
    max-height: 560px;
  }
  div.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
  }
  div.video-wrapper iframe {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
  }
  @media only screen and (max-width: 810px) {
      
      
     
      .controls {flex-direction:column}
      
      button.sort-btn, #searchBar{width:100%;font-size:1.5em;}
  }
*/
/*BOARD*/

.board-content {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    color: rgba(0, 42, 94, 1);
    padding:1.5em 2em
}

.board-content *{text-align: center;/*white-space: nowrap;*/}

.presidents, .board-list, .other-list {
    display:flex;
    flex-direction: column; margin:0 -0.1em
}

.presidents .hasNames{
    display:grid; 
    grid-template-columns: 1fr 1fr  1fr 1fr;
    
}

 .board-list .hasNames{
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.board-list .hasNames div {padding: 10px;}

.other-list .hasNames{
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    
}

.last-row{position:relative; right:-50%}

.board-content h1 {margin-bottom:0.1em}

.name {font-family:bebas-neue-pro, sans-serif;text-transform: uppercase;font-size:1.3em}

.board-list {padding: 1.1em 2em}


@media only screen and (max-width: 1080px) {
    
    .board-list .hasNames{
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr;
        
}
    .board-spacer {display:none;}
    
    .board-content {
    padding:1.5em 1em
}
    
    .other-list .hasNames{
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap:10px;
    
}
}

@media only screen and (max-width: 810px) {
    
    
    .board-spacer-2 {display:none}
    

.other-list .hasNames, .board-list .hasNames, .presidents .hasNames{
    grid-template-columns: 1fr;
    
}
    
    
    .last-row {right:0}
}





/*CURRENT MEETING*/

.current {
    background-color: rgba(255, 255, 255, 0.7) !important;
    color: rgba(0, 42, 94, 1);
    padding: 3em 3.2em 2em 3.2em !important;
}

.current h1 {
    font-size: 2.3em;
}

.current h2 {
    font-size: 1.8em;
    font-weight: 303;
    margin: 0;
    text-align: center;
}

.current .date {
    outline: 1px solid rgba(0, 42, 94, 1) !important;
}

.buttons {
    display: GRID;
    grid-template-columns: AUTO AUTO;
    justify-items: center;
    margin-bottom: 1em;
}

.buttons a {
    margin: 5px;
}
.buttons a:first-child {
    justify-self: end;
}
.buttons a:last-child {
    justify-self: start;
}

.current p {
    padding: 0;
    margin: 0;
    text-align: center;
    color: #e4a600;
    font-family: bebas-neue-pro;
    font-size: 1.25em;
}

/*CONTACT*/

.hero-contact {
    font-family:bebas-neue-pro, sans-serif;
    background-color: rgba(0, 42, 94, 0.85);
    padding: 3em 3.2em;
    width: 70%;
    min-width: 300px;
    margin: auto;
    backdrop-filter: blur(6px);
}

.hero-contact h1 {
    margin: 0;
    text-align: center;
}

.hero-contact section {
    font-family: bebas-neue-pro, sans-serif;
    outline: 1px solid white;
    width: 70%;
    min-width: 241px;
    margin: 2em auto;
    padding: 25px;
    text-align: center;
}

.hero-contact section span {
    font-family: bebas-neue-pro, sans-serif;
    text-transform: uppercase;
    font-size: 18pt;
}

.hero-contact section span a {
    text-transform: none;
    color: #f9cb28;
    font-size: 16pt;
}

.hero-contact small {
    font-family: bebas-neue-pro, sans-serif;
    display: block;
    margin: auto;
    width: 90%;
    color: #759de5;
    font-size:1.1em;
}

.hero-contact.current {color: rgba(0, 42, 94, 1);}
/*abstracts*/

.hero-abstracts {
    background-color: white;
    padding: 3em 5.5em;
    width: 100%;
    height: 100%;
    min-width: 300px;
    margin: auto;
    backdrop-filter: blur(6px);
    color: rgba(0, 42, 94, 1);
    display: flex;
    flex-direction: column;
}

.hero-abstracts h1 {
    font-weight: 300;
    font-size: 2.2em;
    padding: 0;
    margin: 0;
}

.hero-abstracts h2 {
    margin: 0 0 0.3em 0;
}
.hero-abstracts h2 em {
    font-style: normal;
    color: #e4a600;
}
.hero-abstracts p,
.hero-abstracts ul,
.hero-abstracts h1 {
    color: #2d5c97;
}

.hero-abstracts strong {
    color: rgba(0, 42, 94, 1);
}
.hero-abstracts strong em {
    color: #809dcc;
    font-style: normal;
}

.hero-abstracts .button-CTA {
    align-self: center;
    margin-top: 1em;
}

.hero-abstracts a:not(.button-CTA) {
    color: #809dcc;
}
.hero-abstracts a:not(.button-CTA)::hover {
    color: #e4a600;
}
.hero-abstracts p {
    margin: 0.3em 0;font-family:bebas-neue-pro, sans-serif;
}
em.deadline {
    color: #e4a600 !important;
}
p.list {
    position: relative;
    top: 8px;
}
.hero-abstracts ul {
    padding-bottom: 8px;font-family:bebas-neue-pro, sans-serif;
}
.hero-abstracts ul, .hero-abstracts p {font-size:1.1em; letter-spacing:.01em}
/*HERO-1*/
.hero-1 {
    background-color: rgba(0, 42, 94, 0.7);
    padding: 3em 3.2em;
    width: 6%;
    min-width: 427px;
    margin: 0 11% 2% 0;
    backdrop-filter: blur(5px);
    transition: backdrop-filter 500ms ease;
}

.hero-1:hover {
    backdrop-filter: blur(2px);
}

.hero-1 h1,
.hero-1 p,
.hero-1 button {
    margin: 0;
    padding: 0;
}

.hero-1 h1 {
    font-size: 1.6em;
}

.hero-1 p {
    padding: 1em 0 1.3em 0;
}

.slide-1,
.slide-1-content {
    display: grid;/*
    justify-items: end;
    align-content: center;*/
}

.slide-contact-content {
    display: grid;
    justify-items: end;
    align-content: center;
}

.slide-abstracts-content {
    display: grid;
    justify-items: end;
    align-content: top;
}

.hero-1 {
    background-color: rgba(0, 42, 94, 0.7);
    padding: 3em 3.2em;
    width: 6%;
    min-width: 427px;
    margin: 0 11% 2% 0;
    backdrop-filter: blur(2px);
    transition: backdrop-filter 500ms ease;
}

.hero-1:hover {
    backdrop-filter: blur(8px);
}

.hero-1 h1,
.hero-1 p,
.hero-1 button {
    margin: 0;
    padding: 0;
}

.hero-1 h1 {
    font-size: 1.6em;
}

.hero-1 p {
    padding: 1em 0 1.3em 0;
}

.slide-1,
.slide-1-content {
    display: grid;/*
    justify-items: end;
    align-content: center;*/
}

/*HERO-2*/ /*HERO-2*/ /*HERO-2*/ /*HERO-2*/ /*HERO-2*/ /*HERO-2*/ /*HERO-2*/
.hero-2 span:not(.date) {
    font-style: italic;
    font-size: 1.25rem;
    margin: 0.25rem;
}
.hero-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-2 span.date {
    font-size: 1.25rem;
    outline: 1px solid;
    padding: 1.5rem 2rem;
    margin: 1.4em;
}

.hero-2 * {
    text-align: CENTER;
}

.hero-2:hover {
    backdrop-filter: blur(2px);
}

.hero-2 h1,
.hero-2 p,
.hero-2 button {
    margin: 0;
    padding: 0;
}

.hero-2 p,
.hero-2 span {
    color: #2d5c97;
}

.hero-2 p {
    padding: 0 0 1.3em 0;
    font-family: bebas-neue-pro, sans-serif;
    font-size: 1.3em;
}

.slide-2,
.slide-2-content {
    display: grid;
    justify-items: center;
    align-content: center;
}

.hero-2 {
    background-color: rgba(255, 255, 255, 0.6);
    color: #002a5e;
    padding: 2.5em 3em;
    width: 8%;
    min-width: 416px;
    margin: 0 5% 2% 0;
    backdrop-filter: blur(2px);
    transition: backdrop-filter 500ms ease;
    transform: scale(0.85);
}

.hero-2:hover {
    backdrop-filter: blur(8px);
}

.hero-2 h1 {
    margin: 0;
    padding: 0;
}

.hero-2 .button-CTA {
    transform: scale(1.176);
}

.hero-2 .button-CTA.solid {
    margin-top: 1.3rem;
}
.hero-2 h1 {
    font-size: 2.7em;
}

.slide-2,
.slide-2-content {
    display: grid;
    justify-items: end;
    align-content: center;
}

.hero-2 h2 {
    font-size: 1.8em;
    font-weight: 300;
    margin: 0.5rem 0 0 0;
}



/*HERO-3*/

.slide-3,
.slide-3-content {
    display: grid;
    justify-items: end;
    align-content: center;
}

.hero-3 {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2em;
    color: rgba(0, 42, 94, 1);
    width: 350px;
    margin: 0 11% 2% 0;
    backdrop-filter: blur(2px);
    transition: backdrop-filter 500ms ease;
    transform: scale(1.1);
    line-height: 1.2;
}

.hero-3 h1,
.hero-3 h2 {
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 3px;
}

.hero-3 h1 {
    font-weight: 300;
    color: #2d5c97;
    line-height: 0.75;
}

.hero-3 h2 {
    line-height: 0.95;
}

.hero-3 p {
    font-family: bebas-neue-pro, sans-serif;
    text-transform: uppercase;
    color: #2d5c97;
    margin-top: 0;
}

.hero-3 p em {
    font-weight: 600;
    color: #f59220;
    font-style: normal;
}

.hero-3 a {
    margin-left: 36px !important;
}

.placed-winners {
    outline: 1px solid #f59220;
    width: 100%;
    margin: 10px 0;
    text-align: center;
    height: 57px;
}

.placed-winners div:first-child {
    height: 57px;
    padding: 10px;
    width: 50px;
    float: left;
    background-color: #f59220;
    color: white;
    font-family: bebas-neue-pro, sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2.4em;
}

.placed-winners div:first-child sup {
    font-size: 0.55em !important;
}

.placed-winners div:last-child {
    padding: 10px;
    width: calc(100% - 50px);
    float: right;
}

.placed-winners > div > p {
    color: rgba(0, 42, 94, 1);
    margin: 0;
}
.placed-winners > div > .talk {
    font-family: alegreya, serif;
    text-transform: none;
    color: #2d5c97;
    font-size: 0.8em;
    line-height: 0.95;
}
.winners {
    margin: 1em 0;
}

/*HERO-4*/

.slide-4,
.slide-4-content {
    display: grid;
    justify-items: end;
    align-content: center;
}

.hero-4 {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3.3em 3em;
    color: rgba(0, 42, 94, 1);
    width: 350px;
    margin: 0 27% 7% 0;
    backdrop-filter: blur(2px);
    transition: backdrop-filter 500ms ease;
}

.hero-4 h1,
.hero-4 h2 {
    margin: 0;
    padding: 0;
    text-align: center;
}

.hero-4 h1 {
    font-weight: 300;
    color: #2d5c97;
    line-height: 0.75;
    font-size: 3em;
}

.hero-4 h2 {
    line-height: 0.9;
    padding: 0.9em 0;
    font-size: 1.75em;
}

.socials {
    outline: 1px solid #f59220;
    padding: 1.9em 1.81em;
    transition: outline 500ms ease;
}

.socials:hover {
    outline: 1px solid #f5ce20;
}

.hero-4 a {
    color: #f59220;
    display: block;
    padding: 4px 6px;
    font-style: italic;
    font-size: 1.08em;
    position: relative;
    top: -15px;
    transition: color 250ms ease;
}

.hero-4 a:hover {
    color: #f5ce20;
}

a.instagram::before,
a.facebook::before {
    content: "";
    margin-right: 0.6em;
    display: inline-block;
    height: 40px;
    width: 40px;
    background-size: 40px 40px;
    position: relative;
    top: 15px;
}

a.instagram::before {
    background-image: url("img/instagram.svg");
}

a.facebook::before {
    background-image: url("img/facebook.svg");
}

/* BUTTONS */

.button-CTA {
    display: flex;
    position: relative;
    font-family: bebas-neue-pro, sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    color: white;
    border: 1px solid white;
    padding: 0.35em;
    width: 219px;
    justify-content: center;
    border-radius: 30px;
    transition: background-color 500ms ease;
    background-color: rgba(255, 255, 255, 0);
}

.button-CTA.blue {
    border: 1px solid rgba(0, 42, 94, 1);
    color: rgba(0, 42, 94, 1);
}
.button-CTA.solid {
    background-color: rgba(0, 42, 94, 0);
    border: 0;
}
.button-CTA.solid::before {
    z-index: -1;
    position: absolute;
    top: -2px;
    left: 0;
    border-radius: 30px;
    content: "";
    height: 42px;
    width: 219px;
    background-color: rgba(0, 42, 94, 1);
    opacity: 1;
}

.button-CTA:hover {
    color: rgba(0, 42, 94, 1);
}

.button-CTA.blue:hover {
    color: rgba(255, 255, 255, 1);
}

.button-CTA::after {
    z-index: -1;
    position: absolute;
    top: -1px;
    left: 0;
    border-radius: 30px;
    content: "";
    height: 42px;
    width: 37px;
    background-color: white;
    opacity: 0;
    transition: all 600ms ease;
}
.button-CTA.solid::after {
    opacity: 0;
    height: 42px;
    top: -2px;
}

.button-CTA.blue::after {
    background-color: rgba(0, 42, 94, 1);
}

.button-CTA:hover::after {
    opacity: 1;
    width: 219px;
    left: -1px;
}

.button-CTA.solid:hover::after {
    opacity: 1;
    width: 220px;
}

.hamburger {
    /*background-color: rgba(99, 247, 255, 0.5);*/
    grid-area: 1 / 1 / 2 / 2;
}

footer {
    font-size: 0.8em;
    background-color: #9d9d9d;
    grid-area: 4/ 1 / 5 / 4;
    display: grid;
    grid-template-columns: subgrid;
    justify-content: flex-end;
}

.footer-content {
    grid-area: 1 / 2 / 2 / 3;
    display: grid;
    align-items: center;
    justify-items: right;
}

/* ^^^^^^^ PLACEMENTS ON GRID ^^^^^^^ */

/* vvvvvvv NAV vvvvvvv */

nav {
}

.mobile-slider,
.nav-links,
.has-subs,
.nav-links a {
    display: flex;

    height: 100%;
    align-items: center;
    box-sizing: content-box;
    color: #531e1e;
}

.nav-links a {
    padding: 0 3ch;
    transition: background-color 300ms ease;
    position: relative;
}

.nav-links a:hover {
    background-color: #9b9a9a;
    color: white;
}

.has-subs {
    position: relative;
}

.has-subs:hover > a {
    background-color: #878787;
    color: white;
}

.sublinks {
    position: absolute;
    top: 5.3ch;
    width: 100%;
    background-color: white;
    box-sizing: content-box;
}

.sublinks a {
    padding: 0 20px;
    height: 6ch;
}

.sublinks a:hover {
    background-color: #f0f0f0;
    color: #e9ad00;
}

.header-content {
    align-self: center;
}

/* prevent vertical scroll bar glitch */
html {
    overflow-y: scroll;
}

.carousel {
    height: 100%;
}

.carousel-cell {
    width: 100%;
    height: 100%;
    margin-right: 10px;
    counter-increment: gallery-cell;
}

/*burger*/

.hamburger {
    display: none;
}

.container {
    display: block;
    cursor: pointer;
    float: right;
    padding: 6px;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #454545;
    margin: 6px 0;
    transition: 0.4s;
}

.open-menu .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.open-menu .bar2 {
    opacity: 0;
}

.open-menu .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}
/*
.has-subs .sublinks {display:none;max-height:0; transition: max-height 1s ease-in}
*/
.has-subs .sublinks {
    overflow: hidden;
    opacity: 0;
    max-height: 0px;
    transition:
        max-height cubic-bezier(1, 0.5, 0.1, 0) 500ms,
        opacity 750ms ease-in-out;
}

.has-subs:hover .sublinks {
    display: block;
    opacity: 1;
    max-height: 300px;
}

/* ^^^^^^^ CAROUSEL ^^^^^^^ */

@media only screen and (max-width: 810px) {
    /*.board-list.second section div div h1 {
        margin: 0 0 0.25em 0;
    }

    .presidents div {
        margin: 1.5em 0;
    }

    .presidents {
        width: 100%;
        margin: 1.5em auto;
        clear: both;
    }
    /*
    .board-list > section {
        width: 100%;
    }

    .presidents div {
        width: 100%;
        float: none;
        text-align: center;
    }

    .president {
        border-right: 0;
    }

    span.float {
        display: none;
    }

    .board-list > section {
        padding: 0;
    }

    .board-list > section > div {
        grid-template-columns: auto;
    }*/

    .hero-contact section {
        width: 100%;
    }

    .hero-contact h1 {
        font-size: 1.8em;
    }

    .hero-contact {
        background-color: rgba(0, 42, 94, 0.85);
        padding: 2em;
        width: 90%;
        min-width: 300px;
        margin: auto;
        position: relative;
        top: -20px;
    }

    .hero-abstracts h1 {
        font-size: 2em;
    }

    .hero-abstracts {
        width: 90%;
        min-width: 300px;
        padding: 2em;
    }

    .hero-abstracts h2 {
        font-size: 1.2em;
        padding: 1em 0 calc(1em - 8px) 0;
    }
    .hero-abstracts ul {
        padding: 0em 2em;
    }
    .hero-abstracts .button-CTA {
        align-self: center;
        margin-top: 1em;
    }
    .hero-1 {
        min-width: 314px;
        width: 90%;
        height: 100%;
        margin: 0;
        padding: 2.5em;
    }
    
    .board-content, .members-content {grid-area: 1 / 1 / 2 / 3; width:90%;margin:auto; padding:2em}
    
    .levels {padding:2em}
    
    .slide-1,
    .slide-2, 
    .slide-abstracts, .slide-board, .slide-members {
        grid-template-columns: 1fr;
    }

    .slide-1-content,
    .slide-2-content,
    .slide-3-content,
    .slide-4-content {
        justify-items: center;
    }

    .hero-2 {
        min-width: 314px;
        width: 90%;
        height: 100%;
        margin: 0;
        padding: 2.5em;
    }

    nav {
        background-color: initial;
    }

    .nav-links {
        align-items: normal;
    }

    .mobile-slider {
        display: none;
    }

    .content {
        display: grid;
        grid-template-rows: 125px 8.75ch 1fr 4ch;
        grid-template-columns: 1fr;
        height: 100%;
    }

    .header-content {
        grid-area: 1 / 1 / 2 / 2;
    }

    .footer-content {
        grid-area: 1 / 1 / 2 / 2;
        margin-right: 3ch;
    }

    .hamburger {
        background-color: #c7c7c7;
        display: flex;
        justify-content: flex-end;
        padding-right: 2ch;
    }

    nav {
        background-color: lue;
        grid-area: 2/ 1 / 4 / 4;
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        z-index: 3;
    }

    .nav-content {
        background-color: prple;
        grid-area: 1/ 1 / 3 / 4;
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
    }

    .mobile-slider {
        grid-area: 2 / 1 / 3 / 2;
        display: none;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        height: 100%;
        background-color: #e4e4e4;
        align-items: normal;
    }

    .nav-links {
        grid-area: 2 / 1 / 3 / 2;
        flex-direction: column;
        height: fit-content;
    }

    .nav-links a,
    .sublinks a {
        height: 8ch;
        width: 100%;
    }

    .header-content a {
        background-position: center;
    }

    .has-subs {
        flex-direction: column;
        align-items: flex-start;
    }

    .sublinks {
        position: relative;
        top: 0;
    }

    .current h1 {
        font-size: 2.3em;
    }

    .current h2 {
        font-size: 1.5em;
    }

    .current {
        padding: 2em !important;
    }

    .buttons {
        display: GRID;
        grid-template-columns: AUTO;
        justify-items: center;
        margin-bottom: 2em;
    }

    .buttons a:first-child,
    .buttons a:last-child {
        justify-self: center;
    }

    .hero-3,
    .hero-4 {
        width: 275px;
        margin: auto auto 10% auto;
    }

    .slide-3,
    .slide-4 {
        justify-items: center;
    }

    .placed-winners,
    .placed-winners div:first-child {
        height: 69px;
    }

    .hero-3 a {
        margin-left: 0 !important;
    }

    .socials {
        padding: 1.7em 1.11em;
    }

    .hero-4 {
        padding: 3.7em 2.1em;
    }

    .hero-4 a {
        padding: 5px 0;
        font-size: 1em;
        top: -16px;
    }

    a.instagram::before,
    a.facebook::before {
        height: 32px;
        width: 32px;
        background-size: 32px 32px;
        top: 13px;
    }
    
    .address {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.address span {
    width: 100%;}
    
}

/* HERO-1 HERO-1 HERO-1*/

