@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*
main
*/
main {
}

*,
html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image: url("./page13.png"), url("./page2.PNG"), url("./page2.PNG"),
    url("./page2.PNG");
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  margin: 0;
}

/* flex */
.flex {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  color: white;
  max-width: 1300px;
  margin: auto;
}
.flex .side-bar.active {
  visibility: visible;
  opacity: 1;
}
.flex .ctn h2 {
  text-align: center;
}
.flex .ctn h3 {
  text-align: center;
}
.flex .ctn {
  margin-left: 10em;
}

/*
balise h
*/
h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins";
  margin: 0;
  color: white;
}

h1,
.h1 {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: clamp(45px, 7vw, 70px);
  line-height: clamp(40px, 7vw, 70px);
}
h2,
.h2 {
  font-weight: 600;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(25px, 7vw, 40px);
  line-height: clamp(20px, 7vw, 35px);
}
h3 {
  font-weight: 500;
  margin: 0;
  margin-bottom: 10px;
  font-size: clamp(18px, 7vw, 30px);
  line-height: clamp(20px, 7vw, 30px);
}
h4,
.h4 {
  font-weight: 500;
  margin: 0;
  font-size: clamp(18px, 7vw, 28px);
  line-height: clamp(20px, 7vw, 30px);
}
h5,
.h5 {
  font-weight: 400;
  margin: 0;
  font-size: clamp(18px, 7vw, 28px);
  line-height: clamp(13px, 7vw, 23px);
}

p {
  color: rgb(143, 163, 184);
  margin: 0;
}

/* ======================== HEADER ======================== */

header {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: calc(120vh - 80px);
  padding: 40px;
}
.etude {
  width: 370px;
  text-align: center;
}
.title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* ======================================================== */

/* ======================= SIDE-BAR ======================= */

.side-bar {
  position: sticky;
  display: flex;
  top: 0;
  bottom: 0;
  flex-direction: column;
  justify-content: center;
  color: white;
  width: 400px;
  min-width: 350px;
  height: 100vh;
  padding: 40px;
}
.side-bar a {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 18px;
  letter-spacing: -1px;
  padding: 0;
  margin: 6px;
  text-decoration: none;
}
.side-bar a span {
  display: block;
  height: 2px;
  width: 30px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.2s;
}
.side-bar a:hover span,
.side-bar a.active span {
  width: 50px;
}

/* ======================================================== */

/* ======================== WRAPPER ======================= */

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.container {
  margin-bottom: 200px;
}

/* ======================================================== */

/* ======================= CONTAINER ====================== */

.container h2 {
  margin-bottom: 50px;
}
.container .content {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
  min-width: 500px;
  border-radius: 8px;
  transition: all 0.2s;
}
.container .content:hover {
  background-color: rgba(30, 41, 59, 0.5);
}
* {
  text-decoration: none;
}
.container .content .left {
  color: rgb(143, 163, 184);
  min-width: 110px;
  max-width: 110px;
}
.container .content .left p {
  margin-top: 7px;
}
.container .content .left img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.container .content .right h3 {
  display: flex;
  align-items: center;
  gap: 5px;
}
.container .content .right h3 svg {
  width: 32px;
  height: 32px;
}
.container .content:hover h3 {
  color: #135bf6;
}
.container .content .right .tags {
  display: flex;
  flex-wrap: wrap;
  font-style: none;
  gap: 10px;
  margin-top: 10px;
}
.container .content .right .tags span {
  display: block;
  padding: 5px 15px;
  margin: 5px 0;
  font-style: none;
  color: lightcyan;
  background-color: rgba(30, 41, 59, 0.5);
  font-weight: 500;
  border-radius: 30px;
  font-size: 14px;
}
/* ======================================================== */

/* ========================= CONTACT ======================= */

#contact .content .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contact .content .left ion-icon {
  font-size: 50px;
  color: white;
}

#contact .content:hover ion-icon {
  color: #86adff;
}

#contact h2 {
  text-align: left;
}

/* ======================================================== */

/* ========================= FOOTER ======================= */

footer {
  text-align: center;
  padding: 20px;
}

/* ======================================================== */

/* ======================= RESPONSIVE ===================== */

@media screen and (max-width: 800px) {
  #side {
    display: none;
  }
}

/* ======================================================== */
#scrollButton {
  border: none;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 30px;
  background: transparent;
  color: white;
  font-size: 3em;
}

#scrollButton:hover {
  color: #86adff;
}
