@font-face {
    font-family: Lato;
    src: url(..//assets/Lato-Regular.ttf);
}

@font-face {
    font-family: Berlin;
    src: url(..//assets/Berlin\ Sans\ FB\ Regular.ttf);
}

*{
    margin:0;
    padding:0;
    font-family: Berlin;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #0057a6;
}

.nav-flex-container{
    display:flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    width: 100%;
    background-color: #d8e9f9;
    position: fixed;
    z-index: +1;
}

.nav-flex-containerlogo{
    display:flex;
    flex-wrap: nowrap;
    width: auto;
    opacity: 100%;
    position: fixed;
    z-index: +1;
}

.navimg{
    float: inherit;
    width: 150px;
    height: auto;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-flex-containerlogo > h1{
    margin-top: 3%;
    width: 100%;
    color: #5894ca;
}

.nav-flex-containerlogo > a{
    background:rgba(0, 0, 0, 0);
    transition: 0.6s;
}

.nav-flex-containerlogo > a:hover{
    background:rgba(0, 0, 0, 0);
    margin-top: -6px;
}

a{
    height: auto;    
    margin: 10px;
    text-align: center;
    line-height: 50px;
    font-size: 150%;
    border-radius: 50px;
    padding: 10px;
}

a, a:active, a:visited{
    text-decoration: none;
    color:black;
    transition: 0.3s;
  }

a:hover{
    background:#c0d3e3;
    color: black;
}

.card > a:hover{
    background:#c0d3e300;
    color: black;
}

header{
    height: 100vh;
    background: url(..//assets/Headerimg.png) no-repeat center center fixed;
    background-size: cover;
    position: relative;
  }
  
header > a{
    position:absolute;
    top:80%;
    left:50%;
    width:350px;
    padding: 20px 40px;
    font-size: 250%;
    background: #ee9b6f;
    border:none;
    border-radius:5px;
    transform: translateX(-50%);
  }

header > a > p{
    font-size: 75%;
}

header > a:hover{
    background: #0057a6;
    color: black;
}

.main-flex-container{
    display:flex;
    flex-direction:column;
    padding-top: 100px;
    margin-left: 150px;
    margin-right: 150px;
}

.index{
    display:flex;
    flex-direction:column;
    padding-top: 100px;
    margin-left: 150px;
    margin-right: 150px;
}

article {
    width: 80%;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 40px;
    background: linear-gradient(90deg, #ee9b6f 0%, #ee9b6f 5%, #d8e9f9  5%, #d8e9f9  100%);
    text-align: left;
    padding-left: 6%;
    scroll-margin-top: 110px;
}

article >p{
    font-family: "Lato", sans-serif;
}

.speakers{
    width: 80%;
}

.textWrapper{
    display:grid;
    grid-template-columns: 1fr 1fr;
    padding:40px;
    grid-column-gap: 10%;
}

.speakImgWrapper{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
}

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

.speakImgWrapper > li > a {
    margin: 0px;
    padding-bottom: 0px ;
}

ul > li > h2{
    width: 100%;
}


article > h1{
    padding-bottom: 20px;
    font-size: 250%;
}

article > h2{
    padding-bottom: 20px;
    font-size: 200%;
}

article > p{
    padding: 10px;
    font-size: 150%;
}

p > a{
    width: auto;
    height: auto;    
    margin: 0px;
    font-size: 100%;
    border-radius: 0px;
}

.cardWrapper{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 40px;
    grid-column-gap: 40px;
    padding:40px;
    height: auto;
}
  
.card{
    list-style:none;
    border-radius: 5px;    
    background-repeat: no-repeat;
    background-size: contain;
}

.img{
    float: inherit;
    width: 400px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.sponsCardWrapper{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 40px;
    grid-column-gap: 40px;
    padding:40px;
    height: auto;
}
  
.sponsCard{
    list-style:none;
    border-radius: 5px;    
    background-repeat: no-repeat;
    background-size: contain;
    padding: 50px;
}

.sponsimg{
    float: inherit;
    scale: 150%;
    width: 200px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.container{
    width: 40%;
    padding:20px;
}

footer{
    font-size: 100%;
    padding-bottom: 5%;
}

@media only screen and (min-width:1281px) and (max-width:1800px) {
    .nav-flex-containerlogo{
        margin-top: 90px;
        padding-right: 10px;
        background-color: #d8e9f9;
        border-bottom-right-radius: 80%;
    }

    .sponsCardWrapper{
        display:grid;
        grid-template-columns: 1fr;
        grid-row-gap: 40px;
        grid-column-gap: 40px;
        padding:40px;
        padding-left: 30%;
    }
}

@media only screen and (min-width:1001px) and (max-width:1280px) {
    .nav-flex-container{
        position: absolute;
    }
    
    .nav-flex-containerlogo{
        margin-top: 140px;
        padding-right: 10px;
        background-color: #d8e9f9;
        border-bottom-right-radius: 80%;
        position: absolute;
    }

    .main-flex-container{
        padding-top: 50vh;
        margin-left: 20px;
        margin-right: 20px;
    }

    .textWrapper{
        grid-template-columns: 1fr;
        grid-row-gap: 0px;
        padding:0px;
    }
    
    .speakImgWrapper{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        align-items: center;
        justify-content: center;
    }
    
    .speakImgWrapper > li > a{
        margin: 0;
        padding: 0;
    }
    
    ul > li > h2{
        width: 100%;
        padding-top: 0px;
        padding-bottom: 20px;
    }
    
    .speakImg{
        width: 100%;
    }
    
    .cardWrapper{
        grid-template-columns: 1fr;
        grid-gap: 20px;
        padding:0px;
        transform: translateX(5.5%);
      }

    .sponsCardWrapper{
        display:grid;
        grid-template-columns: 1fr;
        grid-row-gap: 40px;
        grid-column-gap: 40px;
        padding:40px;
        padding-left: 30%;
    }
}

@media only screen and (min-width:601px) and (max-width:1000px){

.nav-flex-container{
    padding-top: 30%;
    flex-direction: column-reverse;
    align-items:center;
    justify-content:flex-start;
    position: absolute;
}

.nav-flex-containerlogo{
  position: absolute;
}

.nav-flex-containerlogo > h1{
    padding-top: 6%;
    width: 100%;
    color: #5894ca;
}

.navimg{
    width: 150px;
}

header{
    padding-top: 50vh;
}

header > h1{
    top:55%;
    font-size: 230%;
  }
  
header > a{
    width:40%;
    font-size: 170%;
  }

.main-flex-container{
    padding-top: 70vh;
    margin-left: 20px;
    margin-right: 20px;
}

.index{
    padding-top: 0vh;
    margin-left: 20px;
    margin-right: 20px;
}

article {
  scroll-margin-top: 40px;
  width: 80%;
}

.speakers{
    width: auto;
}

.textWrapper{
    grid-template-columns: 1fr;
    grid-row-gap: 0px;
    padding:0px;
}

.speakImgWrapper{
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
}

.speakImgWrapper > li > a{
    margin: 0;
    padding: 0;
}

ul > li > h2{
    width: 100%;
    padding-top: 0px;
    padding-bottom: 20px;
}

.speakImg{
    width: 100%;
}

.cardWrapper{
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding:0px;
    transform: translateX(5.5%);
  }

.sponsCardWrapper{
    grid-template-columns: 1fr;
    grid-row-gap: 0px;
    grid-column-gap: 40px;
    padding:40px;
    height: auto;
    text-align: center;
    padding-left: 0%;
}

.sponsCard{
    list-style:none;
    border-radius: 5px;    
    background-repeat: no-repeat;
    background-size: contain;
    padding: 50px;
}

.sponsimg{
    float: inherit;
    scale: 150%;
    width: 200px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

}

@media only screen and (max-width:600px){

    .nav-flex-container{
        padding-top: 40%;
        flex-direction: column-reverse;
        align-items:center;
        justify-content:flex-start;
        position: absolute;
    }
    
    .nav-flex-containerlogo{
        position: absolute;
        scale:90%;
        padding-top: 0%;
     }
      
    .nav-flex-containerlogo > h1{
        padding-top: 0%;
        width: 100%;
        color: #5894ca;
    }

    .nav-flex-containerlogo > a {
        padding-top: 0%;
    }

    a{
        width: 100%;
        height: auto;    
        margin: 10px;
        text-align: center;
        line-height: 25px;
        font-size: 150%;
        border-radius: 100px;        
    }
    
    header > h1{
        width: 80%;
        font-size: 120%;
      }
      
    header > a{
        width:40%;
        font-size: 150%;
        transform: translateX(-55%);
      }
    
.main-flex-container{
    width: 80vw;
    display:flex;
    flex-direction:column;
    padding-top: 30vh;
    margin-left: 0px;
    margin-right: 0px;
    align-items: center;
    justify-content: center;
}

.main-flex-container > article {
    padding: 20px;
}

.index{
    width: 80vw;
    display:flex;
    flex-direction:column;
    padding: 10px;
    
    margin-left: 0px;
    margin-right: 0px;
}

.index > article{
    padding: 20px;
}

.speakers{
    margin-top: 35vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-left: 5%;
}

.textWrapper{
    display:grid;
    grid-template-columns: 1fr;
    padding:10px;
    grid-column-gap: 10%;
}

ul > li > article{
    width: 60vw;
}

.speakImgWrapper  >li > h2{
    padding-left: 4%;

}

.speakImgWrapper{
    display:grid;
    grid-template-columns: 1fr;
    grid-column-gap: 40px;
    align-items: center;
    justify-content: center;
}

.speakImg{
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
}

ul > li > h2{
    width: 100%;
    padding-bottom: 20px;
}

article {
    width: 80vw;
    margin-left: 5vw;
}

article > h1{
    font-size: 150%;
}

article > h2{
    font-size: 120%;
}

article > p{
    padding: 10px;
    font-size: 120%;
}

p > a{
    width: auto;
    height: auto;    
    margin: 0px;
    font-size: 100%;
    border-radius: 0px;
}

.cardWrapper{
    display:grid;
    grid-template-columns: 1fr;
  }
  
.card{
    list-style:none;
    border-radius: 5px;    
    background-repeat: no-repeat;
    background-size: contain;
  }

  .sponsCardWrapper{
    grid-template-columns: 1fr;
    grid-row-gap: 0px;
    grid-column-gap: 20px;
    padding:20px;
    height: auto;
    text-align: center;
    padding-left: 0%;
}

.sponsCard{
    list-style:none;
    border-radius: 5px;    
    background-repeat: no-repeat;
    background-size: contain;
    padding: 50px;
}

.sponsimg{
    float: inherit;
    scale: 100%;
    width: 200px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.container{
    width: 100%;
    padding:20px;
}

footer{
    font-size: 70%;
}
}