@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 200;
  box-sizing: border-box;
  color: #fafffd;
}

*,
::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.subtitles {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-title {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
}

.section {
  margin-top: 80px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  gap: 32px;
  scroll-margin-top: 92px;
}

.section .content {
  display: flex;
  flex-direction: column;
  width: 800px;
  max-width: 100%;
  margin: auto;
  gap: 32px;
}

.section h2 {
  font-size: 36px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  color: #e63617;
}

.section h3 {
  font-size: 24px;
  font-weight: 400;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  color: #e63617;
  letter-spacing: -0.015em;
}

.section p {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.015em;
  gap: 32px;
}

body {
  background: #0f0200;
}

header {
  width: 100%;
  height: 80px;
  background: #e63617;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
}

header.sticky {
  background: #0f0200;
  box-shadow: 2px 2px 4px #fafffd33;
  transition: 0.4s;
}

header.sticky .nav-bar ul li a {
  color: #fafffd;
}

.nav-bar ul li {
  display: flex;
  align-items: center;
}

.select-container {
  justify-content: center;
  position: relative;
  margin-left: 32px;
  min-width: 100px;
  min-height: 40px;
}

#languageSwitcher {
  border: 1px solid #0f0200;
  border-radius: 16px;
  appearance: none;
  width: 100%;
  background-color: #e63617;
  color: #0f0200;
  font-size: 16px;
  font-weight: 200;
  padding: 4px 16px 4px 36px;
}

.nav-bar.scrolled #languageSwitcher {
  background: #fafffd;
}

.select-container .icon-container {
  position: absolute;
  left: 0;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.icon-container i {
  font-size: 16px;
  color: #0f0200;
}

.large-container {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0px 60px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.logo-section img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  transition: all 0.3s ease-in-out;
}

.logo-section img:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.logo-section.red.inactive,
.logo-section.black.inactive {
  display: none;
}

.menu-icon {
  display: none;
}

.nav-bar ul {
  display: flex;
}

.nav-bar ul li a {
  display: block;
  color: rgb(15, 2, 0);
  width: -moz-fit-content;
  width: fit-content;
  padding: 6px 12px;
  transition: 0.2s;
  margin: 0 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

.nav-bar ul li a::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f107';
  font-weight: 900;
  padding-right: 4px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.nav-bar ul li a:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.nav-bar ul li a:hover::before {
  opacity: 1;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
}

.nav-bar.scrolled ul li a:hover {
  background: linear-gradient(90deg, rgba(230, 54, 23, 1) 0%, #0f0200 92%);
  transition: all 0.3s ease-in-out;
}

.hero {
  width: 100%;
  background: #e63617;
  display: flex;
  align-items: center;
}

.presentation {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-texts {
  width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  flex-shrink: 0;
}

.hero-text {
  color: #0f0200;
}

.hero-image {
  max-height: 540px;
}

.hero-image img {
  max-height: 540px;
  object-fit: contain;
  display: block;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 160px;
  display: flex;
  padding: 20px 24px;
  background: transparent;
  border: 1px solid #0f0200;
  box-shadow: 2px 2px 4px #0f020075;
  transition: all 0.2s ease-in-out;
}

.cta-button:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 5px 1px #0f020056;
}

.hobbies {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.015em;
}

.hobbies .hobbies-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 16px 0;
  background: linear-gradient(#0f0200, #0f0200) padding-box,
    linear-gradient(
        90deg,
        rgba(250, 255, 253, 1) 5%,
        rgba(230, 54, 23, 1) 50%,
        rgba(250, 255, 253, 1) 95%
      )
      border-box;
  border-radius: 50em;
  border: 1px solid transparent;
  box-shadow: 0px 10px 30px -5px rgba(255, 255, 255, 0.25);
}

.hobby {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 140px;
  gap: 8px;
}

.wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
}

.container {
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.card {
  width: 80px;
  height: 400px;
  /* border-radius: 0.75rem; */
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 8px;
  display: flex;
  align-items: flex-end;
  transition: 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  box-shadow: 0px 10px 30px -5px rgba(255, 255, 255, 0.25);
}

.card > .row {
  color: #fafffd;
  display: flex;
  flex-wrap: nowrap;
}

.card > .row > .icon {
  border: transparent;
  background: #e63617dd;
  color: #fafffd;
  font-weight: 200;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px;
  cursor: pointer;
  filter: none;
}

.card > .row > .description {
  display: none;
}

.description-m {
  display: none;
}

.description-m p,
.description p {
  color: #fafffd;
  padding: 2px 0;
}

.description-m h4,
.description h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  color: #fafffd;
}

.card.open {
  width: 600px;
  box-shadow: 0px 10px 30px 2px rgba(255, 255, 255, 0.25);
}

.card.open > .row > .description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 80px;
  width: 520px;
  transform: translateY(0px);
  transition: all 0.6s ease;
  color: #fafffd;
}

#studi.card {
  background-image: linear-gradient(
      180deg,
      hsla(0, 0%, 0%, 0.7) 0%,
      rgb(15, 2, 0) 92%
    ),
    url('../images/studi-opt.webp');
}

#studi.card:hover,
#studi.card.open {
  background-image: linear-gradient(
      180deg,
      hsla(0, 0%, 0%, 0) 0%,
      rgb(15, 2, 0) 92%
    ),
    url('../images/studi-opt.webp');
  transition: all 0.5s ease;
  box-shadow: 0px 10px 30px 2px rgba(255, 255, 255, 0.5);
}

#tohu.card {
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgb(15, 2, 0) 92%
    ),
    url('../images/tohu.webp');
}

#tohu.card:hover,
#tohu.card.open {
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgb(15, 2, 0) 92%
    ),
    url('../images/tohu.webp');
  transition: all 0.5s ease;
  box-shadow: 0px 10px 30px 2px rgba(255, 255, 255, 0.5);
}

#edt.card {
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgb(15, 2, 0) 92%
    ),
    url('../images/edt.webp');
}

#edt.card:hover,
#edt.card.open {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #0f0200 92%),
    url('../images/edt.webp');
  transition: all 0.5s ease;
  box-shadow: 0px 10px 30px 2px rgba(255, 255, 255, 0.5);
}

.details {
  width: 700px !important;
  background-size: cover;
}

.solo-detail {
  display: none;
}

.solo-detail > .timeframe {
  font-style: italic;
  font-weight: 200;
  padding: 24px 0;
}

.solo-detail > .job {
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.015em;
  padding: 0px 0;
}

.solo-detail::before {
  display: block;
  content: '';
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(250, 255, 253, 1) 5%,
    rgba(230, 54, 23, 1) 50%,
    rgba(250, 255, 253, 1) 95%
  );
  transition: all 0.5s ease-out;
  animation: fade-up 0.5s ease-out;
}

.solo-detail.visible {
  display: block;
  animation: fade-up 0.5s ease-out;
  padding-top: 16px;
}

.section.projects {
  padding: 0;
}

.projects > .large-container {
  flex-direction: column;
  align-items: flex-start;
}

.projects > .full-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.solo-project {
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.solo-project > .large-container {
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  height: auto;
  gap: 32px;
}

.solo-project > .large-container > .texte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 200px;
  max-width: 600px;
  gap: 16px;
}

.solo-project > .large-container > .texte * {
  color: #0f0200;
}

.solo-project > .large-container > .texte h4 {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  font-weight: 300;
}

.solo-project > .large-container > .texte ul li {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.015em;
  padding: 4px 16px;
}

.solo-project > .large-container > .texte ul li::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f111';
  font-weight: 900;
  display: inline-block;
  padding-right: 8px;
  vertical-align: middle;
  transition: 0.3s;
  font-size: 4px;
}

.solo-project > .large-container > .image {
  max-width: 600px;
}

.solo-project > .large-container > .image img {
  width: 100%;
  height: 100%;
}

.cta-button.dark {
  position: relative;
  transition: all 0.35s ease-in-out;
  box-shadow: 2px 2px 4px #0f020033;
  border: none;
  z-index: 0;
}

.cta-button.dark::before {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  background: linear-gradient(
      90deg,
      #0f0200 5%,
      rgba(230, 54, 23, 1) 50%,
      #0f0200 95%
    )
    border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.cta-button.dark:hover {
  border: none;
  box-shadow: 2px 2px 5px 1px #0f020056;
}

.cta-button.dark:hover::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(230, 54, 23, 1) 5%, #0f0200 95%)
    border-box;
  transition: all 0.3s ease-in-out;
}

#a-b {
  background: #faeee6;
}

#skyjo {
  background: #e4e6ff;
}

#arcadia {
  background: #ebfce3;
}

#dim-w {
  background: #fff4e4;
}

#gourmet-lyonnais {
  background: #d3e7f7;
}

#madin-mic {
  background: #f7d7c1;
}

#pizzolino {
  background: #fdf4ee;
}

.btn-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
.cta::before {
  display: block;
  justify-self: center;
  content: '';
  position: relative;
  top: 0;
  left: 0;
  width: 800px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(250, 255, 253, 1) 5%,
    rgba(230, 54, 23, 1) 50%,
    rgba(250, 255, 253, 1) 95%
  );
}

.cta > .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.cta > .content > .left {
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta > .content > .left * {
  color: #fafffd;
}

.cta-button.light {
  position: relative;
  transition: all 0.35s ease-in-out;
  box-shadow: 2px 2px 4px #fafffd33;
}

.cta-button.light::before {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  background: linear-gradient(
      90deg,
      #fafffd 5%,
      rgba(230, 54, 23, 1) 50%,
      #fafffd 95%
    )
    border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.cta-button.light:hover {
  border: none;
  box-shadow: 2px 2px 5px 1px #fafffd56;
}

.cta-button.light:hover::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(230, 54, 23, 1) 5%, #fafffd 95%)
    border-box;
  transition: all 0.3s ease-in-out;
}

.cta > .content > .right {
  width: 100%;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cta > .content > .right ul li {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.015em;
  padding: 8px 0;
}

.bot-links::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f148';
  font-weight: 900;
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  transition: 0.3s;
}

.bot-links:hover {
  color: #e63617;
  font-size: 20px;
  transition: all 0.2s ease-in-out;
}

.bot-links:hover::before {
  transform: rotate(90deg);
  transition: all 0.2s ease-in-out;
  color: #e63617;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 200;
  font-size: 16px;
  color: #fafffd;
  border-top: #fafffd 0.5px solid;
}

footer a {
  display: inline-block;
  color: #fafffd;
  padding: 2px 6px;
  font-weight: 300;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  width: -moz-fit-content;
  width: fit-content;
}

footer a:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, rgba(230, 54, 23, 1) 5%, #0f0200 95%);
  transition: all 0.3s ease-in-out;
}

/* CONTACT PAGE Styles */

.contact {
  background-image: linear-gradient(
      180deg,
      #0f0200 10%,
      #0f020075 90%,
      #0f0200 99%
    ),
    url('../images/contact-bg.webp');
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding: 40px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact > .wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 100px;
  position: relative;
  background-color: rgba(172, 168, 168, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  max-width: 1200px;
  padding: 40px 80px;
  gap: 160px;
  -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
}

.contact > .wrapper::before {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 100px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #fafffd 2%, #1b2521 50%, #8a9892 95%)
    border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.contact > .wrapper > .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}

.contact > .wrapper > .container.right {
  align-items: center;
  justify-content: center;
}

.contact > .wrapper > .container > .title-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
  gap: 32px;
  width: 100%;
}

.contact > .wrapper > .container form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  padding-bottom: 40px;
  width: 100%;
}

.contact > .wrapper > .container button {
  border: none;
  box-shadow: 2px 2px 4px #0f020033;
}

.contact > .wrapper > .container button:hover {
  box-shadow: 0px 0px 30px -5px #0f0200;
}

.contact-img {
  width: 100%;
  max-width: 380px;
  height: 100%;
  max-height: 238px;
  background: rgba(172, 168, 168, 0.4);
  border-radius: 50px;
  position: relative;
  -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.4);
}

.contact-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #fafffd 2%, #1b2521 50%, #8a9892 95%)
    border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.contact-img img {
  width: 100%;
  height: 100%;
  max-width: 380px;
  max-height: 238px;
  object-fit: cover;
  object-position: 0 8%;
  display: block;
  border-radius: 50px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: auto;
  width: 100%;
  padding-bottom: 40px;
}

.contact-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease-in-out;
}

.contact-block br.large {
  display: none;
}

.contact-block:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.contact-block:hover > .contact-item i {
  color: #e63617;
  transition: all 0.3s ease-in-out;
}

.contact-block p {
  text-align: center;
  max-width: 120px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-item i {
  font-size: 50px;
  color: #fafffd;
}

.vertical-separator {
  border-left: 1px solid #fafffd;
  height: calc(100% - 80px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

hr.horizontal-separator {
  display: none;
  background: linear-gradient(
    90deg,
    rgba(250, 255, 253, 1) 5%,
    rgba(230, 54, 23, 1) 50%,
    rgba(250, 255, 253, 1) 95%
  );
  height: 0.5px;
  border: none;
}

/* form style */
.form-group {
  position: relative;
  margin-top: 8px;
  max-width: 700px;
  width: 100%;
}

.input {
  width: 100%;
  max-width: 440px;
  padding: 12px 0;
  padding-right: 32px;
  color: #fafffd;
  border: none;
  border-bottom: 1px solid #fafffd;
  transition: border-color 250ms;
  background: transparent;
  font-size: 16px;
}

.input:focus {
  outline: none;
  border-color: #e63617;
}

.input::placeholder {
  color: transparent;
}

.input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.label {
  position: absolute;
  top: 4px;
  left: 0;
  pointer-events: none;
  transform-origin: left center;
  transition: all 350ms;
}

.input:focus + .label,
.input:not(:placeholder-shown) + .label {
  transform: translateY(-100%) translateX(4px) scale(0.75);
}

.input:focus + .label {
  color: #e63617;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fafffd;
}

/* ********************************************************** */
/* Media Queries */

@media only screen and (max-width: 1060px) {
  /* Adjust the icons on contact page */
  .contact-block {
    padding: 0 8px;
  }

  .contact-block br.large {
    display: block;
  }
}

@media only screen and (max-width: 940px) {
  .hero > .large-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  .menu-icon:hover {
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
  }

  .menu-icon.scrolled-menu > .menu-icon__line {
    background: #fafffd;
  }

  .menu-icon__line {
    width: 32px;
    height: 3px;
    background: #0f0200;
    margin: 6px 0;
    transition: all 0.3s ease;
  }

  .menu-icon.cross > .top {
    transform: rotate(45deg) translate(6.5px, 6.5px);
  }

  .menu-icon.cross > .bottom {
    transform: rotate(-45deg) translate(6.5px, -6.5px);
  }

  .menu-icon.cross > .middle {
    opacity: 0;
  }

  .nav-bar {
    height: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #e63617;
    transition: 0.5s ease-in-out;
    overflow: hidden;
  }

  .nav-bar.scrolled {
    background: #0f0200;
  }

  .nav-bar.active {
    height: 400px;
    box-shadow: 0px 10px 10px -5px #0f02002d;
  }

  .nav-bar.active.scrolled {
    box-shadow: 0px 10px 10px -5px #fafffd33;
  }

  .nav-bar ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 80px auto 0 auto;

    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul {
    opacity: 1;
  }

  .nav-bar ul li a {
    margin-bottom: 12px;
  }

  .hero {
    width: 100vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    gap: 24px;
  }

  .hero-texts {
    width: 100%;
  }

  .hero-image img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-texts > .cta-button {
    width: 100%;
    justify-content: center;
  }

  .button-link,
  .button-link > .cta-button {
    width: 100%;
  }

  .button-link > .cta-button {
    align-items: center;
    justify-content: center;
  }

  .hobbies-list > .hobby {
    padding: 12px 0;
  }

  .card {
    justify-content: center;
  }

  .card.open {
    width: 96px;
    height: 480px;
    transform: all 0.3s ease;
    box-shadow: 0px 10px 30px 2px rgba(255, 255, 255, 0.7);
  }

  .card.open > .row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card.open > .row > .description {
    display: none;
  }

  .description-m {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
  }

  .description-m h4 {
    color: #e63617;
  }

  .solo-project > .large-container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
  }

  .contact > .wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contact > .wrapper > .container {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .contact-form {
    width: 100%;
  }

  .contact-block p {
    text-align: center;
  }

  .contact-block br.large {
    display: none;
  }

  .form-group input,
  .form-group textarea {
    max-width: 100%;
  }

  .vertical-separator {
    display: none;
  }

  hr.horizontal-separator {
    display: block;
    width: 100%;
    margin: 0;
  }
}

@media only screen and (max-width: 864px) {
  .cta::before {
    width: 100%;
  }
}

@media only screen and (max-width: 805px) {
  .cta > .content {
    flex-direction: column;
  }

  .cta > .content > .left {
    max-width: 100%;
  }

  .cta > .content > .right {
    max-width: 100%;
    align-items: flex-start;
  }
}

@media only screen and (max-width: 550px) {
  .card {
    height: 200px;
  }

  .card.open {
    height: 240px;
  }

  .large-container {
    padding: 0px 32px;
  }

  .contact > .wrapper {
    padding: 40px 32px;
  }

  .contact > .wrapper > .container > .title-area {
    align-items: center;
  }

  .contact > .wrapper > .container > .title-area p,
  .contact > .wrapper > .container > .title-area h2 {
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 24px;
  }

  .contact-block {
    flex-direction: row;
    gap: 16px;
  }

  .contact-block br {
    display: none;
  }

  .contact-block p {
    max-width: 100%;
    word-break: break-word;
    text-align: start;
  }

  .contact-item {
    min-width: 80px;
  }
}

@media only screen and (max-width: 385px) {
  .contact-block br {
    display: block;
  }
}
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.6);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
