/*========IMPORT FONT========*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/*========CSS GENERAL========*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

header .home {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--whiteColor);
  background-color: var(--blackColor);
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--whiteColor);
  color: var(--blackColor);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea {
  border: none;
  outline: none;
}

/*========ROOT========*/

:root {
  --header-height: 3.5rem;

  /*========COULEUR========*/

  /* LIGHT MODE*/

  --firstColor: hsl(18, 95%, 55%);
  --secondColor: hsl(43, 95%, 52%);
  --firstGradient: linear-gradient(90deg, hsl(18, 95%, 55%), hsl(18, 77%, 55%));
  --titleColor: hsl(255, 12%, 24%);
  --textColor: hsl(2225, 12%, 24%);
  --textColorLight: rgb(173, 174, 168);
  --blackColor: hsl(0, 0%, 0%);
  --whiteColor: hsl(0, 0%, 100%);

  --shadowImg: drop-shadow(0 12px 14px hsla(0, 0%, 0%, 0.4));
  --shadowText: 0 2px 4px var(--firstColorDarken);
  --shadowCircle: 0 12px 214px hsla(0, 0%, 0%, 0.4);
  --shadowButton: 0 -4px 8px hsla(0, 0%, 0%, 0.3);
  --shadowCard: 0 2px 20px var(--firstColorDarken);
  --greyBorder: hsl(255, 6%, 90%);
  --blackBoarder: hsl(255, 10%, 20%);

  /*========FONT & TYPO========*/
  /*1rem = 16px*/

  --home-font: "Montserrat Alternates", system-ui;
  --body-font: "Montserrat", sans-serif;

  --biggest-font-size: 3.5rem;
  --bigger-font-size: 1.25rem;
  --big-font-size: 3rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== FONT WEIGHT ==========*/

  --font-light: 100;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*==========Z INDEX ==========*/

  --z-tooltip: 10;
  --z-fixed: 100;
}

/*DARK MODE*/

/*======== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 5rem;
    --bigger-font-size: 2rem;
    --h1-font-size: 4rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*==========CLASSE REUTULISABLE==========*/

.container {
  max-width: 1120px;
  margin: 0 1.5rem;
}

/*Masquer les éléments en débordement : */

main {
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__subtitle {
  color: var(--secondColor);
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--normal-font-size);
}

.section__title {
  color: var(--blackColor);
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

/*==========HEADER==========*/

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-tooltip);
}

.nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.nav__logo svg {
  display: inline-block;
  vertical-align: middle;
  width: 50px; /* Ajuste selon la taille que tu veux pour le SVG */
  height: auto;
}

.nav__logo span {
  vertical-align: middle;
}

.nav__logo,
.nav__link {
  color: var(--whiteColor);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
}

.nav__toggle {
  cursor: pointer;
  height: 32px;
  width: 32px;
  font-size: 1.5rem;
  color: var(--secondColor);
}

.nav__close {
  cursor: pointer;
  height: 32px;
  width: 32px;
  font-size: 1.5rem;
  color: var(--whiteColor);
}

/*ACTIVE LINK*/

.active-link {
  color: var(--firstColor) !important;
}

/*=====NAVBURGER=======*/

.nav__menu-active {
  right: 0;
}

/*SCROLLHEADER*/

.shadow-header {
  background-color: transparent;
}

.shadow-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 10%, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
}

/*=========Navigation pour mobile==========*/

@media screen and (max-width: 1080px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%; /*-100%*/
    background-color: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 80%;
    height: 100%;
    padding: 5rem 3.5rem 0;
    transition: 0.4s right;
    z-index: var(--z-fixed);
  }
}
.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  color: var(--secondColor);
  font-weight: var(--font-semi-bold);
  position: relative;
  display: inline-block;
}

.nav__link::before {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--firstColor);
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  transition: width 0.3s ease;
}

.nav__link:hover::before {
  color: var(--secondColor);
  width: 100%;
}

.nav__close {
  position: absolute;
  top: 0.8rem;
  right: 1.6rem;
}

/*=====NAVBURGER ACTIVE=======*/

.nav__menu-active {
  right: 0;
}

/*=====BUTTON=======*/

.button__box {
  display: inline-flex;
  background: var(--firstGradient);
  color: var(--whiteColor);
  font-family: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow 0.4s;
}

.button__box:hover {
  box-shadow: 1px 8px 42px hsla(18, 95%, 55%, 0.3);
  color: var(--whiteColor);
}

.button__link {
  color: var(--firstColor);
  font-weight: var(--font-semi-bold);
}

/*=====HOME=======*/

.home__swipper {
  position: relative;
  z-index: var(--z-tooltip);
}

.home__article {
  position: relative;
  padding-top: 13rem;
  widows: 100%;
  height: 100vh;
}

.home__img,
.home__shadow,
.home__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home__img {
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.home__shadow {
  background-color: var(--shadowImg);
  z-index: -1;
}

.home__data {
  text-align: center;
}

.home__subtitle,
.home__button {
  font-size: var(--h2-font-size);
  font-weight: var(--small-font-size);
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  color: var(--whiteColor);
  line-height: 1;
  margin: 1rem 0 1rem 0;
}

.home__subtitle {
  color: var(--whiteColor);
}

.home__button {
  color: var(--whiteColor);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.3rem;
}

.home__button i {
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.home__button:hover i {
  transform: translateX(0.2rem);
  color: var(--secondColor);
}

.home__social {
  position: absolute;
  display: grid;
  left: 1.5rem;
  bottom: 4rem;
  z-index: var(--z-fixed);
  row-gap: 1.5rem;
}

.home__social a {
  color: var(--whiteColor);
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.home__social a:hover {
  transform: translateX(0.25rem);
}

.home__social a:hover {
  color: var(--firstColor);
}

.swiper1 {
  height: 100vh;
}

.swiper-pagination {
  width: initial;
  height: max-content;
  top: 6rem;
  left: initial;
  right: 4rem;
  font-size: var(--big-font-size);
  font-weight: var(--font-semi-bold);
  display: flex;
  column-gap: 0.25rem;
  align-items: center;
  color: var(--whiteColor);
  z-index: 1;
}

.swiper-pagination-total {
  font-size: var(--normal-font-size);
  color: var(--whiteColor);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--whiteColor);
  font-size: var(--big-font-size);
  position: initial;
  width: initial;
  height: initial;
  outline: none;
}

.swiper-navigation {
  position: absolute;
  z-index: var(--z-tooltip);
  height: max-content;
  bottom: 4rem;
  right: 1.5rem;
  display: flex;
  column-gap: 2rem;
}

/*=====STORY=======*/

.story {
  position: relative;
  background-color: var(--blackColor);
}

.story__container {
  position: relative;
  row-gap: 3rem;
  padding-block: 2.5rem 6rem;
}

.story__content {
  row-gap: 2.5rem;
}

.story__data {
  text-align: center;
}

.story__title {
  color: var(--whiteColor);
  font-weight: var(--font-bold);
  font-size: var(--big-font-size);
  margin-bottom: 1rem;
}

.story__description {
  color: var(--textColorLight);
  margin-bottom: 2.5rem;
}

.story__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.story__info {
  display: flex;
  justify-content: center;
  column-gap: 4.5rem;
  margin-bottom: 2.5rem;
}

.story__info-title {
  color: var(--secondColor);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
}

.story__info-description {
  font-size: var(--small-font-size);
  color: var(--whiteColor);
}

.story__img {
  position: relative;
  justify-self: center;
}

.story__img-1 {
  width: 250px;
  margin-left: 3.5rem;
}

.story__img-2 {
  width: 150px;
  border: 5px solid var(--blackColor);
  position: absolute;
  left: 0;
  bottom: -3.5rem;
}

.story__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*=====ABOUT=======*/

.about__container {
  row-gap: 8rem;
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 1.5rem;
  color: var(--textColor);
}

.about__list {
  text-align: initial;
  grid-template-columns: repeat(2, 130px);
  color: var(--textColor);
  font-size: var(--h3-font-size);
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 2.5rem;
}

.about__item {
  column-gap: 0.5rem;
  display: flex;
  color: var(--titleColor);
}

.about__item i {
  color: var(--firstColor);
  font-size: 1.25rem;
}

.about__images {
  position: relative;
  justify-self: center;
}

.about__img-1 {
  width: 200px;
  border: 5px solid var(--whiteColor);
  position: absolute;
  right: 2.2rem;
  top: -5rem;
}

.about__img-2 {
  width: 350px;
  margin-right: 2.5rem;
}

/*=====SERVICE=======*/

.service {
  position: relative;
}

.service__container {
  position: relative;
  row-gap: 3rem;
  z-index: 2;
}

.service__data {
  text-align: center;
}

.service__description {
  margin-bottom: 2rem;
}

.service__card {
  width: 260px !important;
  background-color: var(--whiteColor);
  border: 2px solid var(--greyBorder);
  padding: 2rem 1rem 3.5rem;
  transition: border-color 0.4s;
  z-index: 2;
  position: relative;
}

.service__card:hover {
  border-color: var(--firstColor);
}

.service__icon {
  width: 70px;
  height: 70px;
  background-color: var(--blackColor);
  color: var(--whiteColor);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.service__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

/*SWIPPERSERVICE*/

.swiper {
  margin-inline: initial;
  padding-bottom: 4rem;
}

.swiper-button-prev-service::after,
.swiper-button-next-service::after {
  content: "";
}

.swiper-button-prev-service,
.swiper-button-next-service {
  top: 96%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-color: var(--greyBorder);
  box-shadow: 0 2px 8px hsla(255, 8%, 4%, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--titleColor);
  position: absolute;
  z-index: var(--z-tooltip);
}
.swiper-button-prev-service {
  left: calc(50% - 5rem);
}

.swiper-button-next-service {
  right: calc(50% - 5rem);
}

.swiper-button-prev-service:hover,
.swiper-button-next-service:hover {
  background-color: var(--firstColor);
  transition: ease-in-out 0.4s;
}

.service__shape {
  position: absolute;
  background-color: var(--blackColor);
  height: 245px;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: -1;
}

/*=========PROJECT==========*/

.project {
  position: relative;
  background-color: var(--blackColor);
}

.project .section__title {
  color: var(--whiteColor);
}

.project__container {
  padding-block: 1.5rem 3rem;
}

.project__card {
  background-color: var(--whiteColor);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: boarder_color 0.4s;
}

.project__card:hover {
  border: 2px solid var(--firstColor);
}

.project__data {
  padding: 1.5rem 1rem 3rem;
}

.project__title {
  font-size: var(--h2-font-size);
  margin-block: 0.5rem;
}

.project__date {
  display: block;
  margin-bottom: 1rem;
  font-weight: var(--medium);
  color: var(--titleColor);
}

.project__data span {
  color: var(--textColor);
}

/*=========CONTACT==========*/

.contact__container {
  row-gap: 3rem;
  padding-block: 1.5rem 3rem;
}

.contact__img {
  width: 320px;
  justify-self: center;
}

.contact__data {
  grid-template-columns: 230px;
  justify-content: center;
  row-gap: 1.5rem;
}

.contact__card {
  background-color: var(--whiteColor);
  border: 2px solid var(--greyBorder);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: border-color 0.4s;
}

.contact__card:hover {
  border-color: var(--firstColor);
}

.contact__icon {
  height: 48px;
  width: 48px;
  background-color: var(--blackColor);
  color: var(--whiteColor);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.contact__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.contact__info {
  font-size: normal;
}

.contact__social {
  display: flex;
  column-gap: 1rem;
  justify-content: center;
}

.contact__social-link {
  font-size: 1.5rem;
  color: var(--firstColor);
  transition: transform 0.4s;
}

.contact__social-link:hover {
  transform: translateY(-0.25rem);
}

/*=========FOOTER==========*/

.footer__logo svg {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.footer__logo span {
  vertical-align: middle;
  color: var(--whiteColor);
}

.footer {
  background-color: var(--blackColor);
  color: var(--textColorLight);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  row-gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--blackBoarder);
}

.footer__description {
  padding-block: 1rem;
}

.footer__email,
.footer__info {
  font-size: normal;
}

.footer__content {
  grid-template-columns: repeat(2, auto);
  gap: 4rem 3rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__links-list,
.footer__list-link {
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--textColorLight);
  transition: color 0.4s;
}

.footer__link:hover {
  color: var(--firstColor);
}

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  font-size: 1rem;
  color: var(--firstColor);
  transition: transform 0.4s;
}

.footer__social-link:hover {
  transform: translateY(-0.25rem);
}

.footer__copy {
  text-align: center;
  display: block;
  font-size: var(--smaller-font-size);
  margin-top: 3rem;
}

/*=========SCROLLBAR==========*/

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(255, 5%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: var(--secondColor);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--firstColor);
}

/*=========SCROOLUP==========*/

.scrollup {
  position: fixed;
  right: 2rem;
  bottom: -50%;
  border: 2px solid var(--whiteColor);
  height: 32px;
  width: 32px;
  border-radius: 10%;
  background-color: var(--firstColor);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-fixed);
  rotate: -90deg;
  box-shadow: inset var(--shadowButton);
}

.scrollup i {
  color: var(--blackColor);
  font-size: 1rem;
  transition: transform.4s;
}

.scrollup i:hover {
  transform: scale(1.3);
}

.show-scroll {
  bottom: 2rem;
}

/*=========BREAKPOINT==========*/

/*SMALL DEVICE*/

@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .home__title {
    font-size: 2rem;
    margin-inline: auto;
  }

  .home__social {
    row-gap: 0.5rem;
  }

  .home__social a {
    font-size: var(--normal-font-size);
  }

  .home__subtitle,
  .home__button {
    font-size: initial;
  }

  .swiper-pagination {
    font-size: var(--h1-font-size);
  }

  .section__title {
    font-size: var(--h2-font-size);
  }

  .story__title {
    font-size: 1.75rem;
  }

  .story__description {
    font-size: var(--small-font-size);
  }

  .button__box {
    padding: 0.5rem 1rem;
  }

  .story__buttons {
    flex-direction: column;
  }

  .story__info-title {
    font-size: 2rem;
  }

  .story__img-1 {
    width: 200px;
  }

  .about__description {
    font-size: var(--small-font-size);
  }

  .about__list {
    grid-template-columns: 200px;
    gap: 1rem;
  }

  .about__img-1 {
    width: 150px;
    left: 5rem;
  }

  .about__img-2 {
    width: 200px;
  }

  .service__description {
    font-size: var(--small-font-size);
  }

  .service__card {
    width: 310px !important;
  }

  .footer__content {
    grid-template-columns: repeat(1, max-content);
  }
}

/*MEDIUM DEVICE*/

@media screen and (min-width: 540px) {
  .story__container,
  .about__container,
  .service__container,
  .project__container,
  .contact__container {
    grid-template-columns: 360px;
    justify-content: center;
  }

  .footer__content {
    grid-template-columns: repeat(3, auto);
  }
}
@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }

  .story__content,
  .about__container,
  .service__container {
    grid-template-columns: 700px;
    justify-content: center;
  }

  .project__container {
    grid-template-columns: repeat(2, 360px);
    justify-content: center;
  }

  .story__img-1 {
    width: 350px;
    left: 5rem;
  }

  .story__img-2 {
    width: 250px;
  }

  .about__list {
    column-gap: 3rem;
    grid-template-columns: repeat(2, 230px);
  }

  .contact__data {
    grid-template-columns: repeat(3, 200px);
  }

  .footer__container {
    grid-template-columns: repeat(4, 250px);
    justify-content: space-between;
  }
}

@media screen and (min-width: 1080px) {
  .section {
    padding-block: 7rem 2rem;
  }

  .container {
    margin: 0 auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 1rem;
  }

  .nav__link {
    color: var(--whiteColor);
  }

  .active-link::before {
    width: 100%;
  }
}

/*LARGE DEVICE min 1150px*/
@media screen and (min-width: 1150px) {
  .home__data {
    text-align: start;
    margin-inline: 5rem 0;
  }

  .home__title {
    margin-bottom: 1.5rem;
  }

  .home__subtitle {
    margin-bottom: 1rem;
  }

  .home__content {
    max-width: 1120px;
    margin: 0 auto;
    left: 0;
    right: 0;
  }

  .home__social {
    left: 0;
    bottom: 1rem;
  }

  .swiper-pagination {
    top: 10rem;
  }

  .swiper-pagination-total {
    font-size: 1.5rem;
  }

  .swiper-navigation {
    right: 0;
    column-gap: 1.5rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    font-size: 3rem;
  }

  .story__container {
    grid-template-columns: 475px 550px;
    column-gap: 5rem;
    align-items: flex-start;
    padding-top: 5.5rem;
  }

  .story__content {
    grid-template-columns: 475px;
    row-gap: 4.5rem;
  }

  .story__title {
    font-size: 4rem;
  }

  .story__data {
    text-align: start;
  }

  .story__description {
    margin-bottom: 3.5rem;
  }

  .story__buttons {
    justify-content: start;
    column-gap: 3rem;
  }

  .story__info {
    justify-content: initial;
    column-gap: 5.5rem;
  }

  .story__info-title {
    font-size: 5rem;
  }

  .story__info-description {
    font-size: var(--h2-font-size);
  }

  .story__img-1 {
    width: 650px;
    margin-left: -1rem;
  }

  .story__img-2 {
    width: 450px;
    border: 10px solid var(--blackColor);
    top: 20rem;
    left: -5rem;
  }

  .about__container {
    grid-template-columns: 475px 605px;
    gap: 5rem;
  }
  .about__data {
    order: 2;
  }

  .about__images {
    order: 1;
  }

  .about__data {
    text-align: end;
    padding-right: 3rem;
  }

  .section__title {
    font-size: var(--biggest-font-size);
  }

  .about .section__title {
    text-align: end;
    transform: translateY(-2rem);
  }

  .about .section__subtitle {
    text-align: end;
  }

  .about .section__subtitle {
    transform: translateY(-3rem);
  }

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

  .about__list {
    grid-template-columns: repeat(2, 150px);
    justify-content: space-evenly;
    margin-top: 4rem;
  }

  .about__img-1 {
    width: 300px;
    border: 10px solid var(--whiteColor);
    top: 5rem;
    z-index: 1;
    right: -5rem;
  }

  .about__img-2 {
    width: 650px;
    margin-right: 2.5rem;
    position: relative;
    top: 20rem;
    z-index: 0;
  }

  .service__container {
    grid-template-columns: initial;
    gap: 5rem;
  }

  .service__swipper {
    max-width: 1100px;
  }

  .service__card {
    width: 350px !important;
    border-width: 3px;
    padding: 3.5rem 2rem 6rem;
  }

  .swiper-button-prev-service,
  .swiper-button-next-service {
    margin-top: 3rem;
  }

  .service__shape {
    height: 345px;
  }

  .project .section__subtitle {
    margin-bottom: 3rem;
  }

  .project__container {
    grid-template-columns: repeat(3, 1fr);
    padding-block: 5rem 4rem;
  }

  .project__card {
    border-width: 5px;
  }

  .contact .section__subtitle {
    display: flex;
    justify-content: start;
  }

  .contact .section__title {
    display: flex;
    justify-content: start;
    font-size: var(--big-font-size);
  }

  .contact__container {
    grid-template-columns: 450px 600px;
    column-gap: 3rem;
    align-items: center;
    justify-content: initial;
  }

  .contact__data {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__card {
    width: 300px;
  }

  .contact__img {
    width: 500px;
  }

  .footer__container {
    grid-template-columns: 450px 600px;
    padding-block: 4rem;
  }

  .footer__content {
    column-gap: 2rem;
  }

  .footer__info {
    margin-bottom: 2rem;
  }

  .footer__title {
    margin-bottom: 3rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }
  .footer__description {
    margin-top: 2rem;
  }

  .footer__list,
  .footer__list {
    row-gap: 1rem;
  }

  .scrollup {
    right: 5rem;
  }
}

/*MEDIUM DEVICE min 800px*/
@media screen and (min-width: 800px) and (min-height: 800px) {
  .home__article {
    padding-top: 17rem;
  }

  .swiper-pagination {
    top: 13rem;
  }
}

/*BIg DEVICE 2048px*/
@media screen and (min-width: 2048px) {
  .container,
  .home__content {
    max-width: 1550px;
  }

  .home__swiper,
  .home__content,
  .home__img,
  .home__shadow {
    max-height: 1000px;
  }
}
