@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0px 0px;
  margin: 0;
  list-style: none;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

nav {
  padding: 10px;
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav li {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 8px;
  cursor: pointer;
  position: relative;
  transition: 0.3s ease;
}

nav li:hover::before {
  content: "";
  height: 5px;
  width: 100%;
  position: absolute;
  background: blueviolet;
  transform: translateY(-18px);
}

nav li:nth-child(1) {
  color: blueviolet;
}

nav li:nth-child(1):before {
  content: "";
  height: 5px;
  width: 100%;
  position: absolute;
  background: blueviolet;
  transform: translateY(-18px);
}

nav li:nth-child(1):hover:before {
  content: "";
  height: 5px;
  width: 100%;
  position: absolute;
  background: rgb(61, 0, 119);
  transform: translateY(-18px);
}

nav li:nth-child(1):hover {
  color: rgb(61, 0, 119);
}

nav li:hover {
  color: blueviolet;
}

nav li:nth-child(8) {
  background-color: rgba(126, 124, 124, 0.405);
  border-radius: 15px;
  padding: 8px;
}

nav li:nth-child(8):hover {
  color: aliceblue;
}

nav li:nth-child(8):hover:before {
  content: "";
  height: 0px;
  width: 0%;
  position: absolute;
}

button {
  cursor: pointer;
  transition: 0.4s ease;
}

button:hover {
  box-shadow: 0px 0px 17px 1px #e9e2e2f2;
}

.main-header {
  background: url(./assets/img/bg.jpg) fixed center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgb(240, 240, 240);
  text-transform: uppercase;
  padding: 50px;
}

.main-header h1 {
  font-size: 1.4rem;
  padding: 20px;
  font-weight: 800;
}

.main-header button {
  background: none;
  border-color: rgba(182, 182, 182, 0.729);
  color: rgb(240, 240, 240);
  text-transform: uppercase;
  padding: 10px 20px;
  font-weight: bold;
}

.header-text p {
  font-weight: bold;
  padding: 50px 50px;
  text-align: center;
}

.icon-part {
  background-color: black;
  color: rgb(240, 240, 240);
}

.icon-part-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.list-icon-part {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.list-icon-part .lip-logo {
  padding-bottom: 25px;
}

.list-icon-part h3 {
  text-transform: uppercase;
  padding-bottom: 10px;
}

.list-icon-part p {
  text-align: center;
  padding: 10px 10px 25px 10px;
  font-size: 0.8rem;
}

.list-icon-part button {
  padding: 8px 15px;
  text-transform: uppercase;
  background: none;
  color: rgb(240, 240, 240);
  border-color: rgb(240, 240, 240);
}

.news-part {
  background-color: rgba(247, 247, 247, 0.385);
  display: grid;
  grid-template-rows: 20% 80%;
  padding: 80px 50px;
}

.header-news {
  display: grid;
  grid-template-columns: 65% 35%;
  align-content: center;
  padding: 0px 80px;
  max-width: 1000px;
}

.left-part {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.left-part h2 {
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 2px;
}

.left-part p {
  font-size: 0.8rem;
  font-weight: bold;
}

.right-part {
  display: flex;
  align-items: center;
}

.right-part button {
  padding: 5px 15px;
  text-transform: uppercase;
  font-weight: bold;
  background: none;
}

.right-part .fas {
  padding: 3px;
}

.main-news {
  display: flex;
  justify-items: center;
  align-content: center;
  padding: 20px;
}

.main-new-container {
  display: flex;
  padding-left: 50px;
  gap: 20px;
  margin-top: auto;
  max-width: 1100px;
}

.main-new-container .new {
  display: flex;
  flex-direction: column;
  width: 33%;
  padding-left: 10px;
  padding-right: 10px;
  gap: 6px;
}

.main-new-container .new .mn-pic img {
  box-shadow: 0px 0px 17px 4px #261111f2;
  width: 80%;
  padding: 0;
  margin: 0;
  border-radius: 5px;
}

.new h4 {
  font-size: 0.9rem;
  padding: 5px 45px 5px 0px;
}

.new p {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 10px 40px 10px 0;
}

.link {
  margin-top: auto;
}

.link a {
  color: rgb(83, 1, 100);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 5px;
}

.link .fas {
  padding: 5px;
}

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

.contact-container {
  padding: 20px 120px;
  display: block;
}

.contact-list {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
}

.list {
  padding-right: 30px;
}

.list h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  padding-top: 15px;
  padding-bottom: 10px;
}

.list a {
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: bold;
}

.list:nth-child(3) p {
  font-size: 0.75rem;
  font-weight: bold;
  padding-bottom: 20px;
}

.list:nth-child(4) p {
  font-size: 0.75rem;
  font-weight: bold;
}

.list:nth-child(4) h5:nth-child(2) {
  padding-bottom: 0px;
}

.contact-medias {
  padding: 75px 15px 15px 0px;
  display: grid;
  grid-template-columns: 30% 70%;
  position: relative;
  justify-items: center;
}

.contact-medias:before {
  content: "";
  height: 0.5px;
  width: 75%;
  position: absolute;
  background: rgba(187, 184, 190, 0.527);
  transform: translateY(50px);
}

.medias-text h3 {
  text-transform: uppercase;
  font-size: 0.8rem;
}

.medias-text p {
  padding: 15px 0px;
  font-weight: bold;
  font-size: 0.7rem;
}

.medias-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.medias-logos .img {
  padding: 5px;
}

.medias-logos .img img {
  width: 75%;
  height: auto;
}

.footer-logos {
  padding-bottom: 25px;
}

footer {
  display: block;
  background-color: black;
  color: rgb(240, 240, 240);
}

footer h3 {
  text-align: center;
  padding: 20px;
  text-transform: uppercase;
  font-weight: normal;
}

footer ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 120px 30px 120px;
}

footer img {
  width: 80%;
}

/* ******************* MEDIA QUERIES *********************/

@media screen and (max-width: 900px) {
  nav li {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 780px) {
  .icon-part-container {
    flex-direction: column;
  }

  nav li {
    font-size: 0.5rem;
  }
  .contact-list {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "fra fra fra"
      "fr1 fr2 fr3";
    align-items: center;
    justify-items: center;
  }

  .list:nth-child(1) {
    grid-area: fra;
  }

  .list:nth-child(2) {
    grid-area: "fr1";
  }
}

@media screen and (max-width: 703px) {
  body h1 {
    text-align: center;
  }

  .header-news {
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-news {
    padding: 0px;
  }

  .news-part {
    padding: 50px 15px;
  }

  .contact-container {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {
  nav {
    display: none;
  }
  .main-header img {
    margin: 0 auto;
    display: block;
    width: 95%;
  }

  .main-header h1 {
    font-size: 1rem;
  }
  .left-part h2 {
    font-size: 1.2rem;
  }

  .left-part p {
    font-size: 0.6rem;
  }

  .right-part button {
    font-size: 0.7rem;
  }

  .main-news .new p {
    font-size: 0.6rem;
  }
  .main-news .link a {
    font-size: 0.6rem;
  }

  .main-new-container {
    padding: 15px;
  }

  .contact-container {
    padding: 5px;
  }

  .contact-list h5 {
    font-size: 0.7rem;
  }
  .list:nth-child(3) p {
    font-size: 0.6rem;
  }

  .list a {
    font-size: 0.6rem;
  }

  .list:nth-child(4) p {
    font-size: 0.6rem;
  }

  .list h6 {
    font-size: 0.6rem;
  }

  .medias-text h3 {
    font-size: 0.7rem;
    text-align: center;
  }

  .medias-text p {
    font-size: 0.6rem;
    padding: 5px 0px;
  }
  .contact-medias {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .contact-medias:before {
    content: "";
    height: 0.5px;
    width: 75%;
    position: absolute;
    background: rgba(187, 184, 190, 0.527);
    transform: translateY(37px);
  }
}

@media screen and (max-width: 580px) {
  .main-new-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .news-part {
    display: flex;
    flex-direction: column;
  }

  .main-new-container .new {
    width: 70%;
    align-items: center;
  }

  .header-text p {
    font-size: 0.9rem;
  }
}
