@font-face{
  font-family: Shrikhand-Regular;
  src: url('Shrikhand-Regular.ttf') format('truetype');
}
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: arial, helevtica, sans-serif;
}
body{
  background-color: var(--primary-color);
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header{
  top: 0;
  position: sticky;
  z-index: 999;
}
.navbar{
  background: var(--primary-color);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 140%;
}

.navbarContainer{
  display: flex;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

#logo{
  color: #E64833;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 160%;
  font-family: 'Shrikhand-Regular', Arial, sans-serif;
  
}

.navbarMenu{
  display: flex;
  align-items: center;
  list-style-type: none;
  text-align: center;
}

.navbarItem{
  height: 80px; 
}
.navbarLink{
  color: var(--secondary-color);
  display: flex;
  align-items:center;
  justify-content: center;
  text-decoration: none;
  padding: 0 16px;
  height: 100%;
  font-weight: 600;
}
.navbarLink:hover{
  color: #E64833;
  transition: all 0.3s ease;
}

#icon{
  width: 30px;
  cursor: pointer; 
}
:root{
  --primary-color: #fbe9d0;
  --secondary-color: #244855;
}
.darkTheme{
  --primary-color: #244855;
  --secondary-color: #fbe9d0;
}

/*Navbar styling for mobile and tablet*/
@media screen and (max-width: 960px){
  .navbarContainer{
    display: flex;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }
  .navbarMenu{
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 30vh;
    z-index: -1;
    background-color:var(--secondary-color);
  }
  .navbarMenu.active{
    background-color:var(--primary-color);
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 35vh;
  }
  #logo{
    padding-left: 25px;
  }
  .navbarToggle .bar{
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: white;
  }
  .navbarItem{
    width: 100%;
  }
  .navbarLink{
    text-align: center;
    padding: 5%;
    width: 100%;
    display: table;
    margin: 0;
  }
  #mobileMenu{
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }
  .navbarToggle .bar{
    display: block;
    cursor: pointer;
    background-color: var(--secondary-color);
  }

  #mobileMenu.is-active .bar:nth-child(2){
    opacity: 0;
  }
  #mobileMenu.is-active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  #mobileMenu.is-active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}

/*Home page main section*/
main{
  margin: 10% 10% 0% 10%;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
}
.mainContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: 0;
}
.mainText{
  display: block;
  width: 45%;
}
.mainText h1{
  background-color: #E64833;
  background: linear-gradient(to left, #e63333 0%, #e68433 100%);
  background-size: 100%;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  font-size: 300%;
  font-weight: 900;
}
.mainText h2{
  background-color: #E64833;
  background: linear-gradient(to right, #e63333 0%, #e68433 100%);
  background-size: 100%;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  font-size: 300%;
  font-weight: 900;
  
}
.mainText p{
  color: var(--secondary-color);
  font-size: 175%;
  font-weight: 800;
}
.mainText *{
  margin: 2%;
}
.slideshowContainer{
  width: 45%;
}
#mainImg{
  width: 100%;
}
.mySlides{
  display: none;
}
.mySlides #mainImg{
  border-radius: 10px;
  box-shadow: 0px 0px 10px 1px;
}
.dotsContainer{
  text-align: center;
  margin-bottom: 5%;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active{
  background-color: #717171;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.mainText .mainButton{
  padding: 3% 3%;
  background-color:#E64833;
  border: none;
  border-radius: 8px;
  width: 30%;
  min-width: 200px;
  transition: .5s ease-in-out;
}
.mainButton a{
  color: white;
  text-decoration: none;
  font-size: 150%;
}
.mainButton:hover{
  cursor: pointer;
  background-color: #e68433; 
  transform: translateY(-5px);
}

/*Mobile and tablet styles for Home page main section*/
@media screen and (max-width: 960px){

  main{
    margin: 0;
    
  }
  .mainContainer{
    flex-direction: column;
    width: 100%;
    padding-bottom: 50%;
  }
  .mainContainer *{
    margin-top: 5%;
  }
  .mainText{
    width: 90%;
    text-align: center;
  }
  .slideshowContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .mySlides{
    width: 90%;
  }
  .dotsContainer{
    margin: 0;
    margin-bottom:5%;
  }
}

/*Event page styles*/
.mainEventsPage{
  margin: 5% 0%;
}
#coolHeading{
  font-family: 'Shrikhand-Regular', Arial, sans-serif;
  font-size: 500%;
  background: linear-gradient(to bottom, #e63333 0%, #e68433 100%);
  background-size: 100%;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}
.eventPageContainer{
  margin: 0% 10%;
  padding: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.event{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  border-bottom: 2px solid #E64833;
}
.eventThumbnail{
  width: 45%;
  margin-bottom: 5%;
}
.eventThumbnail img{
  margin: 0;
  width: 100%;
  border-radius: 10px;
}
.eventDescription h2{
  width: 70%;
  margin: 5% auto;
  font-size: 180%;
  padding-bottom: 1%;
  transform: scaleY(1.3);
  border-bottom: 2px solid #E64833;
}
.eventDescription p{
  font-size: 130%;
}
.eventDescription{
  color:var(--secondary-color);
  text-align: center;
  width: 45%;
  line-height: 25px;
}
.date{
  width: fit-content;
  background-color: #E64833;
  color:#fbe9d0;
  position: relative;
  top: 39px;
  padding: 8px;
  border-radius: 8px 0px 0px 0px;
  font-weight: 600;
  transform: scaleY(1.3);
}

/*Mobile and tablet styles for events page*/
@media screen and (max-width: 960px){
  #coolHeading{
    font-size: 300%;
    text-align: center;
  }
  .mainEventsPage{
    margin: 0;
    padding: 0;
  }
  .eventPageContainer{
    margin: 0;
  }
  .event{
    flex-direction: column;
    width: 90%;
  }
  .eventThumbnail{
    width: 100%;
  }
  .eventDescription{
    width: 100%;
    padding-bottom: 7%;
  }

}

/*Styles for the summary page*/
.mainSummaryPage{
  margin: 5% 25%;
}
.summaryContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color:var(--secondary-color);
}
.summaryContainer p{
  font-size: 150%;
}
.technique h2{
  font-size: 180%;
}
.technique, .intro{
  padding: 5% 0%;
  border-bottom: 2px solid #E64833;
}

/*Mobile and tablet styles for summary*/
@media screen and (max-width: 960px){
  .mainSummaryPage{
    margin: 0;
  }
  .summaryContainer{
    width: 90%;
    margin: auto;
  }
}
