@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

*{
    box-sizing: border-.;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
body{
    width: 100%;
    margin: 0;
    font-family: "Lato", sans-serif !important;
    background: #070f44 !important;
}
header{
    width: 100%;
    display: grid;
    grid-template-columns: 200px auto 200px;
    height: 100px;
    position: absolute;
    z-index: 2;
}
header nav{
    justify-self: center;
    align-self: center;
    position: relative;
}
#next{
  z-index: 100000000;
  position: absolute;
  left: auto;
  right: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  top: 50%;
  right: 30px;
  font-size: 2em;
  background: #fff;
  cursor: pointer;
  border-radius: 100px;
}
#previous{
  z-index: 100000000;
  position: absolute;
  right: auto;
  left: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  top: 50%;
  left: 30px;
  font-size: 2em;
  background: #fff;
  cursor: pointer;
  border-radius: 100px;
}
header nav .link, header nav .menu{
    color: white;
    display: inline-block;
    width: 150px;
    height: 100px;
    line-height: 100px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    background: transparent;
    text-decoration: none;
    z-index: 10;
    position: relative;
    transition: .2s ease-in-out;
    text-align: center;
    margin-left: -2px;
    margin-bottom: -2px;
}
header nav .menu:before, header nav .link:before{
  position: absolute;
  left: auto;
  right: 0;
  height: 14px;
  top: calc(50% - 8px);
  content: "";
  background: #eba63f;
  width: 2px;
}
header nav .link:nth-child(1){
  margin-left: 0 !important;
}
header nav .link:nth-child(6):before{
  display: none;
}
header nav .link::after, header nav .menu::after{
    background: transparent;
    content: attr(data-link);
    position: absolute;
    height: 100px;
    width: 150px;
    top: 0;
    transition: .3s ease-in-out;
    left: 0;
}
header nav a:hover, header nav .menu:hover{
    background: rgba(255,255,255,0.2);
}
.submenu{
    height: auto;
    display: none;
    position: absolute;
    max-width: 300px;
    top: 100%;
    background: #070f44 !important;
    z-index: 20;
    border: 1px solid #eba63f;
}
.submenu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.submenu ul li a{
    width: 100%;
    line-height: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    position: relative;
    color: #eba63f !important;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    padding: 0 8px;
    transition: all .2s ease-in-out;
    z-index: 3;
}
.submenu ul li a::before{
    content: "";
    background: #212121 !important;
    display: inline-block;
    left: 0px;
    position: absolute;
    height: 50px;
    width: 0;
    transition: all .2s ease-in-out;
    z-index: -1;
}
.submenu ul li a:hover{
    padding: 0 16px;
}
.submenu ul li a:hover::before{
    width: 10px;
}
.submenu ul li a:focus::before{
    width: 100%;
}
.submenu ul li a:focus::before{
    width: 100%;
}
.icon{
    font-size: 100px;
    align-self: center;
    justify-self: center;
}
.logo{
    width: 80px;
    height: 80px;
    filter: drop-shadow(0.5px 3px 0px #212121);
}
.logo-link{
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 80px;
    border: 2px solid #eba63f;
    background: #070f44;
    align-self: center;
    justify-self: center;
    transition: .5s ease all;
		font-size: 0.9em !important;
}
.logo-link img{
	width: 50px;
	height: 50px;
}
.logo-link:hover{
  background: #eba63f;
}
.main{
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-rows: 80vh 20vh;
    grid-template-columns: 200px auto;
}
.gradient{
    width: 50%;
    height: 100vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, rgba(17,30,108, 0.2), rgba(17,30,108, 0.5));
    z-index: 1;
}
.gradient.right{
  right: 0 !important;
  left: auto !important;
  background: linear-gradient(to right, rgba(17,30,108, 0.2), rgba(17,30,108, 0.5)) !important;
}
.slider{
    width: 100%;
    grid-row: 1/3;
    grid-column: 1/3;
    height: 100vh;
    position: relative;
}
.slide{
    width: 100%;
    height: 100vh !important;
    background-size: cover;
    background-position: 0 100%;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide img{
  max-width: 100%;
  max-height: 100%;
}
.forward{
    writing-mode: vertical-rl;
    transform: rotateX(180deg) rotateY(180deg);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    padding: 8px;
    align-self: end;
    justify-self: center;
    grid-column: 1/3;
    grid-row: 1/3;
    text-decoration:none;
    text-transform: uppercase;
    position: relative;
    bottom: 50px;
    transition: all .2s ease-in-out;
    z-index: 2;
}
.forward:hover{
    color: white;
    bottom: 40px;
}
.forward::before{
    content: "";
    position: absolute;
    left: 50%;
    top: -10%;
    width: 1px;
    height: 15px;
    background: white;
}
.post-section{
    width: 100%;
    margin: 10px auto;
    display: block;
    background: #070f44;
}
@media (min-width: 1280px){
    .post-section{
        max-width: calc(100% - 200px);
    }
}
.post-section h1{
    width: 100%;
    font-size: 72px;
    color: #eba63f;
    font-weight: 300;
    text-align: center;
}
.posts{
    width: 100%;
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.4%;
    grid-gap: 10px;
    justify-items: center;
    align-content: center;
}
.post{
    display: grid;
    grid-template-rows: 100px 150px 50px;
    align-self: center;
    justify-self: center;
    width: 100%;
    height: 300px;
    border: 2px solid #eba63f;
    background: transparent;
    color: #f0f0f0;
    transition: all .2s ease-in-out;
    text-decoration: none;
}
.post.loading{
  animation: pulse 1s ease infinite;
}

.post:hover{
    background: #eba63f;
    color: #070f44;
}
.post h2{
    color: inherit;
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    text-align: left;
    padding: 0 16px;
    align-self: center;
}
.container .sider{
  width: 500px;
}
.container .sider .heading{
  color: white;
  font-weight: lighter;
  font-size: 1.2em;
  text-align: justify;
  margin-bottom: 20px;
}
#stateName{
  color: #eba63f;
  font-weight: bold;
  font-size: 3em;
}
#data li{
  color: white;
  font-size: 1.1em;
}
.post p{
    padding: 0 16px;
    text-overflow: ellipsis;
    font-size: 18px;
    width: 100%;
    margin: 0;
    color: inherit;
    height: 150px;
    overflow: hidden;
}
.post .tags{
    align-self: center;
    padding: 0 16px;
}
.post .tags .tag{
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    display: inline-block;
}
.active{
    cursor: pointer;
    fill: rgba(66,165,245 ,1);
}
#displayer{
    margin-top: 10px;
    max-width: 900px;
    width: 100%;
    min-height: 200px;
    grid-column-gap: 10px;
    grid-template-columns: 445px 445px;
}
#displayer h1{
    grid-column: 1/3;
    font-weight: 400;
    margin-bottom: 20px !important;
    text-align: center;
    color: #eba63f;
}
.teacher{
    width: 100%;
    height: 200px;
    border: 2px solid #eba63f;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 200px auto;
}
.teacher .info .name{
    font-size: 24px !important;
    text-align: left;
    color: #eba63f;
    font-weight: 600;
}
.teacher .info p{
    font-size: 18px;
    text-align: left;
    font-weight: 300;
    color: #eba63f;
    margin: 5px 0 0;
}
.teacher .info span{
    font-weight: 400;
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 5px;
    color: #eba63f;
}
.teacher .info{
    grid-column: 2;
    padding: 8px;
}
.teacher .info a{
    margin-top: 15px;
    display: inline-block;
    background: #eba63f;
    padding: 4px;
    color: #070f44;
    text-decoration: none;
    text-transform: uppercase;
}
.teacher img{
    height: 196px;
    width: 100%;
    grid-column: 1;
}
#button{
    display: block;
    border: 2px solid #eba63f;
    color: #eba63f;
    grid-column: 1/4;
    width: 100%;
    height: 50px;
    text-align: center;
    background: transparent;
    font-size: 18px;
    line-height: 48px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 16px;
    transition: all .2s ease-in-out;
}
#button:hover{
    background: #eba63f;
    color: #070f44;
}
.form-section{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 100%;
    margin: 0 auto 15px auto;
}
.form{
    width: 100%;
    align-self: center;
    justify-self: center;
}
.form-section h1{
    width: 100%;
    font-size: 72px;
    color: #eba63f;
    font-weight: 300;
    text-align: center;
}
form{
    width: 100%;
}
.input-model{
    width: 100%;
    height: 60px;
    border: 2px solid #eba63f;
    position: relative;
    overflow: hidden;
    margin: 0 0 10px 0;
}
.input-model input, .input-model textarea{
    height: 60px;
    width: 100%;
    background: none;
    font-size: 16px;
    color: #eba63f;
    padding: 0 16px;
    margin: 0;
    border: none;
    resize: none;
}
input + label, textarea + label{
    top: 18px;
    position: absolute;
    left: 16px;
    font-size: 16px;
    color: rgba(235,166,63, 0.5);
    transition: all .15s ease-in-out;
    opacity: 1;
}
input:focus ~ label, input:valid ~ label, textarea:focus ~ label, textarea:valid ~ label{
    left: -100px;
    opacity: 0;
}
.form form button{
    width: 100%;
    height: 50px;
    line-height: 50px;
    border: 2px solid #eba63f;
    background: none;
    font-size: 16px;
    text-transform: uppercase;
    color: #eba63f;
    cursor: pointer;
    transition: all .2s ease-in-out;
    font-weight: 700;
}
.form form button:hover{
    background: #eba63f;
    color: #070f44;
}
footer{
  display: none;
    width: 100%;
}
.foot-section{
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    height: 60px;
    display: grid;
    grid-template-columns: 50% 50%;
}
.foot-section p{
    color: white;
    text-align: center;
    align-self: center;
    margin: 0;
    font-size: 18px;
    font-weight: 300;
}
.foot-section p a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}
.text-section{
    margin: 0;
    width: 100%;
}
#text{
    width: 100%;
    max-width: 1080px;
    max-height: 50% !important;
    margin: 0px auto;
    padding: 100px 0 0 0;
}
#text h1{
    margin: 0;
    width: 100%;
    font-size: 64px;
    color: #eba63f;
    font-weight: 300;
    text-transform: uppercase;
}
#text p{
    color: white;
    font-size: 18px;
    white-space: pre-line;
    overflow-y: scroll;
    max-height: 720px;
    border: 2px solid #eba63f;
    padding: 30px;
    /* FIREFOX */
    scrollbar-width: thin;
}
#text p::-webkit-scrollbar {
    width: 10px;
}

#text p::-webkit-scrollbar-track {
    background: transparent;
}

#text p::-webkit-scrollbar-thumb {
  background-color: #eba63f;
}

#text p span{
    font-size: 24px;
    color: #eba63f;
    margin: 10px 0 ;
}
#mobile{
    width: 100%;
    text-align: center;
    display: none;
    line-height: 100px;
    font-size: 32px;
    color: white;
}
.mobile-menu{
    width: 100%;
    position: absolute;
    min-height: 100vh;
    height: auto;
    z-index: 200;
    background: #070f44;
    left: -100%;
    top: 0;
    z-index: 100000000000000;
    display: grid;
    grid-template-rows: 50px auto;
    overflow: auto;
}
.mobile-close{
    align-self: center;
    justify-self: end;
    padding: 0 16px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}
.mobile-link{
    color: white;
    padding: 0 16px;
    width: 100%;
    display: block;
    height: 50px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.mobile-trigger{
    color: white;
    padding: 0 16px;
    min-height: 50px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
    width: 100%;
    display: grid;
    grid-template-columns: auto 50px;
    cursor: pointer;
}
.mobile-trigger p{
    margin: 0;
}
.mobile-submenu{
    display: none;
    grid-column: 1/3;
    padding: 8px 0;
    min-height: 50px;
}

@media (max-width: 1280px){
    header{
        grid-template-columns: 50px auto 50px;
    }
    header nav{
      width: 70% !important;
      text-align: center;
    }
    header nav .link, header nav .menu{
        color: white;
        display: inline-block;
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 10px;
        background: transparent;
        text-decoration: none;
        z-index: 10;
        position: relative;
        transition: .2s ease-in-out;
        text-align: center;
        margin-left: -2px;
        margin-bottom: -2px;
    }
    header nav .link::after, header nav .menu::after{
        background: transparent;
        content: attr(data-link);
        position: absolute;
        height: 100px;
        width: 100px;
        top: 0;
        transition: .3s ease-in-out;
        left: 0;
    }
    .logo-link:nth-child(1){
      margin-left: 50px !important;
      margin-right: 0;
    }
    .logo-link{
      margin-right: 50px;
    }
    .submenu ul li a{
      font-size: 10px;
    }
    .forward{
        z-index: 1;
    }
    .slide{
        background-position: 50% 50%;
    }
    .main{
        display: grid;
        grid-template-columns: 100%;
    }
    .post-section h1, .form-section h1, #text h1{
        font-size: 48px;
        text-align: center;
    }
    .teacher{
        max-height: 200px;
        width: 95%;
        margin: 0 auto 10px;
    }
    .teacher .info p{
        font-size: 15px !important;
    }
    .posts{
        display: block;
    }
    .post, .teachers{
        margin: 0 auto 10px;
        max-width: 400px;
    }
    #button, .form{
        max-width: 400px;
        margin: 0 auto;
    }
    .form-section{
        display: block;
    }
    .foot-section{
        display: block;
        max-width: 400px;
    }
    .mobile-menu{
        display: block;
    }
    .mobile-close{
        text-align: right;
        padding: 16px;
    }
}
@media screen and (max-width: 1700px) and (max-height: 900px){
  #text p{
    max-height: 500px;
  }
}

@media (max-width: 800px){
  header{
      grid-template-columns: 100px auto 100px;
  }
  header nav{
      display: none;
  }
  #mobile{
      display: block;
  }
}
@media (max-width: 600px){
  #next, #previous{
    top: 70%;
  }
    .post-section h1, .form-section h1, #text h1{
        font-size: 28px;
        text-align: center;
    }
    .teacher{
        max-width: 300px;
        max-height: 500px;
        grid-template-columns: 100%;
        grid-template-rows: 196px auto;
        height: auto;
    }
    .teacher .info{
        grid-column: 1;
    }
    .post{
        margin: 0 auto 10px;
        max-width: 300px;
    }
    #button, .form{
        max-width: 300px;
        margin: 0 auto;
    }
    .foot-section{
        display: block;
        max-width: 300px;
    }
    #text{
        margin-top: 60px;
        max-width: 100%;
        border: none;
    }
    #text p{
        color: white;
        font-size: 16px;
        white-space: pre-line;
    }
    #text p span{
        font-size: 18px;
        margin: 10px 0 ;
    }
}
