.divider {
  color: #fff;
  width: 60%;
  margin: 0 auto;
}

.sr-hidden {
  opacity: 0;
  visibility: hidden;
}

/* BODY STYLES */

body {
  display: flex;
  flex-direction: column;

  min-height: 100vh;

  width: 100%;
  background: linear-gradient(334deg, #2d052e, #09062c, #310522);
  background-size: 180% 180%;
  animation: gradient-animation 5s infinite;
}

/* HERO STYLES */

#hero {
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  margin: 0 auto;
  font-family: "Montserrat";
}

#hero img {
  width: 300px;
  margin: 10px;
}

span {
  color: #09062c;
  text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

#hero h1 {
  font-size: 3rem;
  margin: 30px 0;
}

#hero h3 {
  font-size: 2rem;
  font-weight: lighter;
}

/* HEADER STYLES */

header nav div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  width: 100%;
  background-color: #09062c;
  color: #fff;
  font-family: "Montserrat";
  box-shadow: 0 0 2px white;
}

header nav h3 {
  color: white;
  cursor: default;
}

header nav h3 .name {
  text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

header nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  list-style: none;
  margin: 10px;
}

header nav a {
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 0 10px;
  text-transform: uppercase;
}

header nav a:hover {
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 0 5px white;
}

.navbar-nav {
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
}

a.nav-link {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 0 10px;
}

a.nav-link:hover {
  color: #09062c;
  background-color: #fff;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 0 5px white;
}

/* MAIN STYLES */

.main-container {
  margin: 150px auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 370px;
  flex-direction: column;
  color: #fff;
  text-align: center;
  font-family: "Montserrat";

  border-radius: 10px;
  box-shadow: 0 0 10px white;
}

.main-container {
  background-color: rgba(9, 6, 44, 0.5);
  filter: opacity(0.9);
}

.main-container h1 {
  font-size: 3rem;

  overflow: hidden;
  border-right: 0.15em solid rgb(255, 255, 255);

  white-space: nowrap;
  margin: 0 auto;
  animation: typing 2s steps(19, end), blink-caret 0.75s step-end infinite;
  animation-delay: 0.5s;
}

.main-container h3 {
  font-size: 1.5rem;
  margin-bottom: 50px;
}

.main-container p {
  font-size: 1rem;
}

.name {
  color: #09062c;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* ABOUT STYLES */

#about {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px auto;
  padding: 10px 30px;
  overflow-x: hidden;
}

#about div div {
  margin: 0 auto;
}

#about .side-image {
  text-align: center;
}

#about .side-image img {
  border-radius: 10px;
  box-shadow: 0 0 10px white;
}

/* SERVICES STYLES */

#services {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px auto;
  padding: 10px 30px;
}

#services h2 {
  font-size: 2.4rem;
  color: #fff;

  overflow: hidden;
  text-align: center;
  font-family: "Montserrat";

  width: 60%;
}

@media screen and (max-width: 768px) {
  #services h2 {
    width: 100%;
  }
}

#services .service {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: min-content;
}

#services .service i {
  font-size: 3rem;
  margin: 20px;
}

#services .service h3 {
  margin-bottom: 20px;
}

/* PORTFOLIO STYLES */

#portfolio {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px auto;
  padding: 10px 30px;

  display: flex;
  flex-direction: column;
}

#portfolio h2 {
  font-size: 2.4rem;
  color: #fff;

  overflow: hidden;
  text-align: center;
  font-family: "Montserrat";
}

#portfolio h3 {
  text-align: left;
  font-size: 1.5rem;
  text-decoration: underline;
}

#portfolio p {
  text-align: left;
  font-size: 1rem;
}

#portfolio a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

#portfolio a:hover {
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 0 5px white;
  background-color: #fff;
  color: rgba(9, 6, 44, 0.9);
  font-weight: bold;
}

#portfolio .btn {
  background-color: #fff;
  color: #44092f;
  font-size: 1.1rem;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
}

/* CTA STYLES */

#cta {
  color: #fff;
  font-family: "Montserrat";
  padding: 10px 30px;
  margin: 100px 0;
}

#cta .btn {
  background-color: #fff;
  color: #44092f;
  font-size: 1.1rem;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
}

#cta a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

#cta a:hover {
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 0 5px white;
  background-color: #fff;
  color: rgba(9, 6, 44, 0.9);
  font-weight: bold;
}

/* CONTACT STYLES */

#contact {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px 0;
  padding: 10px 30px;
}

#contact .contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

#contact .contact-item i {
  font-size: 3rem;
  margin: 20px;
}

#contact .contact-item p {
  margin-top: 20px;
}

#contact .contact-item a {
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

#contact .contact-item a:hover {
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 0 5px white;
  background-color: #fff;
  color: rgba(9, 6, 44, 0.9);
  font-weight: bold;
}

/* PROJETS STYLES */

#projet-title {
  margin-top: 100px;
  margin-bottom: 50px;
  font-size: 2.4rem;
  color: #fff;

  overflow: hidden;
  text-align: center;
  font-family: "Montserrat";
}

.projet {
  margin: 80px 25px;
  padding: 20px;
  color: #fff;
  font-family: "Montserrat";

  border-radius: 10px;
  /* box-shadow: 0 0 10px white; */
}

.projet img {
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 0 10px white;
}

.projet-text {
  margin: 0 auto;
}

.projet-text h2 {
  text-decoration: underline;
}

#contact-title {
  font-size: 3rem;

  overflow: hidden;
  text-align: center;

  white-space: nowrap;
  margin: 0 auto;
}

/* CONTACT STYLES */

.contact-container {
  margin: 110px auto;
  color: #fff;
  font-family: "Montserrat";
  padding: 10px 30px;

  border-radius: 10px;
  box-shadow: 0 0 10px white;

  background-color: rgba(9, 6, 44, 0.5);
}

#form-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 0 10px;
  text-transform: uppercase;
}

#form-icons a:hover {
  font-size: 1.3rem;
  color: rgb(2, 89, 139);
}

#form-button {
  background-color: #fff;
  color: #44092f;
  font-size: 1.1rem;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  transition: 0.5s;
}

#form-button:hover {
  background-color: #44092f;
  color: #fff;
  box-shadow: 0 0 5px white;
}

#form-button:active {
  transform: scale(0.9);
  background-color: #09062c;
}

.success-message {
  color: green;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid white;
  box-shadow: 0 0 10px white;
  background-color: rgba(9, 6, 44, 0.9);
  border-radius: 5px;
  padding: 15px 5px;
  margin-top: 100px;
}

.error-message {
  color: red;
  font-size: 1.1rem;
}

/* LINKS STYLES */

.links a img {
  width: 50px;
  height: 50px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.links a img:hover {
  transform: scale(1.2);
}

.links a img:active {
  transform: scale(1.1);
}

/* MENTIONS LEGALES STYLES */

#mentions-legales {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px auto;
  padding: 10px 30px;
}

#mentions-legales h1 {
  font-size: 2.4rem;
  color: #fff;

  overflow: hidden;
  text-align: center;
  margin-bottom: 50px;
}

#mentions-legales h3 {
  font-size: 1.5rem;
  margin-top: 50px;
  text-decoration: underline;
}

/* CGV STYLES */

#cgv {
  color: #fff;
  font-family: "Montserrat";
  margin: 100px auto;
  padding: 10px 30px;
}

#cgv h1 {
  font-size: 2.4rem;
  color: #fff;

  overflow: hidden;
  text-align: center;
  margin-bottom: 50px;
}

#cgv h3 {
  font-size: 1.5rem;
  margin-top: 50px;
  text-decoration: underline;
  margin-bottom: 20px;
}

/* FOOTER STYLES */

footer {
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 8px 0;

  margin-top: auto;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  background-color: rgba(9, 6, 44, 0.5);
  color: #fff;
  font-family: "Montserrat";
  box-shadow: 0 0 2px white;
}

footer div {
  margin-top: 10px;
}

footer a {
  color: #fff !important;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 0 10px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

footer a::visited {
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
  font-weight: bold;
  transition: all 0.3s ease;
}

footer p {
  margin: 10px 0;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  /* Styles */
  /* footer class or footer id */
  footer {
    bottom: 0 !important;
  }
}

/* KEYFRAMES */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgb(255, 255, 255);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 6px white;
  }
  to {
    box-shadow: 0 0 12px white;
  }
}
