:root {
  --background-color: #f8fafc;
  --article-color: #fff;
  --projet-description-color: #5f5f5f;
  --projet-title-color: #000;
  --article-border-color: #bfbfbf;
  --apple-blue: #007aff;
}

@font-face {
  font-family: QuicksandBold;
  src: url("https://cdn.alexmascell.net/fonts/Quicksand/static/Quicksand-Bold.ttf");
}

@font-face {
  font-family: Consolas;
  src: url("https://cdn.alexmascell.net/fonts/Consolas.ttf");
}

@font-face {
  font-family: GoogleSans;
  src: url("https://cdn.alexmascell.net/fonts/Google_Sans/static/GoogleSans-Bold.ttf");
}
.row {
  display: flex;
  flex-direction: row !important;
}

.column {
  display: flex;
  flex-direction: column !important;
}

a {
  text-decoration: none;
  color: inherit;
}

.header,
.header h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: QuicksandBold;
  text-decoration: underline;
}

h2 {
  font-family: QuicksandBold;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--background-color);
}

.navbar a {
  font-family: GoogleSans;
  font-weight: bolder;
}

.list {
  list-style: none;
  display: flex;
  gap: 25px;
  font-size: 12px;
}

.link {
  display: inline-block;
  margin-bottom: 2px;
  text-decoration: none;
  color: inherit;
  position: relative;
  font-family: QuicksandBold;
}

.link::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: black;
  border-radius: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.link:hover::after {
  transform: scaleX(1);
}

#toggler,
.navbar label {
  display: none;
  color: inherit;
}

.heroImage {
  height: 100px;
  padding: 10px;
  border-radius: 16px;
}

.languageImage {
  height: 50px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.pers-tps {
  position: absolute;
  bottom: 0;
  left: 0;
}

.code {
  font-family: Consolas;
  font-weight: bold;
  background-color: #dadada;
  color: #272727;
  padding: 2px;
}

.example {
  padding: 10px;
  font-style: italic;
  background-color: #cecece;
  border-radius: 26px;
}

body {
  background-color: var(--background-color);
  /*animation: subtleBgShift 20s ease-in-out infinite alternate;*/
}

@keyframes subtleBgShift {
  0% {
    background-color: var(--background-color);
  }
  100% {
    background-color: #e3e4e4;
  }
}

main {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.maininfo {
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.maininfo p,
.maininfo h2 {
  font-family: QuicksandBold;
}

.main-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  position: relative;
  border: var(--article-border-color) solid 1px;
  border-radius: 26px;
  font-family: QuicksandBold;
}

.profile-pic {
  height: 300px;
  border-radius: 26px;
  padding: 5px;
}

.scolarship,
.main-projects {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.scolarship div {
  padding-right: 10px;
}

.scolarship p {
  margin: 5px;
}

.scolarship h2 {
  text-align: center;
  text-decoration: underline;
}

.scolarship img {
  height: 100px;
  padding: 10px;
  border-radius: 26px;
}

.prj-art {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  position: relative;
  padding-right: 10px;
  border: var(--article-border-color) solid 1px;
  border-radius: 26px;
  padding-bottom: 20px;
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glasshover {
  transition: transform 0.3s ease;
}

.glasshover:hover {
  transform: scale(1.03);
}

.prj-art p {
  font-family: Arial, Helvetica, sans-serif;
}

.prj-title {
  display: flex;
}

.prj-title h2 {
  font-family: QuicksandBold;
}

.prj-desc p {
  color: var(--projet-description-color);
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 20px;
  margin: 0;
  font-family: QuicksandBold;
}

.prj-description {
  color: var(--projet-description-color);
  font-family: QuicksandBold;
  max-width: 300px;
  margin-top: -10px;
}

a.prj-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.prj-img {
  height: 100px;
  padding: 10px;
  border-radius: 26px;
}

.contactForm {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-family: Arial, Helvetica, sans-serif;
  flex-wrap: wrap;
  width: 100%;
}

.contactForm section,
.contactForm form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px;
  font-size: larger;
}

.contactForm form {
  width: 20vw;
}




#form-status {
  text-align: center;
  font-family: QuicksandBold;
}

.info div {
  display: flex;
  align-items: center;
  background-color: #3b82f6;
  border-radius: 676767px;
  padding-left: 5px;
  padding-right: 5px;
  color: white;
  gap: 10px;
  padding-right: 10px;
  width: 350px !important;

  position: relative;
  justify-content: center;
  width: auto;
}

.info div > img {
  height: 45px;
  position: absolute;
  left: 5px;
}

.info div > p {
  width: calc(100% - 80px);
  text-align: center;
  padding-left: 15px;
}

.info div > p a {
  text-decoration: underline;
  color: white;
}

.input {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #555;
  outline: none;
  width: calc(100% - 20px);
}

.input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.inputTa {
  resize: vertical;
  min-height: 100px;
  max-height: 500px;
}


.extlink {
  color: var(--apple-blue);
}

.btnPart {
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 5px;
  cursor: pointer;
}

.apple-button {
  background-color: rgb(0, 122, 255);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1em;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.apple-button:hover {
  background-color: rgb(10, 132, 255);
}

.projectPres {
  font-family: QuickSandBold;
  margin: 0 20px;
}


.rainbow-title {
  font-family: QuicksandBold;
  text-decoration: underline;
}

.pp-text {
  margin: 0 20px;
  font-size: large;

}

.thumbnail {
  height: 200px;
  padding: 10px;
  border-radius: 26px;
}

.pp-div {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 1050px) {
  .menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
  }

  .list {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .navbar label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  #toggler:checked ~ .menu {
    max-height: 100%;
  }

  /* Contact */
  .contactForm {
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
  }
  .contactForm section,
  .contactForm form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px;
    font-size: larger;
  }

  .contactForm form {
    align-self: center;
    width: 80%;
  }

  .contactForm button {
    width: auto;
  }

  .info div {
    align-self: center;
  }

  .pp-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .reverse {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .thumbnail {
    height: 150px;
    padding: 10px;
    border-radius: 26px;
  }

    .pp-text {
      margin: 0;
    }
}



footer {
  font-family: QuicksandBold;
  text-align: center;
  padding: 10px;
}
