@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html{
    font-family: "Roboto", sans-serif;
}
body {
  line-height: 1.6;
}

/*--- header ----*/

:root {
  background-color: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
}

header {
  background-color: white;
  position: fixed;
  width: 100%;
}

:target {
  scroll-margin-top: 110px;
}

.page-header {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  color: red;
  align-self: center;
  font-size: 2.5rem;
  margin-right: 25px;
}

.nav-bar {
  display: flex;
  align-self: flex-start;
  white-space: nowrap;
  overflow-x: auto;
  margin: 0;
  align-self: center;
}

.nav-bar a {
  color: rgb(134, 134, 134);
  padding: 1.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  position: relative;
  text-decoration: none;
}

.nav-bar a::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 15px;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: background-color 0.3s;
  width: 70%;
}
.nav-bar a:hover::after {
  background-color: red;
}

.highlight {
  color: red;
}

/* Main content styles */

main {
  padding: 90px 25px 40px 25px;
  min-height: 100vh;
}

section {
  margin-bottom: 20px;
}

h2 {
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: 800;
}

p,
li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  margin-top: 15px;
}

h3 {
  font-size: 15px;
  color: #313030e4;
  margin-top: 10px;
  font-style: italic;
}

.informations {
  max-width: 800px;
  margin: auto;
  background-color: white;
  row-gap: 5px;
  padding: 30px;
  flex-direction: column;
  display: flex;
  border-radius: 10px;
}

ul,
ol {
  margin-left: 4%;
}

li {
  margin: 0;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/*---- media ----*/

@media screen and (max-width: 600px) {
  .page-header {
    flex-direction: column;
    align-items: center;
  }

  .nav-bar {
    white-space: nowrap;
    overflow-x: scroll;
    width: 100%;
    margin: 0;
    align-self: center;
  }

  .nav-bar::-webkit-scrollbar {
    display: block;
    height: 5px;
  }

  .nav-bar::-webkit-scrollbar-thumb {
    background-color: #88888854;
  }

  .nav-bar::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }

  .nav-bar.responsive {
    display: flex;
  }

  .nav-bar a {
    padding: 10px 15px;
    display: inline-block;
  }

  .nav-bar a::after {
    content: "";
    position: absolute;
    left: 15%;
    bottom: 15px;
    width: 100%;
    height: 0;
    background-color: transparent;
    transition: background-color 0.3s;
    width: 70%;
  }

  main {
    padding: 100px 10px 10px 10px;
  }
}