@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap");
@keyframes slide-left {
  from {
    transform: translate(100%);
  }
  to {
    transform: translate(0);
  }
}
@keyframes slide-right {
  from {
    transform: translate(0);
  }
  to {
    transform: translate(100%);
  }
}
.heading-primary {
  font-size: 5rem;
  color: var(--white);
}
@media screen and (max-width: 58em) {
  .heading-primary {
    font-size: 4rem;
  }
}
@media screen and (max-width: 37.5em) {
  .heading-primary {
    font-size: 3.5rem;
  }
}

.section-heading,
.heading-secondary {
  font-weight: 700;
  color: var(--color-text-title);
  text-transform: uppercase;
}

.section-heading {
  font-size: 4rem;
  text-align: center;
}
@media screen and (max-width: 37.5em) {
  .section-heading {
    font-size: 2.5rem;
  }
}

.heading-secondary {
  font-size: 2.4rem;
}

.container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 85vw;
}
@media screen and (max-width: 83em) {
  .container {
    width: 100vw;
  }
}

:root {
  --color-text-primary: #737373;
  --color-secondary: #fbb040;
  --color-text-title: #3d3d3d;
  --color-grey-dark: #3c3c3c;
  --color-grey-light-1: #d0d0d0;
  --color-grey-light-2: #ebebeb;
  --color-hover: #45a5ad;
  --white: #fcfcfc;
  --drop-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  font-family: "Noto Sans", sans-serif;
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  position: relative;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

.navbar {
  background-color: transparent;
  width: 100vw;
  height: 10rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(to right bottom, rgba(17, 49, 107, 0.418), rgba(128, 219, 181, 0.514)), url(../img/hero.jpg);
  background-size: cover;
  background-position: center;
}

.footer {
  width: 100vw;
  min-height: 59rem;
  background-color: var(--color-grey-light-1);
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 10rem;
  background: linear-gradient(to right bottom, rgba(160, 174, 201, 0.212), rgba(202, 226, 205, 0.336)), url(../img/section-heading-bg.jpg);
  background-size: cover;
  background-position: center;
}

.card {
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: var(--drop-shadow);
}

.navbar {
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 400;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
}
.navbar-brand {
  font-size: 5rem;
}
.navbar-brand__link {
  text-decoration: none;
  color: var(--white);
}
@media screen and (max-width: 83em) {
  .navbar-brand {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 37.5em) {
  .navbar-brand {
    font-size: 3rem;
  }
}
.navbar__items {
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 50%;
}
@media screen and (max-width: 83em) {
  .navbar__items {
    width: 75%;
  }
}
@media screen and (max-width: 58em) {
  .navbar__items {
    display: none;
  }
}
.navbar__item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.navbar__link, .navbar__link:active {
  color: currentColor;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4rem 1rem;
}
@media screen and (max-width: 83em) {
  .navbar__link, .navbar__link:active {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 58em) {
  .navbar__link, .navbar__link:active {
    font-size: 2.5rem;
  }
}
.navbar__link:hover {
  background-color: var(--color-hover);
}
.navbar__toggler, .navbar__toggler::before, .navbar__toggler::after {
  background: white;
  width: 3rem;
  height: 0.3rem;
  cursor: pointer;
  z-index: 1000;
}
.navbar__toggler {
  display: none;
}
@media screen and (max-width: 58em) {
  .navbar__toggler {
    position: relative;
    display: block;
  }
  .navbar__toggler::before, .navbar__toggler::after {
    content: "";
    position: absolute;
  }
  .navbar__toggler::before {
    top: -1rem;
  }
  .navbar__toggler::after {
    top: 1rem;
  }
}
.navbar .container {
  justify-content: space-between;
  height: 100%;
}
@media screen and (max-width: 83em) {
  .navbar .container {
    width: 100vw;
    padding: 1rem;
  }
}
@media screen and (max-width: 58em) {
  .navbar .container {
    padding: 2.5rem 3rem;
  }
}

@media screen and (max-width: 58em) {
  .show-nav .navbar__items {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: var(--color-grey-dark);
    animation: slide-left 0.5s ease-in-out;
    padding-block: 8rem;
  }
  .show-nav .navbar__items .navbar__item {
    justify-content: center;
  }
  .show-nav .navbar__items .navbar__link {
    padding-block: 2rem;
  }
}
.show-nav .navbar__toggler::after {
  display: none;
}
.show-nav .navbar__toggler {
  transform: rotate(45deg);
  transition: transform 0.5s ease-in-out;
}
.show-nav .navbar__toggler::before {
  transform: rotate(90deg);
  top: 0;
}

.navbar.scroll {
  background-color: #000;
  box-shadow: var(--drop-shadow);
  height: 8rem;
  transition: height 500ms ease;
}
.navbar.scroll .navbar-brand {
  font-size: 3.2rem;
  transition: all 500ms ease;
}

.hero .heading-primary {
  text-shadow: 2px 4px 4px rgba(17, 49, 107, 0.7);
  transition: all 0.3s ease-in-out;
  max-width: 70%;
  padding-block: 3rem;
}
@media screen and (max-width: 58em) {
  .hero .heading-primary {
    max-width: 100%;
  }
}
.hero .btn {
  position: relative;
  top: 50%;
  background-color: var(--color-grey-light-1);
  color: var(--color-grey-dark);
  transition: top 0.3s ease-in-out;
}
.hero .container {
  display: block;
  padding-inline: 5rem;
}

.tech {
  margin-top: 10rem;
}
.tech-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5rem;
}
.tech-stack:hover {
  box-shadow: var(--drop-shadow);
}
.tech-stack__icon {
  font-size: 8rem;
  color: var(--color-hover);
  margin-bottom: 1.5rem;
}
.tech-stack__description {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.tech-stack__details {
  text-align: center;
}
@media screen and (max-width: 58em) {
  .tech-stack__details {
    max-width: 60%;
  }
}
.tech .container {
  justify-content: space-around;
  padding-block: 3rem;
}
@media screen and (max-width: 58em) {
  .tech .container {
    flex-wrap: wrap;
  }
}

.training-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 5rem;
}
.training-path:hover {
  box-shadow: var(--drop-shadow);
}
@media screen and (max-width: 58em) {
  .training-path {
    min-width: 60vw;
  }
}
.training-path__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: var(--color-secondary);
  width: 15rem;
  height: 15rem;
  font-size: 4rem;
  margin-bottom: 1rem;
}
.training-path__icon-icon {
  padding-left: 2rem;
}
.training-path__icon-icon_img {
  width: 80%;
  height: 70%;
  align-self: center;
}
.training-path__description {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.training-path__details {
  text-align: center;
}
.training .container {
  gap: 1.6rem;
  justify-content: space-around;
  padding-block: 5rem;
}
@media screen and (max-width: 58em) {
  .training .container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 4rem;
  }
}

.team-main__image-container {
  width: 100%;
  height: 30rem;
  background-color: var(--color-grey-dark);
  overflow: hidden;
}
@media screen and (max-width: 83em) {
  .team-main__image-container {
    height: 24rem;
  }
}
@media screen and (max-width: 37.5em) {
  .team-main__image-container {
    height: 40rem;
  }
}
.team-main__image {
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.team-main__name {
  font-size: 2rem;
  text-align: center;
  align-self: stretch;
  padding: 2rem;
  background: var(--color-secondary);
  z-index: 11;
  color: black;
}
.team-main__name--name {
  font-weight: 700;
}
@media screen and (min-width: 83em) {
  .team-main__name--role {
    display: none;
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    height: 100%;
    animation: slide-left 500ms ease forwards;
    padding: 2rem;
  }
}
.team-main__name--role p {
  font-size: 2rem;
  padding: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.team-main__name--role .contacts {
  padding: 1rem;
  display: flex;
  justify-content: center;
}
.team-main__name--role a {
  text-decoration: none;
  border-radius: 5px;
  font-size: 3.5rem;
  padding: 1rem;
}
@media screen and (min-width: 83em) {
  .team-main__name--role a {
    padding: 1.5rem;
    color: white;
  }
  .team-main__name--role a:hover {
    background-color: var(--color-hover);
  }
}
.team .card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 20rem;
  flex-basis: 30%;
  overflow: hidden;
}
@media screen and (max-width: 83em) {
  .team .card {
    flex-basis: 28%;
  }
}
@media screen and (max-width: 58em) {
  .team .card {
    flex-basis: 40%;
  }
}
@media screen and (min-width: 83em) {
  .team .card {
    flex-basis: 20%;
  }
  .team .card:hover .team-main__name--role {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 30%;
    width: 100%;
  }
}
.team .container {
  gap: 5rem;
  padding: 12rem 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
@media screen and (max-width: 37.5em) {
  .team .container {
    flex-direction: column;
    padding: 10rem 2rem;
  }
}
@media screen and (min-width: 83em) {
  .team .container {
    gap: 12rem;
  }
}

.alumni__header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 40%;
}
.alumni__pic {
  position: absolute;
  top: -7.9rem;
  z-index: 99;
  width: 15rem;
  height: 15rem;
  border-radius: 100px;
  background-color: var(--color-grey-dark);
}
.alumni__name {
  position: relative;
  top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2rem;
  color: var(--color-grey-dark);
  text-align: center;
}
.alumni__name--name {
  font-weight: 700;
  text-align: center;
}
.alumni__main {
  margin-top: 8rem;
  padding: 2rem 1rem;
  text-align: center;
}
.alumni .container {
  justify-content: space-around;
  gap: 2rem;
  padding: 15rem 5rem 8rem 5rem;
  overflow-x: auto;
}
.alumni .card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 36rem;
  max-width: 28rem;
  padding: 2rem;
}

.footer-main {
  display: flex;
  background-color: inherit;
}
@media screen and (max-width: 83em) {
  .footer-main {
    flex-direction: column;
  }
}
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 40%;
  padding: 2rem 0;
}
@media screen and (max-width: 83em) {
  .footer-socials {
    flex-direction: row;
    order: 2;
    width: 100%;
  }
}
.footer-socials__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50rem;
  height: 25rem;
}
@media screen and (max-width: 83em) {
  .footer-socials__brand {
    width: 35rem;
    height: 20rem;
  }
}
@media screen and (max-width: 37.5em) {
  .footer-socials__brand {
    transform: translate(1rem, 1rem);
  }
}
.footer-socials__logo {
  max-width: 100%;
  max-height: 100%;
}
.footer-socials__socials {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width: 37.5em) {
  .footer-socials__socials {
    margin-right: 6rem;
  }
}
.footer-socials__contacts a {
  text-decoration: none;
  color: inherit;
}
.footer__icon {
  font-size: 5rem;
}
.footer-copyright {
  font-weight: 700;
  padding: 2.5rem;
  height: 9rem;
  background-color: var(--color-grey-light-2);
}
.footer-copyright .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form {
  display: grid;
  gap: 1.6rem;
  grid-template-areas: "form-header form-header" "name-input email-input" "message-input message-input" "submit-button .";
  font-family: inherit;
  background: var(--color-grey-dark);
  padding: 5rem;
  width: 50%;
}
@media screen and (max-width: 83em) {
  .form {
    order: 1;
    width: 100%;
    grid-template-areas: "form-header form-header" "name-input name-input" "email-input email-input" "message-input message-input" "submit-button .";
  }
}
@media screen and (max-width: 37.5em) {
  .form {
    padding: 3rem 1.5rem;
  }
}
.form__header .heading-secondary {
  color: var(--white);
}
.form__group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.form__label {
  position: absolute;
  font-size: 1.6rem;
  font-weight: 700;
  transform: translate(0.4rem, 0.3rem) scale(0.8);
  transition: all 500ms ease;
}
.form__input {
  background: var(--white);
  height: 5.5rem;
  padding: 2rem 0.5rem 0.5rem 0.8rem;
  font-size: 1.6rem;
  font-family: inherit;
  color: var(--color-grey-dark);
  font-weight: 700;
  transition: height 500ms ease;
  border-radius: 0.5rem;
}
.form__input::-webkit-input-placeholder {
  opacity: 0;
}
.form__input:focus {
  outline: none;
  background: var(--white);
}
.form__input:placeholder-shown {
  height: 3rem;
  padding: 2rem;
  background: var(--color-grey-light-2);
}
.form__input:placeholder-shown + .form__label {
  transform: translate(2rem, 1rem);
}
.form__input--message {
  height: 15rem;
  resize: none;
  padding-left: 1rem;
}
.form__input--message:placeholder-shown {
  height: 4rem;
  padding: 1rem 1rem 0 2rem;
}

#form-header {
  grid-area: form-header;
}

#name-input {
  grid-area: name-input;
}

#email-input {
  grid-area: email-input;
}

#message-input {
  grid-area: message-input;
}

#submit-button {
  grid-area: submit-button;
}

.btn {
  height: 4.8rem;
  width: 15rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
}
.btn:link {
  background-color: var(--color-grey-dark);
  color: var(--white);
}
.btn:hover {
  box-shadow: var(--drop-shadow);
  background: var(--color-hover);
  color: var(--color-grey-light-1);
}
.btn:active {
  transform: scale(0.98);
  transition: transform 200ms ease;
}
.btn--form {
  border-radius: none;
}