/* Table of Contents

  1. Global Styles
  2. Head Navigation
  3. Home Section
  4. Update Section
  5. Body Navigation

*/


/* ==================================================================================
  1. Global Styles                                                     
=====================================================================================*/
*,*::after,*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;  
      
}
:root {
    /*Fonts*/
    --font-family: Trebuchet MS;
    --font-size-h1: 3rem;
    --font-size-p: 1.1rem;
    --font-size-logo: 3rem;
    /*Colors*/
    --color-logo: #03C3F5;;
    --color-navitems: #DCDCDC;;
    --primary-color: #fff;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    font-family: var(--font-family);
    height: 100vh;
}

.body__container {
  width: 100%;
  height: 100%;
}
/* ==================================================================================
  2. Head Navigation                                                 
=====================================================================================*/
.nav-container-mobile {
  display: none;
}
.nav-container {
  top: 0;
  display: flex;
  justify-content: space-between;
  height: 10%
}
.nav-container ul, li {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.nav-container .logo h1{
  padding-left: 1em;
}
.nav-container h1 {
  color: var(--color-logo);
  padding-top: 0.5em;
  font-size: var(--font-size-logo);
  transition: 120ms;
  font-weight: bold;
}
.nav-container h1:hover {
  color: var(--primary-color);
}
.nav-container a {
  margin: 1em;
  padding-right: 1em;
  text-decoration: none;
  color: var(--primary-color);
  padding-top: 2em;
}
.nav-container a:after {
  content: '';
  display: block;
  background-color: var(--primary-color);
  width: 0;
  height: 2px;
  transition: width .3s;
}
.nav-container a:hover:after,
.nav-container a:hover, 
.nav-container a:focus {
  text-decoration: none;
  width: 100%;
  color: var(--color-navitems);
}
/* ==================================================================================
  3. Home Section                                          
=====================================================================================*/
.home-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5em;
}

.left-container h1 {
  color: var(--primary-color);
  font-size: var(--font-size-h1);
  font-size: max(2.5vw, 50px);
  padding-left: 1.5em;
  font-weight: bold;
}
.left-container p {
  color: var(--primary-color);
  font-size: max(1.5vw, 20px);
  padding-left: 4em;
  max-width: 70%;
}
.right-container img{
  width: 100%;
  height: auto;
  padding-right: 3em;
  padding-top: 1em;
}
/* Button */
.home-buttons {
  padding-top: 2em;
  padding-left: 6em;
}
.GS {
  background-color: #03C3F5;
  width: 180px;
  height: 35px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 30px;
  transition: all 0.5s;
}
.GS span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.GS span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.GS:hover {
  border: 1px var(--primary-color) solid;
}
.GS:hover span {
  padding-right: 25px;
}

.GS:hover span:after {
  opacity: 1;
  right: 0;
}
.SI {
  background-color: #fff;
  width: 180px;
  height: 35px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  color: #000;
  font-weight: 30px;
  transition: all 0.5s;
}
.SI span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.SI span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.SI:hover span {
  padding-right: 25px;
}

.SI:hover span:after {
  opacity: 1;
  right: 0;
}
.SI:hover {
  border: 1px #000 solid;
}
section {
    width: 100%;
    height: 100vh;
    /* Scroll Snap */
}
main {
    width: 100%;
    height: 70vh;
    scroll-behavior: smooth;
    /* Scroll Snap */
    scroll-snap-align: start;
}
section#home {
    background: url('../assets/img/bg5.jpg') no-repeat center center/cover;
    width: 100%;
    max-width: 100%;
    height: 100%;
    animation: change 25s infinite ease-in-out;
  }
  @keyframes change{
    0%
    {
        background-image: url(../assets/img/bg5.jpg);
    }
    20%
    {
        background-image: url(../assets/img/bg6.jpg);
    }
    40%
    {
        background-image: url(../assets/img/bg8.jpg);
    }
    60%
    {
        background-image: url(../assets/img/bg5.jpg);
    }
    80%
    {
        background-image: url(../assets/img/bg6.jpg);
    }
    100%
    {
        background-image: url(../assets/img/bg8.jpg);
    }
  }

/* ==================================================================================
  4. Update Section                                                    
=====================================================================================*/
    section#updates {
      height: auto;
      background: url('../assets/img/update_bg.jpg') no-repeat center center/cover;
    }
    .active, .item{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding-top: 4em;
      padding-bottom: 5em;
    }
    .head-update h1 {
      text-transform: uppercase;
      background: linear-gradient(to right, #30CFD0 0%, #330867 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
      font-weight: 900;
      padding-top: 2em;
      font-size: min(2.5vw, 50px);
    }
    .update_page_card {
      background-color: #ffff;
      border-radius: 20px;
      margin: 1em;
      max-width: 500px;
      min-height: 100px;
      transition: 0.35s;
      box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    }
    .card__header {
      display: flex;
    }
    .card__header img {
      align-self: center;
      width: 1000px;
      height: 1000px;
      max-width: 350px;
      max-height: 200px;
      border-radius: 10px 10px 0px 0px;
    }
    .card__header h5 {
      padding-left: 0.2em;
      width: 100%;
      font-size: max(1vw, 10px);
    }
    .card__quote h3 {
      font-weight: 600;
      width: 100%;
      font-size: max(1vw, 12px);
      text-align: center;
    }
    .card__foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1em;
    }
    .card__foot a{
    }
    .update_page_card:hover,
    .update_page_card:focus {
      box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
      transform: translateY(-1.55em);
      box-shadow: 0 10px 20px -5px rgba(0, 0, 0,4);
    }

/* ==================================================================================
  5. Body Navigation   
=====================================================================================*/
    #body-navigation {
      display: flex;
      background-color: var(--primary-color);
      overflow: hidden;
      justify-content: center;
      align-items: center;
      box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
      z-index: 1;
      height: 50px;
      
    }
    #body-navigation ul, li {
      display: flex;
    }
    #body-navigation a {
      font-family: var(--font-family);
      font-size: var(--color-navitems);
      color: #000;
      margin: 1em 3em;
      letter-spacing: 0.3em;
      text-decoration: none;
    }
    #body-navigation a:hover,
    #body-navigation a:focus{
      font-weight: bold;
      transition: 200ms;
      transform: translateY(-0.1em);
      text-shadow:1px 2px 5px #000;
    }
    
    #body-navigation ul.active {
      background-color: #4CAF50;
      color: white;
    }
    
    .sticky {
      position: fixed;
      top: 0;
      width: 100%;
    }
    
    .ON {
      font-weight: bold;
      transition: 200ms;
      transform: translateY(-0.1em);
      text-shadow:1px 2px 5px #000;
    }


    section#about {
        background-color: #000;
    }

/* Mobile Screen Size */

/* Very Small */
@media screen and (max-width: 300px) {
  section#home {
    height: auto;
  }
  .right-container img {
    display: none;
  }
  .GS {
    display: none;
  }
  .SI {
    display: none;
  }
}

/* Medium Mobile Screen */
@media screen and (max-width: 810px), screen and (max-height: 500px) {
  .home-container {
    height: 90vh;
  }
  .home-container {
    flex-direction: column;
  }
  .nav-container a {
    display: none;
  }
  .left-container h1{
    font-size: max(2.5vw, 40px);
    padding-bottom: 0.5em;
  }
  .left-container p{
    max-width: 90%;
    font-size: max(2.5vw, 15px);
  }
  .right-container img{
    width: 200px;
    max-width: 100%;
    height: auto;
    padding-left: 4em;
  }
  .home-buttons {
    padding-left: 1em;
    text-align: center;
    
  }
  /* Updates */
  section#updates {
    width: 100%;
    height: auto;
    background: url('../assets/img/update_bg_mobile.jpg') no-repeat center center/cover;
  }
  .item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .head-update h1 {
    font-size: min(5vw, 25px);
  }
  .card__header {
    flex-wrap: wrap;
  }
  .card__header img {
    min-width: 30px;
    min-height: 10px;
  }
  .card__header h3 {
    padding-left: 0.2em;
    width: auto;
    font-size: min(5vw, 15px);
  }
  .card__quote p {
    width: auto;
    font-size: min(3vw, 10px);
  }
  
}
/* Ipad Screen Size */
@media screen and (min-height: 1000px) {
  section#home {
    height: auto;
  }
  .home-container {
    flex-direction: column;
  }
  .nav-container a {
    display: none;
  }
  .right-container img{
    width: 150px;
    max-width: 100%;
    height: auto;
    text-align: center;
  }
  .left-container p {
    max-width: 90%;
  }
  .home-buttons {
    padding-top: 2em;
    text-align: center;
  }
}

/* Scroll to Top */
#scrolltop {
  width: 40px;
  line-height: 40px;
  overflow: hidden;
  z-index: 999;
  display: none;
  padding-right: 2em;
  -moz-transform: rotate(270deg);
  -webkit-transform: rotate(270deg);
 
  position: fixed;
  bottom: 50px;
  right: 0;
  color: #03C3F5;
  text-align: center;
  font-size: 40px;
  text-decoration: none;
  transition: 220ms;
}
#scrolltop:hover{
  color: #5494DA;
}
