*,
::before,
::after {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

/* Global Variables */

:root {
  --primary_color: #ef3838;
  --secondary_color: #000000;
  --tertiary_color: #faa223;
  --light_grey: #f9f9f9;
  --dark_grey: #3f3f3f;
  --medium_grey: #cecece;
  --light_color: #fff;

  --primary-font: "Inter", sans-serif;
  --secondary-font: "Oswald", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  @media only screen and (max-width: 650px) {
    &.open {
      overflow: hidden;
      nav > .navbar {
        display: flex;
        & .fa-times {
          display: block;
          position: absolute;
          top: 40px;
          right: 30px;
        }
      }

      & .profil-btn,
      & .logout-btn {
        display: block;

        & a {
          > i {
            display: none;
          }
          > span {
            display: block;
          }
        }
      }
    }
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* General HEADINGS */
h1,
h2,
h3,
h4 {
  font-family: var(--secondary-font);
  text-transform: uppercase;
  text-wrap: balance;
}

/* General IMAGES */
.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* General INPUTS styles */

main input:not(.checkbox-input),
textarea,
.select-style select {
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 10px auto;
  font: 14px var(--primary-font);
  font-weight: 400;
  color: var(--dark_grey);
  appearance: none;
  outline: none;
  &::placeholder {
    color: var(--dark_grey);
  }
  &:focus,
  &:hover,
  &:active {
    outline: 1px inset rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 1px 3px rgba(191, 191, 191, 0.5);
  }
}

textarea {
  padding: 15px 13px;
  height: 200px;
  resize: none;
}

input:not(.checkbox-input) {
  height: 45px;
}

.select-style {
  position: relative;
  & i {
    position: absolute;
    right: 15px;
    top: 25px;
  }
}

.select-style select {
  background-color: var(--light_color);
  padding: 13px 10px;
  text-transform: capitalize;
  cursor: pointer;
}

input[type="file"] {
  display: none;
}

.title-image {
  display: inline-block;
  padding: 20px;
  cursor: pointer;
  width: 100%;
  margin: 10px 0px;
  text-align: center;
  background-color: var(--secondary_color);
  font: 16px var(--secondary-font);
  color: #fff;
  &:hover {
    background-color: var(--primary_color);
  }
}

/******************************
       DEFAULT BUTTON
 ****************************/
.button {
  background-color: var(--tertiary_color);
  color: var(--light_color);
  text-transform: uppercase;
  border: none;
  padding: 10px 15px;
  margin: auto;
  display: block;
  cursor: pointer;
  &:hover {
    background-color: var(--secondary_color);
  }
}

p[class^="no-adoptions"] {
  text-align: center;
  font: 20px var(--primary-font);
  color: var(--tertiary_color);
  margin: 5% auto;
  text-transform: uppercase;
  font-style: italic;
  border: 1px dotted var(--tertiary_color);
  padding: 30px;
}

/******************************
       DISPLAY MODAL 
 ****************************/
.modal {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background-color: var(--light_color);
  color: var(--primary_color);
  margin: auto;
  padding: 4% 6%;
  z-index: 1000;
  width: min(90%, 500px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: bounce 2s ease-in-out;
  box-shadow: 0px 0px 1px 3px rgba(191, 191, 191, 0.5);
  p {
    font: 25px var(--secondary-font);
    text-align: center;
  }
  ul li {
    font: 15px var(--secondary-font);
    color: var(--dark_grey);
  }
}

#modal-container {
  display: none;
}

@keyframes bounce {
  0% {
    opacity: 0;
    visibility: visible;
  }
  25% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/***************************
        DROPDOWN FILTER
 *****************************/

.filter {
  position: relative;
  width: 150px;
  text-align: right;
  margin-top: 15px;
  padding: 10px;
  left: calc(100% - 150px);
  background-color: var(--medium_grey);
  cursor: pointer;

  > .select-button {
    background-color: transparent;
    width: 100%;
    display: flex;
    border: none;
    justify-content: space-between;
    cursor: pointer;
    color: var(--dark_grey);
    &:hover,
    &:active,
    a:focus {
      outline: none;
      color: var(--secondary-color);
    }
  }

  .select-dropdown {
    position: absolute;
    z-index: 999;
    width: 100%;
    display: none;
    padding: 10px 0px;
    left: 0px;
    text-align: left;
    background-color: #ededed;
    box-shadow: 0px 7px 5px 2px rgba(0, 0, 0, 0.25);
    > li {
      font: 12px var(--primary-font);
      display: block;
      > label {
        cursor: pointer;
        display: block;
        padding: 7px 20px;
      }
      > input {
        display: none;
        &:checked + label {
          color: red;
        }
      }
      &:hover {
        background-color: var(--light_color);
      }
    }
    &.open-options {
      display: block;
    }
  }
}

/******************************
            CARDS
 ****************************/
.container-card {
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  .card {
    position: relative;
    justify-content: space-between;
    margin: 20px auto;
    > a {
      color: var(--secondary_color);
      .img-container {
        overflow: hidden;
        img {
          transition: all 0.5s ease-out;
        }
      }
      .top-content {
        padding: 10px 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        > h3 {
          color: var(--primary_color);
        }
        > i {
          font-size: 25px;
        }
      }
      .description {
        padding: 10px 5px;
        > p {
          font: 14px var(--primary-font);
          font-weight: 300;
          overflow: hidden;
          box-sizing: content-box;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
        }
      }
    }
    &:hover {
      .img-container img {
        transition: all 0.5s ease-out;
        transform: scale(1.1);
      }
    }
  }

  @media only screen and (min-width: 561px) {
    & .img-container {
      height: 300px;
    }
  }
}

/******************************
        EDIT FORM 
 ****************************/
.edit-form {
  background-color: var(--light_grey);
  padding: 50px;

  > h4 {
    text-align: center;
    font-size: 25px;
    margin: 10px 0px;
    text-transform: uppercase;
  }
  > form {
    max-width: 1024px;
    margin: 30px auto;

    .img-container {
      width: min(300px, 100%);
      height: 300px;
      margin: 0px auto;
      & img {
        box-shadow: 5px 2px 9px 0px rgba(191, 191, 191, 0.5);
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .button {
      margin-top: 20px;
      font: 22px var(--secondary-font);
    }
  }
}

/******************************
        EDIT BUTTONS 
 ****************************/
.edit-part {
  > a {
    display: block;
    border: none;
    margin-top: 10px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    text-align: center;
    &.edit-btn {
      background-color: var(--medium_grey);
      color: var(--secondary-color);
    }
    &.delete-btn {
      color: var(--light_color);
      background-color: var(--primary_color);
    }
    > i {
      line-height: 30px;
    }
    &:hover {
      color: var(--light_color);
      background-color: var(--secondary_color);
    }
  }
  &.hr-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    > i {
      font-size: 20px;
    }
    > a {
      width: auto;
      padding: 5px 10px;
      height: auto;
    }
  }
}

/******************************
       DONATION'S PART
 ****************************/
.donation-part {
  padding: 30px 15px;
  max-width: 1024px;
  text-align: center;
  margin: 0px auto;
  border-top: 1px solid var(--secondary_color);
  p {
    font: 16px var(--primary_color);
  }
}
.btn {
  background-color: var(--primary_color);
  color: var(--light_color);
  font: 17px var(--secondary-font);
  text-transform: uppercase;
  padding: 10px;
  margin: 15px auto;
  display: block;
  max-width: 150px;
  &:hover {
    background-color: var(--secondary_color);
  }
}

/********************
        HEADER 
 ******************/

header {
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light_grey);
  box-shadow: 2px 5px 9px 0px rgba(0, 0, 0, 0.2);
  .brand {
    max-width: 100px;
    .logo {
      width: 100%;
    }
    @media only screen and (max-width: 650px) {
      max-width: 70px;
    }
  }
  & nav {
    .navbar {
      > li {
        padding: 5px 8px;
        &.list {
          &.logout-btn i {
            font-size: 20px;
          }
          @media only screen and (min-width: 651px) {
            &:not(.dropdown-btn) span {
              display: none;
            }
          }
          &.profil-btn {
            & i {
              color: var(--primary_color);
              font-size: 25px;
              &:hover,
              &:active {
                color: var(--secondary_color);
              }
            }
          }
          & a,
          & span {
            font: 1.1rem var(--secondary-font);
            font-weight: 300;
            color: var(--secondary_color);
            i {
              padding-left: 3px;
              padding-top: 2px;
            }
            &:hover,
            &:active {
              color: var(--primary_color);
            }
            @media only screen and (max-width: 650px) {
              font-size: 20px;
            }
          }
          &.dropdown-btn {
            position: relative;
            cursor: pointer;

            .dropdown-menu {
              display: none;
              > .dropdown-list > a {
                display: block;
              }
              @media only screen and (min-width: 651px) {
                position: absolute;
                display: none;
                z-index: 100;
                min-width: 140px;
                padding: 10px;
                margin-top: 5px;
                background-color: #f1f1f1;
                border-radius: 5px;
                box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);

                .dropdown-list {
                  padding: 10px 5px 0px 5px;
                  > a {
                    font-size: 1rem;
                  }
                }
              }
              @media only screen and (max-width: 650px) {
                .dropdown-list {
                  padding-top: 12px;
                  > a {
                    font-size: 18px;
                  }
                }
              }
              &.open {
                display: block;
              }
            }
          }
          @media only screen and (min-width: 651px) {
            display: inline-block;
          }
        }
      }

      @media only screen and (max-width: 650px) {
        display: none;
        position: absolute;
        z-index: 100;
        width: 100%;
        top: 0px;
        bottom: 0px;
        left: 0px;
        padding-top: 150px;
        margin: auto 0px;
        text-align: center;
        gap: 15px;
        flex-direction: column;
        background-color: var(--light_grey);
      }
    }
    .nav-btn {
      font-size: 35px;
      cursor: pointer;
      .fa-times {
        display: none;
      }
      &:hover {
        color: var(--primary_color);
      }
      @media only screen and (min-width: 651px) {
        display: none;
      }
    }
  }
}

/***************************
        LOGIN PAGE 
 *************************/
.login-page {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  .container {
    width: 90%;
    background-color: var(--light_grey);
    box-shadow: 2px 5px 9px 0px rgba(0, 0, 0, 0.2);
    margin: auto;
    padding: 30px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    & h2 {
      font-size: 30px;
      font-weight: 600;
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 25px;
    }
    > form {
      max-width: 355px;
      margin: auto;

      > button {
        font-family: var(--primary-font);
        font-size: 24px;
        margin-top: 15px;
        width: 100%;
      }
    }
    @media only screen and (min-width: 651px) {
      max-width: 500px;
    }
  }
}

/***************************
        JUMBOTRON 
 *************************/

.jumbotron {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 30px 0px;
  .container {
    background-color: rgba(249, 249, 249, 0.8);
    margin: auto;
    padding: 30px;
    > .content {
      width: 90%;
      margin: auto;
      > h1 {
        font-family: var(--secondary-font);
        text-align: center;
        font-size: 30px;
        font-weight: 500;
        margin-bottom: 30px;
        @media screen and (max-width: 800px) {
          font-size: 25px;
          text-align: center;
        }
      }
      > p {
        font-size: 14px;
        font-family: var(--primary-font);
        margin-bottom: 30px;
        line-height: 22px;
        @media screen and (max-width: 800px) {
          font-size: 14px;
          text-align: center;
        }
      }
      > .button {
        font-family: var(--primary-font);
        text-align: center;
        font-size: 16px;
        width: 200px;
        padding: 20px 10px;
        font-weight: 300;
      }
    }
  }

  @media only screen and (min-width: 650px) {
    & .container {
      width: 80%;
      max-width: 700px;
    }
  }
  @media only screen and (max-width: 649px) {
    & .container {
      height: 100%;
      display: flex;
    }
  }
}

/***************************
        HOME PAGE 
 *************************/
.home-page {
  .jumbotron {
    background-image: url("../uploads/jumbotron-accueil.jpg");
  }
}
.pinned-event {
  background-color: #fafafa;
  padding: 15px;
  border-bottom: 1px solid rgba(191, 191, 191, 0.5);
  .container-card {
    max-width: 1024px;
    margin: 15px auto;
    h2 {
      text-align: center;
      color: var(--tertiary_color);
      font-size: 2rem;
      margin: 15px auto;
    }
    h3 {
      text-align: center;
      color: var(--secondary_color);
      font-size: 1.5rem;
      margin: 15px auto;
    }
    .img-container {
      overflow: hidden;
      height: 500px;
      img {
        transition: all 0.3s ease-in-out;
      }
    }
    span {
      display: block;
      font-size: 1.3rem;
      padding: 15px 10px;
      text-align: center;
      color: var(--secondary_color);
      background-color: var(--tertiary_color);
      text-transform: uppercase;
      font-family: var(--secondary-font);
      &:hover {
        background-color: var(--secondary_color);
        color: var(--light_color);
      }
    }
  }
}
.article-container {
  background: var(--light_grey);
  padding: 50px;
  .container {
    max-width: 1200px;
    margin: 0 auto;
    p {
      font-family: var(--primary-font);
      font-weight: 400;
      font-size: 16px;
      margin-bottom: 20px;
      line-height: 1.5;
      text-align: center;
    }

    @media screen and (min-width: 1024px) {
      display: flex;
      align-items: center;
      > .right {
        width: calc(60% - 30px);
        padding-right: 30px;
        p {
          text-align: justify;
        }
      }
      > .left {
        width: 40%;
      }
    }
  }
}
.adoptions {
  max-width: 1024px;
  padding: 30px 15px;
  margin: auto;
  > h2 {
    text-align: center;
    text-transform: uppercase;
  }
  .edit-part {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 100;
  }

  & .container-card {
    @media only screen and (min-width: 744px) {
      display: flex;
      gap: 3%;
      .card {
        width: 30%;
      }
    }
    @media only screen and (min-width: 561px) and (max-width: 743px) {
      display: flex;
      gap: 3%;
      .card {
        width: 47%;
      }
    }
  }
}
.presentation {
  width: 100%;
  text-align: center;
  background-color: var(--light_grey);
  box-shadow: 5px 2px 9px 0px rgba(0, 0, 0, 0.2);
  padding: 40px 15px 60px 15px;
  > h3 {
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--primary_color);
  }
}
.news {
  padding: 30px;
    border:  solid rgba(0, 0, 0, 0.2);
    border-width: 1px 0;

  article {
    max-width: 1200px;
    margin: 0 auto;
    h2,
    h3 {
      text-align: center;
    }
    h3 {
      color: var(--primary_color);
      margin: 0 auto 20px auto;
    }
    p {
      text-align: justify;
      font-size: 18px;
      line-height: 24px;
      margin-bottom: 20px;
    }
    .center {
      text-align: center;
      font-style: italic;
      font-weight: 700;
    }
    img {
      width: 100%;
      padding: 20px 20px 40px 20px;
    }
  }
}
.missions {
  margin: 5vh auto;
  max-width: 1024px;
  > h2 {
    text-align: center;
  }
  & .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0px 4px;
    > .column {
      flex: 50%;
      max-width: 50%;
      padding: 0px 4px;
      & .img-container {
        position: relative;
        padding: 0px 8px;
        margin: 30px auto;
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        > .title {
          position: absolute;
          font: 18px var(--secondary-font);
          text-transform: uppercase;
          padding: 15px 0px;
          background-color: rgba(0, 0, 0, 0.85);
          color: var(--tertiary_color);
          width: 50%;
          max-width: 250px;
          border-radius: 10px;
        }
        > .content {
          position: absolute;
          z-index: 999;
          margin-top: 100%;
          font: 20px var(--primary-font);
          padding: 15px 30px;
          color: var(--secondary_color);
          transition: 0.5s all linear;
        }
        > img {
          width: 100%;
        }

        &:hover {
          &:after {
            position: absolute;
            z-index: 100;
            content: "";
            width: 100%;
            height: 100%;
            background-color: rgba(249, 249, 249, 0.6);
          }
          > .title {
            opacity: 0;
          }
          > .content {
            margin-top: 0px;
          }
        }
      }
      @media (max-width: 800px) {
        flex: 50%;
        max-width: 50%;
        text-align: justify;
      }
      @media (max-width: 600px) {
        flex: 100%;
        max-width: 100%;
        text-align: justify;
      }
    }
  }
}

/**********************
    ADOPTIONS PAGE 
 ********************/
.adoptions-page {
  .jumbotron {
    background-image: url("../uploads/jumbotron-adoptions.jpg");
    .container {
      > p {
        font-family: var(--primary-font);
      }
      > .button {
        background-color: var(--secondary_color);
        &:hover,
        &:focus {
          background-color: var(--tertiary_color);
        }
      }
    }
  }
  .adoptions {
    h2 {
      border-bottom: 1px solid var(--secondary_color);
      margin-bottom: 15px;
      text-transform: uppercase;
      font-size: 25px;
      font-weight: 600;
    }
    .text-content {
      margin: 15px 0px;
      text-align: justify;
      font-size: 0.9rem;
      line-height: 1.3rem;
      font-family: var(--primary-font);
    }
    .container-card {
      margin-bottom: 40px;
    }
    .filter {
      margin: 25px 0px;
    }
  }
}

/*********************
     MISSIONS PAGE 
 ***********************/
.missions-page {
  overflow-x: hidden;
  > main {
    .jumbotron {
      background-image: url("../uploads/jumbotron-missions.jpg");
      .container {
        padding: 50px 30px;
        max-width: 950px;
        text-align: center;
        & h2 {
          color: var(--primary_color);
          margin-bottom: 30px;
        }
      }
    }
    .container {
      padding: 15px 30px;
      overflow: hidden;
      & h1 {
        text-align: center;
        font-size: 30px;
        font-weight: 600;
        margin: 15px 0px;
      }

      & section {
        margin: 30px auto;
        align-items: center;
        & h2 {
          color: var(--tertiary_color);
          font-size: 25px;
          margin-bottom: 10px;
        }

        @media (min-width: 800px) {
          display: flex;
          justify-content: space-between;
          &:nth-child(odd) {
            flex-direction: row-reverse;
          }
          gap: 5%;
          .img-part {
            width: 60%;
          }
        }
        @media (max-width: 799px) {
          & h2 {
            text-align: center;
          }
          .img-part {
            width: 100%;
            height: 300px;
            margin: 15px auto;
          }
        }
      }
    }
  }
}

/*************************
        EVENTS PAGE 
 *************************/
.evenements-page {
  > main {
    .container {
      box-shadow: 5px 2px 9px 0px rgba(0, 0, 0, 0.2);
    }
    & .events-title {
      display: block;
      padding: 25px 0px;
      text-align: center;
      color: var(--light_color);
      background-color: var(--secondary_color);
      font-size: 30px;
      font-weight: 600;
      text-transform: uppercase;
    }
    .container-card {
      padding: 30px;
      .edit-part {
        display: flex;
        justify-content: flex-end;
        margin: 10px 0px;
        gap: 15px;
      }
      & .title {
        text-align: center;
        color: var(--tertiary_color);
        font-size: 1.5rem;
        margin-bottom: 15px;
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
      }
      .img-container {
        height: 520px;
      }
      & a {
        .description {
          text-align: center;
          p {
            font: 15px var(--primary-font);
          }
        }
      }

      @media only screen and (min-width: 744px) {
        display: flex;
        gap: 5%;
        .card {
          width: 45%;
        }
      }
    }
  }
}

/*******************************
    SINGLE ANIMAL PAGE 
 *****************************/
.single-page {
  > main {
    margin: 10px auto;
    .card {
      margin: 50px auto;
      padding: 15px;
      > .img-container {
        width: 100%;
        margin-bottom: 15px;
        display: block;
        @media screen and (max-width: 743px) {
          height: 450px;
        }
      }
      .left-content {
        font: 0.9rem var(--primary-font);

        .content {
          margin-bottom: 20px;
          padding-bottom: 15px;
          border-bottom: 1px solid var(--dark_grey);
          font-size: 1rem;
          .title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            > i {
              font-size: 25px;
            }
            > h3 {
              font-size: 25px;
              color: var(--primary_color);
              font-weight: 600;
            }
          }
        }
        p {
          line-height: 1.3rem;
          font-size: 0.85rem;
        }
        > .contact-info {
          margin: 10px auto;

          i {
            padding: 0 5px;
          }
          a {
            color: var(--primary_color);
            font: 1.1rem var(--secondary-font);

            &:hover {
              color: var(--secondary_color);
            }
          }
        }
      }
    }
    .contact {
      padding: 15px;
      margin: 50px auto;
      border-top: 1px solid var(--secondary_color);

      > h2 {
        font-size: 25px;
        margin: 15px 0px;
        font-weight: 500;
      }
      > p {
        font: 0.9rem var(--primary-font);
        line-height: 1.4rem;
        margin-bottom: 5px;
      }
      > h4 {
        margin: 15px 0px;
        font-size: 18px;
        font-weight: 300;
      }
      > .button {
        font: 20px var(--secondary-font);
        max-width: 200px;
      }
    }

    /*****************************************************
        MEDIA QUERIES - DISPLAY SINGLE PAGE
  *****************************************************/
    @media (min-width: 744px) {
      .card {
        max-width: 1024px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5%;
        .img-container {
          width: 45%;
        }
        .left-content {
          width: 60%;
          .content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
          }
        }
      }
    }
  }
}

.checkbox-input {
  display: block;
  margin: 15px auto;
}
.checkbox {
  margin: 25px auto;
  text-align: right;
  display: block;
  .checkbox-input {
    display: none;
    &:checked + label {
      &::before {
        background-color: var(--tertiary_color);
        content: "";
        text-align: center;
      }
      > i {
        display: block;
      }
    }
  }
  > label {
    position: relative;
    cursor: pointer;
    padding-left: 20px;
    &::before {
      content: "";
      position: absolute;
      left: 0px;
      top: 2px;
      height: 15px;
      width: 15px;
      border: 1px solid rgba(0, 0, 0, 0.2);
      display: block;
      margin-right: 5px;
    }
    > i {
      position: absolute;
      left: 2px;
      top: 4px;
      font-size: 12px;
      display: none;
      color: var(--light_color);
    }
  }
}
/*************************
        PROFILE PAGE 
 ***********************/

.profiles-page {
  .container {
    > h1 {
      text-align: center;
      font-size: 30px;
      margin-bottom: 30px;
    }
    max-width: 1024px;
    padding: 15px;
    margin: 30px auto;
    #profiles {
      width: 100%;
      & .row {
        text-align: left;
        display: flex;
        align-items: center;
        border: 1px solid var(--medium_grey);
        > .cell {
          padding: 15px 10px;
          width: 22%;
          text-overflow: ellipsis;
          overflow: hidden;

          border-right: 1px solid var(--medium_grey);
          &:last-child {
            width: 12%;
            justify-content: center;
            border: none;
          }
          &.edit-part {
            > a {
              margin: 5px auto;
            }
          }
        }
        &:nth-child(odd) {
          background-color: var(--light_grey);
        }

        @media only screen and (min-width: 744px) {
          .edit-part {
            gap: 10px;
            display: flex;
          }
        }
        &.header {
          text-transform: capitalize;
        }
      }
    }
    > form {
      margin: 50px auto;
      background-color: var(--light_grey);
      padding: 40px;
      box-shadow: 5px 2px 9px 0px rgba(191, 191, 191, 0.5);
      text-align: center;
      > h2 {
        margin: 30px auto;
        display: block;
        > i {
          font-size: 35px;
          margin-right: 10px;
          color: var(--primary_color);
        }
      }

      .button {
        margin-top: 25px;
        font: 20px var(--secondary-font);
      }

      @media (min-width: 744px) {
        width: 70%;
        > * {
          max-width: 70%;
          width: 100%;
        }
      }
    }
  }
}
/*************************
        CONTACT PAGE 
 /*************************/
.contact-page {
  > main {
    margin: 50px 0px;

    > h2 {
      text-align: center;
      font-size: 2.3rem;
    }
    .container {
      max-width: 1024px;
      margin: 0px auto;
      & .img-container {
        display: none;
      }
      @media only screen and (min-width: 744px) {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        margin-top: 30px;
        background-color: var(--light_grey);
        overflow: hidden;
        gap: 3%;
        border: 1px solid rgba(0, 0, 0, 0.2);

        > * {
          width: 47%;
        }
        & > .img-container {
          display: block;
        }
      }
      > form {
        padding: 6%;
        > input,
        textarea,
        button {
          display: block;
          width: 100%;
        }

        > textarea {
          margin-bottom: 30px;
        }
        > button {
          font-size: 20px;
          margin-top: 25px;
          padding: 20px 10px;
        }
      }
      .g-recaptcha-container {
        text-align: center;

        .g-recaptcha {
          display: inline-block;
        }
      }
    }
  }
}

/*****************
        FOOTER 
 ***************/

footer {
  margin-top: auto;
  background-color: var(--light_grey);
  box-shadow: 5px 2px 9px 0px rgba(0, 0, 0, 0.2);
  padding: 0px 50px;
  font-family: var(--secondary-font);
  .top-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 0px 10px 0px;
    & h2 {
      font-weight: 500;
      font-size: 24px;
      margin-bottom: 10px;
      &.title {
        color: var(--primary_color);
      }
    }
    .menu {
      > .contact {
        > a {
          font-size: 1.1rem;
        }
      }
      & a {
        font-weight: 500;
        color: var(--secondary_color);
        font-size: 1rem;
        line-height: 30px;
        padding: 7px;
        &:hover,
        &:active {
          color: var(--primary_color);
        }
      }
    }

    & p {
      margin-bottom: 5px;
      > i {
        margin-right: 5px;
      }
    }
    @media only screen and (max-width: 650px) {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      .menu {
        margin: 10px 0px;
        & i {
          display: none;
        }
      }
    }
  }

  .bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--secondary_color);
    padding: 10px 0px;
    .copyright,
    .year {
      font: 12px var(--primary-font);
    }
    .year {
      padding-left: 5px;
    }
    .social-icons i {
      color: var(--secondary_color);
      padding: 8px;

      &:hover {
        color: #3f3f3f;
      }
    }
    @media only screen and (max-width: 650px) {
      text-align: center;
      flex-direction: column-reverse;
      .social-icons {
        margin: 15px auto;
      }
    }
  }
}
/*************************MENTIONS LEGALES PAGE***************************/

.mentions-page {
  .container {
    width: 90%;
    margin: 50px auto;
  }
  h1,
  h2,
  h3 {
    margin: 15px 0px;
  }
  h1 {
    color: var(--primary_color);
  }
  h2 {
    font-size: 20px;
    font-weight: 400;
    color: var(--tertiary_color);
  }
  h3 {
    font-size: 18px;
    font-weight: 400;
  }
  a,
  a:visited {
    color: var(--primary_color);
    &:hover {
      color: var(--secondary_color);
    }
  }
  p {
    font-size: 16px;
    line-height: 25px;
  }
}

.animatable {
  /* initially hide animatable objects */
  visibility: hidden;

  /* initially pause animatable objects their animations */
  animation-play-state: paused;
}

/* show objects being animated */
.animated {
  visibility: visible;
  animation-fill-mode: both;
  animation-duration: 1.2s;
  animation-play-state: running;
  &.bounceInLeft {
    animation-name: bounceInLeft;
  }
  &.bounceInRight {
    animation-name: bounceInRight;
  }
  &.fadeInUp {
    animation-name: fadeInUp;
  }
  &.fadeInDown {
    animation-name: fadeInDown;
  }
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-2000px);
  }
  60% {
    transform: translateX(20px);
  }
  80% {
    transform: translateX(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(2000px);
  }
  60% {
    transform: translateX(-20px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/************************** COOKIES CONSENT **************************/
.freeprivacypolicy-com---palette-light .cc-nb-okagree,
.freeprivacypolicy-com---palette-light .cc-cp-foot-save {
  background-color: var(--secondary_color) !important;
  &:hover {
    background-color: var(--dark_grey) !important;
  }
}
.freeprivacypolicy-com---palette-light .cc-nb-reject {
  background-color: var(--primary_color) !important;
  &:hover {
    background-color: var(--dark_grey) !important;
  }
}
.freeprivacypolicy-com---palette-light .cc-nb-changep {
  border: 1px solid var(--secondary_color) !important;
  &:hover {
    background-color: var(--dark_grey) !important;
    color: var(--light_color) !important;
  }
}
.freeprivacypolicy-com---pc-dialog
  input[type="checkbox"].cc-custom-checkbox:checked
  + label:before {
  background-color: var(--tertiary_color) !important;
}

.freeprivacypolicy-com---palette-light .cc-pc-head-lang select:focus {
  box-shadow: 0 0 0 2px var(--dark_grey) !important;
}
.freeprivacypolicy-com---palette-light .cc-pc-head-close:active,
.freeprivacypolicy-com---palette-light .cc-pc-head-close:focus {
  border: 1px var(--dark_grey) !important;
}
