﻿@font-face {
  font-family: "main";
  src: url(main.otf);
}
@font-face {
  font-family: "inter";
  src: url(inter.ttf);
}
@font-face {
    font-family: "imza";
    src: url(imza.otf);
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #d32f2f;
}

* {
  font-family: "inter", sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "main", sans-serif;
}

.obs {
    opacity: 0;
    transition: 1s all;
}

.mobile-hamburger {
  display: none;
}
.navbar {
  background-color: #ffffff;
  width: calc(100vw - 2rem);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 999999999999;
  padding: 0 1rem;
}
.navbar img {
  width: 6rem;
  height: 6rem;
}
.navlinks {
  display: flex;
  justify-content: center;
  align-content: center;
}
.navlink {
  color: #333333;
  font-size: 1rem;
  padding: 1rem;
  position: relative;
  text-decoration: none;
}
.navlink:hover::after {
  width: 80%;
}
.navlink::after {
  content: "";
  width: 0%;
  height: 0.2rem;
  background-color: #d4af37;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  transition: all 1s;
}
.navlink.active {
  color: #d32f2f;
}
.navlink.active::after {
  background-color: #d32f2f;
  width: 80%;
}
.main {
  width: 100vw;
  height: calc(100vh - 6rem);
  position: absolute;
  left: 0;
  top: 0;
  background-image: url('bg.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-top: 6rem;
  overflow-y: auto;
}
.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.maintop {
  width: 100%;
  height: calc(100vh - 6rem);
  background-image: url(back.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  color: #333333;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eaeaea;
  text-shadow: 0px 1px 12px rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}
.sgletter {
  width: 70%;
  color: #333333;
  margin: auto;
  padding: 3rem;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}
.sgletter pre {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  font-family: "inter";
  line-height: 1.7;
}
.footer {
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 3rem;
  border-top: 1px solid #eaeaea;
  background-color: #fcfcfc;
}
.footer div {
  font-family: "inter";
}
.secretariat {
    width: 70%;
    padding: 2rem;
    margin: auto;
}
.teamcard {
    width: 80%;
    height: 16rem;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.teamcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.04);
}
.teamcard img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    border: 2px solid #d4af37;
}
.teamcard .role {
    color: #d32f2f;
}
.teamcard .name {
    font-family: "imza";
    font-size: 1.2rem;
    color: #d32f2f;
}
.teamcard .btn {
  font-family: "imza";
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #d32f2f;
  padding: .8rem 1.5rem;
  border-radius: 8px;
  outline: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
  transition: all 0.3s ease;
}
.teamcard .btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(211, 47, 47, 0.3);
}
.secretariat .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form {
  margin-top: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.form input, .form select, .form textarea {
  width: 80%;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: .75rem 1rem;
  color: #333333;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus, .form select:focus, .form textarea:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.form div {
  width: 100%;
}

.form input::placeholder, .form textarea::placeholder {
  color: #a0aec0;
}

.form select option {
  background-color: #ffffff;
}

.flip-clock {
    text-align: center;
    perspective: 400px;
    margin: 20px auto;
  }
  .flip-clock *,
  .flip-clock *:before,
  .flip-clock *:after {
    box-sizing: border-box;
  }
  .flip-clock__piece {
    display: inline-block;
    margin: 0 5px;
  }
  .flip-clock__slot {
    font-size: 2vw;
    color: #333;
  }
  .card {
    display: block;
    position: relative;
    padding-bottom: 0.72em;
    font-size: 9vw;
    line-height: 0.95;
  }
  .card__top,
  .card__bottom,
  .card__back::before,
  .card__back::after {
    display: block;
    height: 0.72em;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #f0d571, #d4af37);
    padding: 0.25em 0.25em;
    border-radius: 0.15em 0.15em 0 0;
    backface-visiblity: hidden;
    transform-style: preserve-3d;
    width: 1.8em;
    transform: translateZ(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  }
  .card__bottom {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    border-top: solid 1px #a48111;
    background: linear-gradient(to bottom, #cfa830, #aa8516);
    border-radius: 0 0 0.15em 0.15em;
    pointer-events: none;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  .card__bottom::after {
    display: block;
    margin-top: -0.72em;
  }
  .card__back::before,
  .card__bottom::after {
    content: attr(data-value);
  }
  .card__back {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0%;
    pointer-events: none;
  }
  .card__back::before {
    position: relative;
    z-index: -1;
    overflow: hidden;
  }
  .flip .card__back::before {
    -webkit-animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
            animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
    transform-origin: center bottom;
  }
  .flip .card__back .card__bottom {
    transform-origin: center top;
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
    -webkit-animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
            animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
  }
  @-webkit-keyframes flipTop {
    0% {
      transform: rotateX(0deg);
      z-index: 2;
    }
    0%,
    99% {
      opacity: 0.99;
    }
    100% {
      transform: rotateX(-90deg);
      opacity: 0;
    }
  }
  @keyframes flipTop {
    0% {
      transform: rotateX(0deg);
      z-index: 2;
    }
    0%,
    99% {
      opacity: 0.99;
    }
    100% {
      transform: rotateX(-90deg);
      opacity: 0;
    }
  }
  @-webkit-keyframes flipBottom {
    0%,
    50% {
      z-index: -1;
      transform: rotateX(90deg);
      opacity: 0;
    }
    51% {
      opacity: 0.99;
    }
    100% {
      opacity: 0.99;
      transform: rotateX(0deg);
      z-index: 5;
    }
  }
  @keyframes flipBottom {
    0%,
    50% {
      z-index: -1;
      transform: rotateX(90deg);
      opacity: 0;
    }
    51% {
      opacity: 0.99;
    }
    100% {
      opacity: 0.99;
      transform: rotateX(0deg);
      z-index: 5;
    }
  }


