* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  caret-color: transparent;
  text-overflow: ellipsis;
}

input,
textarea {
  caret-color: var(--text);
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

:root {
  --hero-bg-color: #333;
  --left-hero-bg-color: rgba(93, 158, 210, 0.6);
  --right-hero-bg-color: rgba(170, 93, 210, 0.6);
  --hover-width: 75%;
  --other-width: 25%;
  --speed: 1000ms;

  --primary: #5a9fd3;
  --text: #141414;
  --hover-real: #151c3a;
  --circle-right: #d9d9d9;
  --form-back: #f0f0f0;
  --nav-back: #f9f9f9;
  --main-back: #f4f3f4;
  --dark-back: rgb(46, 46, 46);

  --light-outer-neomorph: 8px 8px 12px 0 rgba(0, 0, 0, 0.25),
    -8px -8px 12px 0 rgba(255, 255, 255, 0.3);
  --light-inset-neomorph: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2),
    inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);
  --dark-outer-neomorph: 8px 8px 12px 0 rgba(0, 0, 0, 0.25),
    -6px -6px 12px 0 rgba(255, 255, 255, 0.1);
  --dark-inset-neomorph: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2),
    inset -6px -6px 10px 0 rgba(255, 255, 255, 0.1);
  --bg-neomorph: linear-gradient(
    145deg,
    rgba(202, 202, 202, 0.22),
    rgba(247, 247, 247, 0.25)
  );
  --bg-neomorph-dark: linear-gradient(
    145deg,
    rgba(26, 26, 26, 0.22),
    rgba(78, 78, 78, 0.25)
  );
  --bg-neomorph-button: linear-gradient(
    -145deg,
    rgba(0, 0, 0, 0),
    rgba(247, 247, 247, 0.25)
  );
}

@font-face {
  font-family: "Avenir";
  src: url("fonts/AvenirNext-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Prototype";
  src: url("fonts/Prototype.ttf") format("truetype");
}

html,
body {
  font-family: "Avenir", sans-serif;
  width: 100%;
  background-color: var(--main-back);
  height: 100%;
}

.icon-hero {
  width: 5rem;
  height: 5rem;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 60%;
  transition: 500ms all ease-in-out;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--hero-bg-color);
  cursor: pointer;
  z-index: 2;
}

.split {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.split.left-hero {
  left: 0;
  background: url("img/bg/IMG_Developpeur.jpg") center center no-repeat;
  background-size: cover;
}

.split.left-hero:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--left-hero-bg-color);
}

.split.right-hero {
  right: 0;
  background: url("img/bg/IMG_Formateur.jpg") center center no-repeat;
  background-size: cover;
}

.split.right-hero:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--right-hero-bg-color);
}

.split.left-hero,
.split.right-hero,
.split.left-hero:before,
.split.right-hero:before {
  transition: var(--speed) all ease-in-out;
}

.hover-left .left-hero {
  width: var(--hover-width);
}

.hover-left .right-hero {
  width: var(--other-width);
}

.hover-left .right-hero:before {
  z-index: 2;
}

.clicked-left .left-hero {
  width: 100%;
}

.clicked-left .right-hero {
  width: 0%;
}

.hover-right .right-hero {
  width: var(--hover-width);
}

.hover-right .left-hero {
  width: var(--other-width);
}

.hover-right .left-hero:before {
  z-index: 2;
}

.clicked-right .right-hero {
  width: 100%;
}

.clicked-right .left-hero {
  width: 0%;
}

.logo img {
  max-height: 35px;
}

.main-button {
  border-radius: 10px;
  background-color: var(--main-back);
  box-shadow: -2px -2px 5px #fff, 2px 2px 5px #babecc;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  color: var(--primary) !important;
  font-weight: bold;
  width: 8rem;
  max-width: 100%;
  padding: 0.5rem;
  text-shadow: 1px 1px 0 white;
  text-align: center;
  border: none;
}

nav .main-button {
  background-color: var(--nav-back);
}

.main-button:hover,
.main-button:active,
.main-button.active {
  background-color: transparent;
  background-image: linear-gradient(145deg, #f0f0f0, #f3f3f3);
  box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

nav .main-button:hover,
nav .main-button:active,
nav .main-button.active {
  background-color: transparent;
  background-image: linear-gradient(145deg, #f0f0f0, #f3f3f3);
  box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

.dark-button {
  border-radius: 10px;
  background-color: var(--dark-back);
  box-shadow: -2px -2px 5px rgba(255, 255, 255, 0.1),
    2px 2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color: var(--primary) !important;
  font-weight: bold;
  max-width: 100%;
  padding: 13px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
}

.dark-button:hover,
.dark-button:active,
.dark-button.active {
  background-color: transparent;
  background-image: linear-gradient(145deg, var(--dark-back), rgb(51, 51, 51));
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.25),
    inset -1px -1px 2px rgba(255, 255, 255, 0.1);
}

.social-links {
  position: absolute;
  bottom: 3vh;
  left: 3vh;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: 12rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 200ms all ease-in-out;
  color: var(--primary);
  background: var(--main-back);
  background-image: linear-gradient(145deg, rgba(165, 165, 165, 0.1), white);
}

.social-link i {
  font-size: 1.3rem;
}

.social-link:hover {
  box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

.social-link:active {
  box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0vh 8vh;
  align-items: center;
  height: 10vh;
  box-shadow: -2px -2px 5px #fff, 2px 2px 5px #babecc;
  background: var(--nav-back);
}

.nav-links {
  display: flex;
  justify-content: space-evenly;
  width: 45%;
}

.nav-links a {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
}

.nav-links li {
  list-style: none;
}

.burger {
  display: none;
  cursor: pointer;
  user-select: none;
}

.burger div {
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

/* width */
::-webkit-scrollbar {
  width: 0px;
}

.scrollable::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--left-hero-bg-color);
}

body {
  overflow: hidden;
}

#containers {
  height: 0%;
}

.container {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  display: none;
}

.nav-circles {
  position: fixed;
  right: 8.5px;
  top: 50%;
  transform: translateY(-50%);
  height: 15%;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 5vh;
}

.circle-link {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--nav-back);
  box-shadow: -1px -1px 2px #fff, 1px 1px 2px #babecc;
}

.circle-link:hover,
.circle-link.active {
  box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

.circle-link.active {
  background-color: var(--primary);
}

.section {
  height: 100%;
  width: 100%;
  position: relative;
  scroll-snap-align: start;
  padding-top: 10.5vh;
}

.s1 {
  background: var(--main-back);
  color: var(--text);
}

.s2 {
  background: var(--dark-back);
  color: var(--main-back);
}

.block {
  position: relative;
  width: 50%;
  float: left;
  padding: 0% 5%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.w-35 {
  width: 35%;
}

.w-65 {
  width: 65%;
}

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

.section-cache {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.scroll-arrow {
  position: absolute;
  right: 5px;
  width: 30px;
  height: 30px;
  z-index: 1;
}

.scroll-arrow.dark.down {
  background: url("img/icons/scroll-dark-down.gif") bottom center no-repeat;
  background-size: contain;
}
.scroll-arrow.dark.up {
  background: url("img/icons/scroll-dark-up.gif") top center no-repeat;
  background-size: contain;
}
.scroll-arrow.light.down {
  background: url("img/icons/scroll-light-down.gif") bottom center no-repeat;
  background-size: contain;
}
.scroll-arrow.light.up {
  background: url("img/icons/scroll-light-up.gif") top center no-repeat;
  background-size: contain;
}

.scroll-arrow.down {
  bottom: 0.5vh;
}
.scroll-arrow.up {
  top: 10.5vh;
}

.bg-regular {
  background-color: var(--main-back);
}

.bg-dark {
  background-color: var(--dark-back);
}

h1 {
  font-size: 2.5rem;
  color: white;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: "Prototype";
  transition: 500ms all ease-in-out;
  font-weight: normal;
}

h2 {
  font-family: Prototype;
  font-size: 2rem;
}

.center-content {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

.middle-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
  flex-direction: column;
}

.section-dev .square-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-dev .square-img:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--left-hero-bg-color);
  opacity: 0.5;
}

.icon-square {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8rem;
  height: 8rem;
  transition: 500ms all ease-in-out;
  z-index: 3;
}

.spe {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: bold;
  margin-right: 4px;
  cursor: pointer;
  font-weight: bold;
}

.catch-phrase {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: left;
  height: 2.4rem;
}

.link-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.link-buttons a {
  display: block;
  width: 12rem;
  text-align: center;
  margin-bottom: 1rem;
}

.services,
.technos,
.matters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 100%;
}

.service {
  flex-basis: calc(50% - 1rem);
  background: var(--bg-neomorph-dark);
  box-shadow: var(--dark-outer-neomorph);
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: auto;
  margin-bottom: auto;
  height: 29%;
  overflow: hidden;
}

.techno {
  flex-basis: calc(50% - 1rem);
  background: var(--bg-neomorph);
  box-shadow: var(--light-outer-neomorph);
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: auto;
  margin-bottom: auto;
  height: 29%;
  overflow: hidden;
}

.matter {
  flex-basis: calc(50% - 1rem);
  background: var(--bg-neomorph);
  box-shadow: var(--light-outer-neomorph);
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: auto;
  margin-bottom: auto;
  height: 29%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.matter,
.service,
.techno {
  display: flex;
  flex-direction: column;
}

.section-contact {
  display: flex;
  justify-content: center;
}

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

.matter .title-box {
  box-shadow: none !important;
  justify-content: space-evenly;
}

.title-box {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  transition: 200ms all ease-in-out;
  width: 100%;
  color: var(--primary);
  overflow: visible;
  padding-bottom: 0.5rem;
}

.title-box .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.5rem;
  overflow-x: hidden;
  margin-right: 0.5rem;
  height: 2rem;
  width: 2rem;
}

.title-box.dark .icon-box {
  box-shadow: var(--dark-inset-neomorph);
}

.title-box.light .icon-box {
  box-shadow: var(--light-inset-neomorph);
}

.matter .title-box {
  height: 100%;
}

.title-box i {
  font-size: 1.3rem;
}

.matter p {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text);
}

.scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0.3rem;
}

.img-tech-list {
  text-align: center;
  margin: auto;
}

.service p {
  font-size: 1rem;
  margin-top: auto;
  margin-bottom: auto;
}

h2 {
  font-size: 1.8rem;
  font-weight: normal;
}

h3 {
  color: var(--primary);
  font-size: 1.3rem;
}

h3 i {
  margin-right: 5px;
}

a {
  text-decoration: none;
}

p {
  text-align: justify;
}

.primary {
  color: var(--primary);
}

.white {
  color: white;
}

.regular {
  color: var(--text);
}

.h-50 {
  height: 50%;
}

.h-100 {
  height: 100% !important;
}

.w-100 {
  width: 100%;
}

.p-0 {
  padding: 0 !important;
}

.bold {
  font-weight: bold;
}

.faded {
  font-weight: normal;
  font-size: 0.8rem;
  color: grey;
}

.img-tech {
  height: 3rem;
}

.img-me {
  position: relative;
  max-width: 75%;
  max-height: 60%;
  box-shadow: var(--light-outer-neomorph);
  border-radius: 10px;
  transition: transform 2s;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-me:before {
  position: absolute;
  content: "";
  background: var(--primary);
  height: 100%;
  width: 100%;
  opacity: 0.4;
  z-index: 1;
}

.img-me img {
  max-width: 100%;
  transition: transform 0.5s;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
}

.img-me:before:hover {
  box-shadow: var(--light-inset-neomorph);
}

.img-me:hover img {
  transform: scale(1.2);
}

.title {
  text-align: center;
  width: 100%;
}

.title span {
  width: 100%;
  text-align: center;
}

.gallery {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100%;
  padding-top: 2rem;
}

.gallery::-webkit-scrollbar {
  width: 3px;
}

.gallery::scrollbar {
  width: 3px;
}

.gallery .title {
  height: 10%;
}

.gallery ul {
  list-style: none;
}

.gallery .filter-menu {
  display: flex;
  justify-content: space-evenly;
  flex-flow: wrap;
  margin-bottom: 2rem;
}

.gallery .filter-menu li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem;
  padding: 0.5rem 2rem;
}

.gallery .filter-item {
  margin-bottom: 2rem;
  margin-left: auto;
  text-align: center;
}

.gallery .filter-item li {
  width: 22%;
  margin: 1%;
  visibility: visible;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 10rem;
  transition: all 0.25s ease-in-out;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: -2px -2px 5px rgba(255, 255, 255, 0.1),
    2px 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.gallery .filter-item li.active {
  width: 22%;
  opacity: 1;
}

.gallery .filter-item li.hidden {
  margin: 0%;
  opacity: 0;
  width: 0%;
  height: 0;
}

.gallery .filter-item li:hover {
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.25),
    2px 2px 5px rgba(255, 255, 255, 0.1);
}

.gallery .filter-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 3s;
}

.gallery .filter-item .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 52, 52, 0.6);
  transform-origin: center;
  transition: 0.5s;
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  justify-content: space-around;
  transform: scale(0);
}

.gallery .filter-item .layer:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 98%;
  height: 98%;
  box-shadow: var(--dark-inset-neomorph);
  border-radius: 10px;
  transform: translate(-50%, -50%);
}

.gallery .filter-item li:hover .layer {
  transform: scale(1);
}

.gallery .filter-item li .layer h4,
.gallery .filter-item li .layer h5,
.gallery .filter-item li .layer p {
  width: 100%;
  padding: 0% 6%;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.gallery .filter-item li .layer h4 {
  margin-top: 130px;
  transition-delay: 0.3s;
}
.gallery .filter-item li .layer p {
  margin-bottom: 130px;
  transition-delay: 0.3s;
}

.gallery .filter-item li:hover .layer h4,
.gallery .filter-item li:hover .layer h5,
.gallery .filter-item li:hover .layer p {
  margin-top: 0px;
  margin-bottom: 0px;
  opacity: 1;
}

.gallery .filter-item li:hover img {
  transform: scale(1.5);
  transition: 3s;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 70vh;
  background: var(--main-back);
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 10;
  overflow-y: auto;
  color: var(--text);
  box-shadow: -5px -5px 10px rgba(255, 255, 255, 0.1),
    5px 5px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  top: -200%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 300ms ease-in-out, top 1s ease-in-out,
    transform 1s ease-in-out;
  margin-top: 5vh;
}

.popup.active {
  opacity: 1;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1s cubic-bezier(0.18, 0.89, 0.43, 1.19);
}

.popup > div {
  position: relative;
  top: 10px;
  opacity: 0;
}

.popup.active > div {
  top: 0px;
  opacity: 1;
}

.popup .title-box {
  height: 10%;
  overflow: hidden;
  margin-bottom: 0;
}

.popup .content-box::-webkit-scrollbar {
  width: 3px;
}

.popup .content-box {
  height: 80%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  align-items: center;
  padding: 1rem 0;
}

.popup .close-box {
  height: 10%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.popup.active .title-box {
  transition: all 0.3s ease-in-out 0.95s;
}

.popup.active .content-box {
  transition: all 0.3s ease-in-out 1s;
}

.popup.active .close-box {
  transition: all 0.3s ease-in-out 1.05s;
}

.popup img {
  max-width: 70%;
  max-height: 30vh;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.close-box {
  text-align: center;
}

.contact-content {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100%;
}

.contact-content-text {
  width: 45%;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  box-shadow: var(--light-outer-neomorph);
  background: var(--bg-neomorph);
  border-radius: 10px;
  overflow: hidden;
}

.contact-content-form {
  width: 45%;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--light-outer-neomorph);
  background: var(--bg-neomorph);
  border-radius: 10px;
  overflow: hidden;
}

.contact-content-form .scrollable,
.contact-content-text .scrollable {
  padding: 2rem;
}

.form-input {
  border-radius: 10px;
  transition: 200ms all ease-in-out;
  width: 100%;
  background-color: transparent;
  border: none;
  min-height: 2rem;
  padding: 0 1rem;
  box-shadow: var(--light-inset-neomorph);
  margin-bottom: 1rem;
  -webkit-appearance: none;
}

textarea.form-input {
  padding-top: 0.5rem;
  margin-bottom: 0;
}

@media screen and (max-width: 1400px) {
  .service p {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 1240px) {
  nav {
    padding: 0 3vh;
  }

  .nav-links {
    width: 70%;
  }

  .img-tech {
    height: 2.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .gallery .filter-item li,
  .gallery .filter-item li.active {
    width: 30%;
  }
}

@media screen and (max-width: 1000px) {
  .nav-links {
    width: 80%;
  }

  .block {
    width: 100%;
    height: 50%;
  }

  .block.w-35 {
    height: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .block.w-65 {
    height: 92%;
  }

  .section-homeintro {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.9rem;
  }

  .h-50 {
    height: auto;
  }

  .middle-content {
    text-align: center;
    align-items: center;
  }

  .catch-phrase {
    height: 2rem;
  }

  .form-input {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .nav-links {
    width: 50% !important;
  }

  h3 {
    font-size: 0.9rem;
  }

  .catch-phrase {
    font-size: 0.9rem;
  }

  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: absolute;
    right: 0px;
    top: 10vh;
    height: 90vh;
    padding-bottom: 10vh;
    background: var(--nav-back);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 2;
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }

  .service p {
    font-size: 0.8rem;
  }

  .link-buttons {
    height: auto;
    width: 100%;
    flex-direction: column;
  }

  .main-button {
    box-shadow: -2px -2px 5px #fff, 2px 2px 5px #babecc;
    text-align: center;
  }

  .title-box {
    height: 3rem;
  }

  .title-box i {
    font-size: 1.2rem;
  }

  .matter .title-box {
    flex-direction: column;
    justify-content: center;
  }

  .matter p {
    font-size: 0.9rem;
    text-align: center;
  }

  .scrollable::-webkit-scrollbar {
    width: 3px;
  }

  .gallery .filter-item li,
  .gallery .filter-item li.active {
    width: 45%;
  }

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

  .contact-content-text {
    width: 95%;
    height: 30%;
    padding: 0.5rem;
  }

  .contact-content-form {
    width: 95%;
    height: 60%;
    padding: 0.5rem;
  }

  .form-input {
    margin-bottom: 0.25rem;
  }
}

@media screen and (max-width: 450px) {
  .block.w-35 {
    height: 5%;
  }

  .block.w-65 {
    height: 95%;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 0.8rem;
  }

  h3 {
    font-size: 0.7rem;
  }

  p,
  span {
    font-size: 0.6rem;
  }
  .nav-links {
    width: 70% !important;
  }

  .main-button,
  .dark-button {
    font-size: 0.8rem;
    padding: 0.8rem;
  }

  .service p {
    font-size: 0.6rem;
  }

  .title {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .title h2 {
    width: auto;
  }
  .title span {
    width: auto;
  }

  .title-box {
    height: 2.3rem;
    min-height: 2.3rem;
  }
}

@media screen and (max-height: 450px) {
  nav {
    height: 15vh;
  }

  .section {
    padding-top: 15.5vh;
  }

  .scroll-arrow.up {
    top: 15.5vh;
  }

  .nav-links {
    top: 15vh;
  }

  .social-links {
    bottom: 2vh;
    left: 2vh;
  }

  .social-link {
    width: 2rem;
    height: 2rem;
  }

  .middle-content {
    flex-direction: row;
    align-items: center;
  }
  .head-block {
    width: 30%;
  }

  p,
  span {
    font-size: 0.6rem;
  }

  p.catch-phrase {
    width: 30%;
    height: auto;
  }

  p.catch-phrase span {
    font-size: 0.9rem !important;
  }

  .icon-square {
    width: 4rem;
    height: 4rem;
  }

  .link-buttons {
    height: 100%;
    width: 30%;
    flex-direction: column;
  }

  .img-tech {
    height: 2rem;
  }

  h2 {
    font-size: 1rem;
  }

  .img-me {
    display: none;
  }

  .section-me {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .section-me .block {
    height: auto;
  }

  .title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .title h2 {
    width: auto;
  }

  .title span {
    width: auto;
    margin-left: 1rem;
  }

  .title-box i {
    font-size: 1.2rem;
  }

  .title-box {
    height: 2.3rem;
    min-height: 2.3rem;
  }

  .matter p {
    font-size: 0.9rem;
  }

  .link-buttons a {
    margin-bottom: 0;
  }

  .scrollable::-webkit-scrollbar {
    width: 3px;
  }

  .gallery .filter-item li,
  .gallery .filter-item li.active {
    width: 22%;
  }
}

.regular-shadow {
  box-shadow: 0px 0px 10px grey;
}

.nav-active {
  transform: translateX(0%);
  box-shadow: -2px 5px 5px #babecc, 2px 2px 5px #fff;
}

.toggle-burger .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle-burger .line2 {
  opacity: 0;
}

.toggle-burger .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
