* {
    box-sizing: border-box;
}

html, body {
  font-family: 'Faustina', serif;
  margin: 0;
  padding: 0;
}

main{
  padding: 0px;
  background: radial-gradient(circle, #82B9AA, #CDCEB9),
              linear-gradient(120deg, #538D7C, #CCB78C);
  background-blend-mode: overlay;
}

a{
    color:#107F63;
}

body {
    font-size: 18px;
}

#contact{
  padding-top: 10px;
  padding-bottom: 70px;
}

#contact p {
    font-size: 16px;
    font-weight: 300;
}

header {
  background-color: #095140;/*#D8AF46;*/
  color: #F1D395;
  padding: 10px;
  font-size: 28px;
}

h1{
  font-weight: 800;
  text-align: center; 
  margin:0 0 15px;
}

h2{
  font-size: 35px;
}

h3{
  font-size: 30px;
  color: #000;
  font-weight: 600;
}

h4{
  font-size: 20px;
  font-weight: 600;
}

section {
  padding: 3rem 5rem;
}

footer {
  background-color: #095140;
  color: white;
  text-align: left;
  padding: 10px;
  bottom: 0;
}

nav {
  background-color: white;
  padding: 10px;
  text-align: center;
  width: 100%;
  position: sticky;
  top: 0;
  overflow-x: hidden;
  z-index: 2;
}

nav a {
  font-weight: 600;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  margin: 0 4vw;
  vertical-align: middle;
}

/* Add underline to navbar links on hover */
nav a:hover {
  text-decoration: underline;
}

.indent {
  padding-left: 20px;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  /* overflow-x: auto; */
}

.content-container .content-container{
    border: 1px;
    padding: 20px;
    flex-direction: row;
}

.box {
  border: 1px;
  padding: 20px;
  flex: 0 0 auto;
  align-items: center;
}

.content-container .circle-frame, .content-container .circle-frame-large{
    flex: 0 0 auto;
}

.content-container div, .content-container p{
    flex: 1;
}

.circle-frame {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #3D7F71;
  overflow: hidden;
}

.circle-frame-large {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 7px solid #3D7F71;
  overflow: hidden;
}

img, video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-large{
  width: 400px;
  height: auto;
}

.logo-small{
  width: auto;
  height: 8rem;
  padding: 0px;
}

.fa{
  width: 2rem;
  height: 2rem;
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  opacity: 0.7;
  text-decoration: none;
}

#contact .fa{
  width: 3rem;
  height: 3rem;
}

section#about, section#join{
  scroll-margin-top: 2rem;
}

section.gold{
  background: linear-gradient(145deg, #F1D395, white);
}

#about div.box{
  padding-top: 0px;
  padding-bottom: 30px;
  background: linear-gradient(150deg, rgba(245, 245, 220, 0.871), transparent);
  border-radius: 5px;
}

p.bio{
  background: beige;
  border-radius: 15px;
  padding: 20px;
  margin: 0;
}

#sponsers{
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

#winner{
  margin: 0rem 2rem;
  margin-top: 2rem;
}

#intro{
  width: 704px;
  height: 396px;
  margin: auto;
  z-index: 1;
}

iframe{
  width: 100%;
  height: 100%;
}

/* Solid border */
hr.solid {
  border: 2px solid whitesmoke;
  margin: 0;
}
  
/* Rounded border */
hr.rounded {
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0 10vw;
}

hr#slide {
  margin: 0px;
  border: 5px solid transparent;
}

/* Slideshow container */
.slideshow-container {
  width: 50vw;
  min-width: 500px;
  position: relative;
  margin: auto;
  text-align: center;
  z-index: 1;
}

/* Hide the images by default */
.slide {
  display: none;
}

.slide *{
  align-items: center;
  justify-content: center;
  width: auto;
  height: 30vw;
  min-height: 50vh;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #095140;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #82B9AA;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

footer a{
  color: #F1D395;
}

/* Adjust Font Size for Tablets */
@media screen and (max-width: 800px) { 
  nav a {
    margin: 0 3vw;
  }

  .logo-large {
    width: 30vw;
  }

  .logo-small{
    height: 6rem;
  }
  
  body {
    font-size: 16px; /* Slightly smaller font for tablets */
  }

  #contact p {
    font-size: 15px; /* Slightly smaller font for tablets */
  }

  header{
    font-size: 2vw;
  }

  h2 {
    font-size: 30px;
  }

  h3{
    font-size: 25px;
  }

  h4{
    font-size: 18px;
  }

  section {
    padding: 2rem 3rem;
  }
  
  #intro {
    width: 400px;
    height: 255px;  
  }
  
  .circle-frame {
    width: 110px;
    height: 110px;
    border-width: 4px;
  }
  
  .circle-frame-large {
    width: 130px;
    height: 130px;
    border-width: 5px;
  }

  .content-container{
    flex-direction: column;
  }

  .content-container .content-container{
    flex-direction: column;
    padding: 5px 0px;
  }

  .slideshow-container{
    width: 80vw;
    min-width: 350px;
  }

  .slide *{
    height: 45vw;
    min-height: 250px;
  }

  .dot{
    height: 10px;
    width: 10px;
  }

  hr#slide{
    border: 4px;
  }

  #sponsers{
    gap: 15px;
  }

  #winner{
    margin: 0rem;
    margin-top: 2rem;
  }
}

/* Adjust Font Size for Mobile Phones */
@media screen and (max-width: 550px) {
  body {
    font-size: 14px; /* Smaller font for small screens */
  }

  #contact p {
    font-size: 13px; /* Slightly smaller font for tablets */
  }

  header{
    font-size: 2vw;
  }

  h2 {
    font-size: 25px;
  }

  h3{
    font-size: 20px;
  }

  h4{
    font-size: 16px;
  }
  
  nav a {
    margin: 0 8px;
    font-size: 13px;
  }

  section {
    padding: 1rem;
  }

  #board_member{
    padding-left: 0px;
  }
  
  #intro{
    width: 224px;
    height: 126px;
  }

  .fa{
    width: 1.3rem;
    height: 1.3rem;
  }

  #contact .fa{
    width: 2rem;
    height: 2rem;
  }

  .content-container .content-container{
    padding: 5px;
  }
  
  .circle-frame {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }

  .logo-small{
    height: 3rem;
  }

  .circle-frame-large {
    width: 95px;
    height: 95px;
    border-width: 4px;
  }

  .slideshow-container{
    width: 85vw;
    min-width: 40px;
  }

  .slide *{
    min-height: 100px;
  }

  .dot{
    height: 7px;
    width: 7px;
  }

  hr#slide{
    border: 3px;
  }

  #sponsers{
    gap: 5px;
  }
}
