:root {
  --base: #ff8503;
  --base-secondary: #ff7843;
  --base-rgba: rgba(255, 133, 3, 0.6);
}

@font-face {
  font-family: "Cyberverse";
  src: url("assets/fonts/Cyberverse\ Bold.otf") format("truetype");
}

@font-face {
  font-family: "Cyberverse400";
  src: url("assets/fonts/Cyberverse.otf") format("truetype");
}

@font-face {
  font-family: "KdamThmorPro";
  src: url("/assets/fonts/KdamThmorPro-Regular.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: url(images/mpl-s7-bg-lv.jpg);
  background-size: cover;
  background-position: center;
  font-family: "KdamThmorPro", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  overflow-x: hidden;
}
/* navbar */
.logo {
  width: 80px;
  margin-left: 50px;
}

nav {
  position: fixed;
  backdrop-filter: blur(3px);
  justify-content: space-between;
  background-color: rgba(8, 8, 8, 0.85);
  width: 100%;
  display: flex;
  padding: 20px 0;
  align-items: center;
  height: 100px;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  padding: 0 10px;
}

nav ul li a:hover {
  color: #1490df;
}

/* haburger */

.menu-toggle {
  display: flex;
  margin-right: 50px;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  position: relative;
  display: none;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  opacity: 0;
  left: -6px;
  top: -5px;
  cursor: pointer;
  z-index: 1;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.5s;
}

/* hamburger */

/* animation hamburger */
.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(-1px, -2px);
}

.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(-1px, 0);
}

.menu-toggle input:checked ~ span:nth-child(3) {
  transform: scale(0);
}

/* end animation hamburger */

/* end navbar */

/* slider */

.slider {
  padding-top: 40px;
  overflow: hidden;
}
.slider figure img {
  width: 20%;
  object-fit: fill;
  float: left;
}
.slider figure {
  position: relative;
  object-fit: fill;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  animation: 20s slidy infinite;
  z-index: -2;
}

@keyframes slidy {
  0% {
    left: 0%;
  }
  20% {
    left: 0%;
  }
  25% {
    left: -100%;
  }
  45% {
    left: -100%;
  }
  50% {
    left: -200%;
  }
  70% {
    left: -200%;
  }
  75% {
    left: -300%;
  }
  95% {
    left: -300%;
  }
  100% {
    left: -400%;
  }
}

/* slider */

/* about */

.about {
  background-color: #fff;
  padding: 30px;
}
.content-about {
  display: flex;
  justify-content: center;
  background-color: #fff;
}

.content-about img {
  width: 400px;
  object-fit: cover;
}

.about-mpl {
  text-align: justify;
  padding: 20px;
  color: #000;
  border-radius: 20px;
  font-size: 18px;
}

/* end about */

/* team */
.header {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  padding: 10px 0;
}

.team {
  margin: 20px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 7pt;
  grid-gap: 40px;
}

.card-team {
  padding: 20px 20px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  color: black;
}

.card-team a {
  text-decoration: none;
  padding-top: 10px;
  color: black;
  align-items: center;
}

.logo-team {
  display: block;
  margin: 0 auto;
  padding-bottom: 10px;
}

.team img {
  width: 100px;
  height: 100px;
}
/* end team */

/* gallery */
.list-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  grid-auto-rows: 200px;
  margin: 40px;
}

.list-gallery img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.gallery-1 {
  grid-column: span 3;
  width: 100%;
}

.gallery-5 {
  grid-column: span 2;
  width: 100%;
}

.gallery-6 {
  grid-column: span 3;
  width: 100%;
}
/* end gallery */

/* video */
.video {
  background-color: #fff;
}

.countainer-video {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
/* end video */

/* form */
.header-form {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 10px 0;
}
.form {
  color: #000;
  padding: 20px;
  background-color: rgba(8, 8, 8, 0.85);
}

.form-container {
  color: #fff;
  padding-bottom: 40px;
}

fieldset {
  padding: 10px;
  margin: 10px 0;
}

button {
  float: right;
}
/* end form */

/* footer */

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #000;
  color: white;
  padding: 5px 0;
  text-align: center;
}
/* end footer */

/* responsive */

@media screen and (max-width: 768px) {
  nav {
    height: 50px;
  }

  .logo {
    width: 45px;
  }
  nav ul {
    display: 50%;
  }

  .btn-menu {
    font-size: 15px;
    margin: 0 20px;
  }

  .content-about {
    flex-wrap: wrap;
  }

  .content-about img {
    width: 350px;
  }
}

.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

.submit {
  position: relative;
  right: 20px;
  bottom: 20px;
  border: none;
  box-shadow: none;
  width: 130px;
  height: 40px;
  line-height: 42px;
  -webkit-perspective: 230px;
  perspective: 230px;
}
.submit span {
  background: rgb(0, 172, 238);
  background: linear-gradient(0deg, rgba(0, 172, 238, 1) 0%, rgba(2, 126, 251, 1) 100%);
  display: block;
  position: absolute;
  width: 130px;
  height: 40px;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 0;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.submit span:nth-child(1) {
  box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -20px;
  -moz-transform-origin: 50% 50% -20px;
  transform-origin: 50% 50% -20px;
}
.submit span:nth-child(2) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -20px;
  -moz-transform-origin: 50% 50% -20px;
  transform-origin: 50% 50% -20px;
}
.submit:hover span:nth-child(1) {
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.submit:hover span:nth-child(2) {
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  color: transparent;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

@media screen and (max-width: 426px) {
  .logo {
    width: 50px;
  }
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    right: 0;
    top: 0;
    height: 35vh;
    width: 100%;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    background-color: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(3px);
    margin-top: 50px;
    transform: translateX(100%);
    transition: all 1s;
  }

  nav ul.slide {
    transform: translateX(0);
  }

  .content-about img {
    width: 300px;
  }
  .gallery-1,
  .gallery-2,
  .gallery-3,
  .gallery-4,
  .gallery-5,
  .gallery-6,
  .gallery-7 {
    grid-column: span 4;
    width: 100%;
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 376px) {
  .menu-toggle {
    display: flex;
  }

  nav ul.slide {
    transform: translateX(0);
  }

  .team {
    margin: 0 20px;
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 321px) {
  .menu-toggle {
    display: flex;
  }

  nav ul.slide {
    transform: translateX(0);
  }

  .team {
    grid-template-columns: repeat(1, 1fr);
  }

  .content-about img {
    width: 250px;
  }
}
