@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap");

:root {
  --bright-yellow: #fbd53f;
  --dark-blue: #223b5d;
  --blue-gray: #768898;
  --white: #f0f0f0;
  --gray: #929191;
  --pastel-blue: #899dae;
  --white-background: #d4d4d4;
  --transparent: rgba(0, 0, 0, 0);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Kanit", sans-serif;
  background-image: linear-gradient(var(--gray), var(--pastel-blue));
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem 6rem 2rem;
  background-color: var(--dark-blue);
  color: var(--bright-yellow);
}

header .logo-title {
  display: flex;
  align-items: center;
}

header .logo-title h1 {
  font-size: 4rem;
}

header .logo-title img {
  width: 10rem;
  margin: 1rem;
}

div.nav {
  display: flex;
  align-items: center;
}

header .nav .material-symbols-rounded {
  background-color: var(--bright-yellow);
  color: var(--dark-blue);
  font-size: 1.5rem;
  transition: 0.25s;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

header .nav .material-symbols-rounded:hover {
  scale: 1.15;
}

header .nav .links {
  display: none;
}

header .nav .links .c-links {
  display: flex;
  list-style: none;
  padding: 0.5rem;
  font-size: 1.3rem;
  transition: 0.5s;
}

header .nav .links .c-links:hover {
  font-size: 1.5rem;
  border-bottom: 0.25rem solid var(--bright-yellow);
  border-left: 0.25rem solid var(--bright-yellow);
}

header .nav .links .link {
  text-decoration: none;
  color: var(--bright-yellow);
}

header .nav .links .submenu {
  display: none;
  height: 10rem;
  width: 10rem;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-color: var(--bright-yellow) var(--pastel-blue);
  scrollbar-width: thin;
  position: absolute;
  margin-top: 2rem;
}

header .nav .links .submenu li a {
  text-decoration: none;
  color: #333652;
}

header .nav .links .submenu li {
  list-style: none;
  transition: 0.25s;
  padding: 0.5rem;
  margin-left: -1.5rem;
  background-color: var(--blue-gray);
}

header .nav .links .submenu li:hover {
  scale: 1.08;
  background-color: var(--bright-yellow);
}

header .nav .links .c-links:hover .submenu {
  display: inline-block;
}

main {
  width: 70%;
  margin: auto;
  margin-top: -4rem;
}

hr.rounded {
  border-top: 0.5rem solid var(--dark-blue);
  margin: 0;
}

main section.content {
  background-color: var(--white-background);
  padding: 1rem 2.5rem 1rem 2.5rem;
}

main section.content h2 {
  text-align: center;
  font-size: 1.75rem;
}

main section.content h3 {
  font-size: 1.5rem;
}

main section.content p {
  font-size: 1.15rem;
}

main section.content.about-us p {
  text-indent: 3ch;
  margin: 0 auto 0.5rem auto;
  text-align: start;
  width: 85%;
}

main section.content.about-us {
  text-align: center;
  border-radius: 1rem 1rem 0rem 0rem;
}

.slide-wrapper {
  position: relative;
  width: 95%;
  margin: 1rem auto;
}

.slider {
  width: 100%;
  display: flex;
  aspect-ratio: 16/9;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 0.5rem;
  background-color: var(--dark-blue);
  padding: 1rem 0;
}

.slider a {
  width: 100%;
  margin: 0 .5rem;
}

.slider img {
  flex: 1 0 100%;
  height: 100%;
  border-radius: 0.5rem;
  scroll-snap-align: start;
  object-fit: cover;
}

.slider-nav {
  background-color: var(--dark-blue);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: -1rem;
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%);
  z-index: 1;
}

.slider-nav a {
  width: 1rem;
  height: 1rem;
  border-radius: 25%;
  background-color: var(--bright-yellow);
  opacity: 0.65;
  transition: 0.5s;
}

.slider-nav a:hover {
  opacity: 1;
}

main div.students {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

main section.content div.students .student {
  margin: 1.15rem;
  padding: 1rem;
  text-align: center;
  border-radius: 0.5rem;
  background-color: var(--bright-yellow);
  transition: 0.25s;
}

main section.content div.students .student p {
  padding: 0.25rem;
  text-align: start;
}

main section.content div.students .student:hover {
  scale: 1.08;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

main section.content div.students .student:hover::after {
  content: " ";
  background-image: linear-gradient(
    45deg,
    var(--transparent),
    var(--white-background)
  );
  border-radius: 0.5rem;
  mix-blend-mode: screen;
  opacity: 0.7;
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

main section.content div.students img {
  border-radius: 0.5rem;
  width: 100%;
}

main section.content div.students .student.oliveira:hover {
  background-color: rgb(108, 203, 225);
}
main section.content div.students .student.antonio:hover {
  background-color: rgb(82, 0, 133);
  color: var(--white);
}
main section.content div.students .student.giorgio:hover {
  background-color: rgb(255, 92, 92);
}
main section.content div.students .student.arthur:hover {
  background-color: rgb(142, 209, 94);
}
main section.content div.students .student.carlos:hover {
  color: var(--white);
  background-color: rgb(30, 30, 30);
}

main section.content.projects .project {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 2.5rem auto 2.5rem auto;
  width: 85%;
}

main section.content.projects .project .description a {
  text-decoration: none;
  color: inherit;
}

main section.content.projects .project .description p {
  font-size: 1.25rem;
  cursor: pointer;
}

main section.content.projects .project .description {
  padding: 1.5rem;
  transition: 0.25s;
  border-radius: 0 0.5rem 0.5rem 0;
}

main section.content.projects .project .project-image {
  background-color: var(--dark-blue);
  padding: 1.5rem;
  border-radius: 0.5rem 0 0 0.5rem;
}

main section.content.projects .project .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: 0.2s;
}

main section.content.projects .project:hover img {
  scale: 1.04;
}

main section.content.projects .project:hover .description {
  background-color: var(--dark-blue);
  color: var(--bright-yellow);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-image: linear-gradient(
    45deg,
    var(--bright-yellow),
    var(--blue-gray)
  );
  font-size: 1.4rem;
  padding: 0.25rem;
}

footer .info {
  display: flex;
  align-items: center;
}

footer .cep {
  margin-left: 2rem;
}

footer .cep a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  transition: 0.25s;
}

footer .cep img {
  width: 7.5rem;
  border-radius: .75rem;
  padding: 0.5rem;
}

footer .cep a:hover {
  scale: 1.04;
}

.message-form {
  background-color: var(--white-background);
  padding: 1rem;
  margin: 1rem;
  border-radius: 0.5rem;
  text-align: left;
  display: flex;
  flex-flow: column wrap;
}

.message-form label {
  margin-bottom: 1rem;
}

.message-form label input {
  border-radius: 0.5rem;
  font-size: 1.25rem;
  border: 0;
}

.message-form label textarea {
  border-radius: 0.5rem;
  font-size: 1.25rem;
  height: 10rem;
  border: 0;
}

.message-form button {
  border-radius: 0.5rem;
  padding: 1rem;
  border: 0;
  background-color: var(--white);
  transition: 0.25s;
}

.message-form button:hover {
  background-color: var(--dark-blue);
  color: #fbd53f;
  scale: 1.05;
}

@media only screen and (max-width: 1400px) {
  main {
    width: 85%;
  }

  main div.students {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: auto;
    width: 90%;
  }

  main section.content.projects .project .description {
    border-radius: 0 0 0.5rem 0.5rem;
    margin: 0 auto 0.5rem auto;
    width: 80%;
  }

  main section.content.projects .project .project-image {
    border-radius: 0.5rem 0.5rem 0 0;
    margin: 0.5rem auto 0 auto;
    width: 80%;
  }

  main section.content.projects .project {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media only screen and (max-width: 1000px) {
  main section.content.projects .project {
    width: 85%;
  }

  main section.content.projects .project .description,
  main section.content.projects .project:hover .description {
    background-color: var(--dark-blue);
    color: var(--white);
  }
}

@media only screen and (max-width: 850px) {
  header {
    flex-direction: column;
    align-items: baseline;
  }

  header .logo-title h1 {
    font-size: 3.5rem;
  }

  header .logo-title img {
    width: 5rem;
    margin: 0.5rem 0.5rem 0.5rem -0.5rem;
  }

  header .nav .material-symbols-rounded {
    margin: 1rem 0;
  }

  header .nav .links .c-links {
    font-size: 1.1rem;
  }

  header .nav .links .c-links:hover {
    font-size: 1.2rem;
  }

  main {
    width: 95%;
  }

  main section.content {
    background-color: var(--white-background);
    padding: 0.75rem;
  }

  main section.content h2 {
    font-size: 1.5rem;
  }

  main section.content p {
    font-size: 1rem;
  }

  main section.content.about-us .image-cep {
    margin: 1rem 0;
    width: 95%;
  }

  main div.students {
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  footer {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }

  footer .info {
    margin-left: 1rem;
  }

  footer .cep img {
    width: 2.5rem;
  }
}

.btn-12{
  position: relative;
  right: 20px;
  bottom: 20px;
  border:none;
  box-shadow: none;
  width: 12rem;
  height: 40px;
  line-height: 42px;
  -webkit-perspective: 230px;
  perspective: 230px;
}
.btn-12 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: 12rem;
  height: 40px;
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(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 .3s;
  transition: all .3s;
}
.btn-12 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;
}
.btn-12 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;
}
.btn-12:hover span:nth-child(1) {
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  scale: 1.25;
}
.btn-12:hover span:nth-child(2) {
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
 color: transparent;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  scale: 1.25;
}

.custom-btn.btn-12 {
  background-color: transparent;
}

.special {
  padding: 1rem;
  color: white;
  background-color: var(--dark-blue);
  border-radius: .5rem;
}