*,
*::before,
*::after{
  content: none;
}

:root{
  --primary-800: hsl(144, 42%, 35%);
  --primary-700: hsl(144, 42%, 45%);
  --primary-600: hsl(144, 42%, 55%);
  --primary-500: hsl(144, 42%, 65%);
  --primary-400: hsl(144, 42%, 75%);
  --primary-300: hsl(144, 42%, 85%);
  --secondary-500: hsl(106, 100%, 87%);
  --neutral-900: hsl(0, 0%, 10%);
  --neutral-800: hsl(0, 0%, 20%);
  --neutral-700: hsl(0, 0%, 30%);
  --neutral-600: hsl(0, 0%, 40%);
  --neutral-500: hsl(0, 0%, 50%);
  --neutral-400: hsl(0, 0%, 60%);
  --neutral-300: hsl(0, 0%, 70%);
  --neutral-200: hsl(0, 0%, 80%);
  --neutral-100: hsl(0, 0%, 90%);
}

html,
body{
  margin: 0; 
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: 300ms;
  scroll-behavior: smooth;
}

figure,
figcaption,
ul,
li{
  padding: 0;
  margin: 0;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6{
  color: var(--neutral-900);
  text-decoration: none;
  margin: 0;
  padding: 0;
}
button{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--neutral-900);
  border-radius: 4px;
  border: none;
}
input{
  border-radius: 4px;
  margin: 0;
  border: none;
  padding: 2px 4px;
}
input:focus{
  outline: none;
}
/* Start */

/* navbar */
.navbar-container{
  position: relative;
  z-index: 1;
  background-color: var(--neutral-800);
}
.navbar{
  display: flex;
  justify-content: space-between;
  margin: 0 2rem;
  padding: .8rem 0;
}
.navbar > li{
  display: flex;
}
.navbar a{
  color: var(--neutral-100);
}
.navbar-cics-logo,
.navbar-msc-logo{
  line-height: 0;
}
.navbar-cics-logo > img,
.navbar-msc-logo > img{
  width: auto;
  height: 2.8rem;
}
#menu-button{
  display: flex;
  align-items: center;
  font-size: 2.4rem;
}
/* menu */
.menu-container{
  height: 100vh;
  width: 20vw;
  background-color: var(--primary-400);
  position: fixed;
  top: 0;
  right: -30rem;
  z-index: 3;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: 300ms;
}
.menu-container.active{
  right: 0;
}
.menu{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--neutral-700);
}
.menu li{
  display: flex;
}
.menu a{
  font-size: 1.8rem;
  font-weight: 700;
}
.menu a:hover{
  text-decoration: underline;
}
.background-cover.active{
  display: flex;
  height: 100vh;
  width: 100vw;
  background-color: var(--neutral-700);
  opacity: 50%;
  position: fixed;
  top: 0;
  z-index: 2;
}
#close-button{
  display: flex;
  align-self:flex-end;
  margin-bottom: .8rem;
  cursor: pointer;
}
#body.inactive{
  overflow: hidden;
}

/* Hero */
a.arrow-up{
  position: fixed;
  z-index: 3;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--neutral-700);
  color: var(--neutral-100);
  opacity: 50%;
  border-radius: 50%;
  font-size: 4rem;
}
.hero{
  width: 100%;
  height: auto;
  background-color: var(--neutral-100);
  
  display: flex;
}

.hero-buttons{
  display: flex;
}

.show-events-button{
  background-color: var(--neutral-700);
  padding: .4rem .8rem;
  display: flex;
  justify-content: center;
  border-radius: .2rem;
}
.show-events-button a{
  color: var(--neutral-100);
}

.show-calendar-button{
  padding: .4rem .8rem;
  display: flex;
  justify-content: center;
}

.event-info{
  width: 40%;
  height: 44rem;
  background-image: linear-gradient(var(--primary-500), var(--secondary-500));

  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 4rem;
}
.event-info > h1{
  margin-top: 2rem;
  font-size: 4rem;
  line-height: 100%;
}
.event-info > h2{
  margin-top: 1.4rem;
}
.event-info p{
  margin-top: .8rem;
}

.event-images{
  width: 60%;
  height: 44rem;
  background-color: var(--neutral-100);
}
#hero-event-image{
  background-color: var(--primary-500);
  width: 100%;
  height: 100%;
}

.hero-intro-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0rem;
  background-color: var(--neutral-100);
}

.hero-intro-content-title{
  font-size: 2.8rem;
  margin-bottom: 1.4rem;
}
.hero-intro-content p{
  text-align: justify;
  width: 80%;
  font-size: 19px;
  margin-bottom: 20px;
  
}
.hero-intro-content a{
  color: var(--neutral-900);
  font-weight: 700;
}

/* news and announcements */
.faculty-title,
.cicsso-officers-title,
.events-title,
.news-and-announcement-title{
  font-size: 4rem;
  padding: 2rem 4rem 2rem 4rem;
}

.news-and-announcement-container{
  padding-bottom: 4rem;
}
.content-container{
  display: flex;
}
.news-field{
  margin: 0rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  justify-content: center;
}
.news{
  background-color: var(--neutral-100);
  width: 100%;
  padding-bottom: 1rem;
  border-left: 8px solid var(--primary-500);
  border-radius: 4px;
}
.news p{
  padding: 1rem;
}
.news-field-title{
  color: var(--neutral-700);
  font-size: 1.8rem;
  padding: 1rem 1rem 0rem 1rem;
}
.announcement-field-title{
  margin-bottom: .8rem;
  color: var(--neutral-700);
  font-size: 1.8rem;
}
.news-field a{
 color: var(--neutral-900);
 font-weight: 700;
 padding: 1rem;
}
.announcement-field p{
  margin-bottom: 20px;
  font-size: 16px;
}
.announcement-field{
  margin: 0rem 4rem 0 0;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary-500);
}

/* events */
.events-container{
  background-color: var(--neutral-100);
  padding-bottom: 4rem;
}
.event-card{
  height: 32rem;
  width: 28rem;
  background-image: url(/main_page/assets/img/402650413_767803438697506_5375373139063542753_n.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: .8rem;
}

.event-card-background-filter{
  border-radius: .8rem;
  background-image:linear-gradient(200deg, transparent, hsl(144, 42%, 35%) 75%);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  backdrop-filter: blur(2px) saturate(200%);
  -webkit-backdrop-filter: blur(1px) saturate(200%);
}

.event-card-title{
  font-size: 2.8rem;
  margin: 0rem 1.8rem;
  color: white;
  cursor: pointer;
  width: fit-content;
}
.event-card-title:hover{
  color: var(--neutral-300);
}
.event-card-title.Ongoing::after{
  content: "•";
  margin: 0 .8rem;
  font-weight: 900;
  color: rgb(255, 191, 0);
}
.event-card-title.Postponed::after{
  content: "•";
  margin: 0 .8rem;
  font-weight: 900;
  color: rgb(255, 0, 0);
}
.event-card-title.Done::after{
  content: "•";
  margin: 0 .8rem;
  font-weight: 900;
  color: rgb(13, 255, 0);
}
.event-card-title.Upcoming::after{
  content: "•";
  margin: 0 .8rem;
  font-weight: 900;
  color: rgb(0, 47, 255);
}
.event-card-info{
  margin: 0rem 1.8rem;
  padding-bottom: 1.8rem;
  color: white;
}

.event-card-list li{
  display: flex;
}

.event-card-date{
  margin: 0rem 1.8rem;
  padding-right: 8rem;
  margin-bottom: .4rem;
  color: white;
  display: flex;
  justify-content: space-between;
}
.event-card-participants{
  padding-bottom: .8rem;
  margin: 0rem 1.8rem;
  color: white;
}

/* footer */
.footer-container{
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-800);
  height: fit-content;
}

.contact-us-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
#email-form{
  display: flex;
  height: fit-content;
}
.email-textarea{
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  padding: .8rem;
  margin: 0rem .4rem;
  height: 2rem;
  border-radius: 4px;
}
.email-send-button{
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  background-color: var(--primary-300);
  padding: .8rem;
  margin: 0rem .4rem;
}
.social-medila-platforms{
  display: flex;
  gap: 2rem;
  height: fit-content;
}
.social-medila-platforms > a{
  display: flex;
}
.cics-socmed-icon{
  width: 2rem;
  height: auto;
}
.msc-mission-and-vision-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--neutral-900);
  padding-bottom: 2rem;
}
.msc-vision-container,
.msc-mission-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0rem 2rem;
  gap: .8rem;
}
.msc-vision-container > h2,
.msc-mission-container > h2{
  font-size: 2.8rem;
  color: var(--neutral-100);
}
.msc-vision-container > p,
.msc-mission-container > p{
  text-align: justify;
  color: var(--neutral-100);
}
/* carousel */
.clientEvents{
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  overflow-x: hidden;
  gap: 2rem;
  padding: 0rem 4rem;
}
#next-slide,
#prev-slide{
  position: absolute;
  z-index: 2;
  display: flex;
  align-self: center;
  align-items: center;
  background-color: hsla(0, 0%, 10%, 0.517);
  color: var(--neutral-100);
  border: none;
  height: 4rem;
  width: 2rem;
}
#next-slide{
  right: 1.8rem;
}
#prev-slide{
  left: 1.8rem;
}


/*off*/
.pres{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0px;
}
.pres img{
  width: 150px;
  height: auto;
  border-radius: 50%;
}

.officers{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 50px 0px;
  gap: 30px 0px;
}
.officer-prof{
  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;

}
.officer-prof img{
  width: 150px;
  height: auto;
  border-radius: 50%;
}
.officer-info{
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 250px;
  margin-top: 20px;
}

/* faculty */

.faculty{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px 0px;
  gap: 30px 0px;
}
.faculty-container{
  background-color: var(--neutral-100);
}
.faculty-prof{
  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;

}
.faculty-prof img{
  width: 150px;
  height: auto;
  border-radius: 50%;
}
.faculty-info{
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 250px;
  margin-top: 20px;
}

/*responsive*/
@media only screen and (max-width: 1024px) {
  .hero{
    flex-direction: column-reverse;
  }
  .menu-container{
    width: 30vh;
  }
  .event-images{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 80vh;
  }
  .event-info{
    width: 97%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: linear-gradient(200deg, transparent, var(--secondary-500) 55%);
    justify-content: end;
    padding: 0 0 2rem 2rem;
  }
}
@media only screen and (max-width: 768px) {
  .menu-container{
    width: 35vh;
  }
  .event-info{
    width: 96%;
  }
  a.arrow-up{
    font-size: 2.8rem;
  }
  .news-and-announcement-title,
  .events-title,
  .cicsso-officers-title,
  .faculty-title{
    font-size: 2.8rem;
  }
  .announcement-field-contents{
    display: flex;
    flex-direction: column;
    gap: .8rem;
  }
  .news-field{
    margin: 0rem 2rem;
  }
  .announcement-field{
    margin-right: 2rem;
  }
  .hero-intro-content p{
    width: 90%;
    font-size: 15px;
  }
  .msc-vision-container > h2,
  .msc-mission-container > h2{
    font-size: 2rem;
  }
  .event-card{
    height: 28rem;
    width: 22rem;
  }
  .event-card-title{
    font-size: 2rem;
  }
  .email-textarea{
    font-size: 15px;
    height: 1.8rem;
  }
}
@media only screen and (max-width: 480px) {
  .menu-container{
    width: 30vh;
  }
  .menu{
    gap: .8rem;
  }
  .menu a{
    font-size: 1.4rem;
  }
  .event-images{
    display: none;
  }
  .event-info{
    padding: 0;
    background-image: linear-gradient(var(--primary-500), var(--secondary-500));;
    justify-content: center;
    align-items: center;
    width: 100vw;
  }
  .event-info > h1{
    font-size: 2rem;
    text-align: center;
  }
  .event-info > h2{
    text-align: center;
    padding: 0rem 2rem 0rem 2rem;
  }
  .show-events-button{
    display: none;
  }
  .hero-intro-content-title{
    font-size: 1.4rem;
    padding: 0rem 2rem 0rem 2rem;
  }
  .content-container{
    flex-direction: column;
  }
  .news-and-announcement-title,
  .events-title,
  .cicsso-officers-title,
  .faculty-title{
    padding: 2rem;
    text-align: center;
  }
  .announcement-field{
    margin: 2rem;
    border-radius: 8px;
  }
  .email-textarea{
    width: 12rem;
    height: .8rem;
    font-size: .8rem;
    overflow-y: hidden;
  }
  .email-send-button{
    font-size: .8rem;
    padding: 0 .8rem 0 .8rem;
  }
  .event-card{
    height: 24rem;
    width: 18rem;
  }
  .msc-vision-container > h2,
  .msc-mission-container > h2{
    font-size: 1.8rem;
  }
}