@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Kalam:wght@300;400;700&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');

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

body {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
}

.container {
    padding: 100px 0;
    margin: 0 auto;
    width: 80%;
}
  
.nav-items {
    --underline-width: 0;
    --underline-offset-x: 0;
  
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
.nav-items::before {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    height: 4px;
    width: var(--underline-width);
    transform: translateX(var(--underline-offset-x));
    background-color: rgb(103, 103, 255);;
    transition: transform 0.5s, width 0.5s;
    border-radius: 4px;
  }
  
  .nav-link {
    display: block;
    padding: 10px;
    font-size: 22px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  h1 {
    margin-bottom: 20px;
    margin-top: 50px;
  }

  h2 {
    margin-bottom: 20px;
    margin-top: 60px;
  }

  h2:first-of-type {
    margin-top: 0;
  }

  h3 {
    margin-bottom: 5px;
  }

  h4 {
    margin-bottom: 5px;
  }

  p {
    margin-bottom: 20px;
  }

  ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  @media screen and (max-width: 750px) { 
    .nav {
        display: flex;
        justify-content: center;
    }

    .container {
        width: 95%;
    }

    .content {
      text-align: center;
    }
  }

  @media screen and (max-width: 380px) { 
    h1 {
      font-size: 30px;
    }
  }