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

:root {
  color-scheme: light;
}

body {
  width: 100%;
  background-color: #e4d7cc;
  margin: 0;
}

button {
  border: 1px solid #cab8a9;
  padding: 0;
  background-color: #dcc9b9;
  width: 300px;
  height: 50px;
  overflow: hidden;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  justify-content: center;
  position: relative;
}

.container section {
  background-color: #f5ece0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  margin-left: 10px !important;
  margin-right: 10px !important;
}

button:hover {
  cursor: pointer;
}
.interactionButton {
  color: black;
  font-family: "Lora", serif;
  font-size: 20px;
  transition: 300ms;
  min-width: 250px;
}

.interactionButton:hover {
  background-color: #f0ebe3;
}
h1,
h3,
h4,
h5,
a,
p {
  font-family: "Lora", serif;
}
h1 {
  margin: 0;
  margin-top: 0;
  margin-bottom: 20px;
}
h4 {
  margin: 0;
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: unset;
}
p {
  font-size: 19px;
}
h5 {
  margin: 0;
  margin-top: 20px;
  margin-bottom: 0;
}
h3 {
  margin: 0;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: unset;
}
h6 {
  font-weight: lighter;
  font-size: 20px;
  margin-bottom: 10px;
}
.picasso {
  font-weight: lighter;
  color: #423d3a;
  margin-top: 0;
}

a {
  color: black;
  text-decoration: none;
}
hr {
  width: 100%;
  border: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(left, #e4d7cc, #8c8b8b, #e4d7cc);
  background-image: -moz-linear-gradient(left, #e4d7cc, #8c8b8b, #e4d7cc);
  background-image: -ms-linear-gradient(left, #e4d7cc, #8c8b8b, #e4d7cc);
  background-image: -o-linear-gradient(left, #e4d7cc, #8c8b8b, #e4d7cc);
}
.about a p {
  display: block;
  position: relative;
  padding: 5px 0;
}

.about a p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: black;
  opacity: 0;
  transition:
    opacity 300ms,
    transform 300ms;
}

.about a p::after {
  opacity: 1;
  transform: scale(0);
  transform-origin: center;
}

.about a:hover p::after,
.about a:focus p::after {
  transform: scale(1);
}

.cv {
  padding: 50px;

  max-width: 700px;
  min-width: 300px;
}

.socials {
  padding: 50px;
  gap: 10px;
  width: 400px;
}

.socials a {
  width: fit-content;
}

.teacher-img {
  width: 100%;
  max-width: 400px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

.teacher-foto {
  padding: 50px;
}

.teacher-info {
  padding: 50px;
  max-width: 700px;
  min-width: 400px;
}

.container {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.back-button {
  position: absolute;
  top: 0;
  left: 0;
  margin: 20px;
  padding: 10px;
  border: 1px solid #cab8a9;
  transition: 300ms;
}

.back-button:hover {
  cursor: pointer;
  background-color: #f0ebe3;
}

.navbar {
  width: 100%;
}

.logo {
  width: 330px;
  max-width: 330px;
  margin: 10px;
  margin-left: 40px;
  flex: 1;
}

.navbuttons {
  gap: 40px;
  flex: 10;
  margin-right: 40px;
}

.about {
}

.facebook {
  width: 45px;
}
.gmail {
  width: 45px;
}
.phone {
  width: 45px;
}

.copyright {
  margin: 0;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: unset;
  color: #74685f;
}
.text-center {
  text-align: center;
}
.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-evenly {
  justify-content: space-evenly;
}

.justify-around {
  justify-content: space-around;
}

.justify-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.align-self-top {
  align-self: flex-start;
}

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

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.flex-4 {
  flex: 4;
}

.flex-5 {
  flex: 5;
}

.flex-6 {
  flex: 6;
}

.flex-7 {
  flex: 7;
}

.flex-8 {
  flex: 8;
}

.flex-9 {
  flex: 9;
}

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

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.mt-10 {
  margin-top: 10px;
}

.ml-10 {
  margin-left: 10px;
}

.mr-10 {
  margin-right: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.m-10 {
  margin: 10px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px;
}

.gap-50 {
  gap: 50px;
}

@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%;
  }
}

div#slider {
  overflow: hidden;
  max-height: 500px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}
div#slider figure img {
  width: 20%;
  float: left;
  height: 100%;
}
div#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite;
}

@media only screen and (max-width: 1307px) {
  .about {
    flex-direction: column;
    gap: 0;
    margin-top: unset;
  }

  .cv,
  .socials {
    flex: unset;
    margin: unset;
  }

  .socials {
    width: auto;
  }
}

@media only screen and (max-width: 1121px) {
  .teacher-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .teacher-foto,
  .teacher-info {
    flex: unset;
    margin: unset;
  }
}

@media only screen and (max-width: 951px) {
  .navbuttons {
    gap: 25px;
    flex-direction: column;
  }

  .interactionButton {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 611px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbuttons {
    margin-right: 0;
  }

  .logo {
    margin: 0;
  }

  button {
    width: 100%;
    max-width: 300px;
  }

  .teacher-foto,
  .teacher-info,
  .cv,
  .socials {
    padding: 30px;
  }
}

@media only screen and (max-width: 400px) {
  .teacher-foto,
  .teacher-info,
  .cv,
  .socials {
    padding: 20px;
  }

  .socials {
    word-break: break-all;
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media only screen and (max-width: 500px) {
  .teacher-info,
  .cv {
    min-width: 250px;
  }
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1000;
  display: none;
}
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -25px;
  border-radius: 50%;
  border: 5px solid #ccc;
  border-top-color: #333;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
