:root {
    --darkblue: #06142e;
    --lightblue: #1b3358;
    --greypurple: #7465a8;
    --lightpurple: #bd63b8;
    --lightorange: #ffeaea;
    --orange: #f1916d;
    --purple: #b52fae;
    --lightgrey: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 16px;
}

html , body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
}

  /* header */
  header {
    box-sizing: border-box;
    background: var(--lightgrey);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;
    box-shadow: 0px 4px 8px rgba(67, 65, 65, 0.2); 
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 10px;
}

.header-logo {
    width: 65px;
}

.logo {
    display: flex;
    gap: 5px;
    font-size: 20px;
}

.logo p {
  margin: 2px 0 0 0;
  padding-left: 5px;
  letter-spacing: 2px;
  font-size: 25px;
}

.logo p::first-letter {
  color: #f1916d;
  font-size: 35px;
  font-weight: 500;
  font-family: serif;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
}

.logo > span {
  transition: transform 0.3s ease-in-out;
  cursor: default;
}
  
.logo > span:hover {
  transform: scale(3);
  animation: fadeInDownBig;
  animation-delay: .1s; 
}

.menu-list {
    background: var(--lightgrey);
    display: flex;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    list-style: none;
}

.menu-list li {
    list-style-type: none;
    white-space: nowrap;
}

.menu-list a {
    display: block;
    padding: 7px 15px;
    font-size: 17px;
    font-weight: 500;
    transition: .3s all ease-in-out;
    text-decoration: none;
    /* color: #f5d7d6; */
    color: var(--darkblue);
}

.menu:hover a {
    opacity: 0.4;
}
  
.menu a:hover {
    opacity: 1;
    letter-spacing: 1px;
    color: #f1916d;
    transform: scale(1.1);
    background: #1b3358;
    transform-origin: left;
}

.menu-icon, .close-icon {
    display: none;
}
  
#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .menu {
    transform: scale(1, 1);
}

/* main */ 
main {
    padding: 40px 10%;
    color: var(--darkblue);
}

.main-header {
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2em;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 3px;
}

a {
    text-decoration: none;
}

h2 {
    color: var(--darkblue);
    font-size: 1.3em;
    font-weight: 400;
    word-spacing: 3px;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 25px;
    letter-spacing: 1.5px;
}

p {
    color: var(--darkblue);
    opacity: 0.7;
    margin-bottom: 10px;
    line-height: 25px;
    letter-spacing: 1.5px;
    font-weight: 400;
}

span {
    color: var(--darkblue);
    opacity: 0.6;
    font-weight: 300;
}

.divide {
    border: none;
    border-top: 1px solid var(--lightblue);
    opacity: .5;
    width: 100%; 
    margin: 40px auto;
}

/* footer */
footer {
    padding: 80px 60px 20px;
    font-size: 16px;
    color: #f1916d;
    background: var(--darkblue);
  }
  
  h3 {
    color: var(--greypurple);
    letter-spacing: 5px;
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 0 0 15px;
  }
  
  a {
    text-decoration: none;
  }
  
  .footer-header {
    margin-bottom: 80px;
  }
  
  #footer-texts {
    margin: 0 0 30px;
  }
  
  #footer-texts a {
    color: var(--lightpurple);
    font-size: 1.1em;
  }
  
  .footer-ul {
    list-style: none;
  }
  
  .footer-ul li {
    margin: 0 0 12px;
  }
  
  .footer-ul li a {
    color: var(--lightpurple);
  }
  
  .line {
    border: none;
    border-top: 1px solid var(--lightpurple);
    width: 100%; 
    margin: 0 auto;
  }
  
  #copyright {
    color: var(--lightpurple);
    margin: 0 0 20px;
  }
  
  .footer-footer {
    margin: 30px 0 0;
  }
  
  .socials a {
    margin: 0 10px 0 0;
  }

@media only screen and (max-width: 768px) {
    .menu {
      flex-direction: column;
      align-items: start;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      padding-left: 3px;
      z-index: 1;
      transform: scale(1, 0);
      transform-origin: top;
      transition: transform 0.3s ease-in-out;
      margin: 0 0 16px 0;
      /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
    }
  
    .menu a {
      margin-left: 12px;
    }
  
    .menu li {
      margin-bottom: 10px;
      width: fit-content;
      /* width: -moz-fit-content; */
    }
  
    .menu-icon {
      display: block;
      font-size: 28px;
      cursor: pointer;
    }
  
    /* Styling for the open menu */
    #menu-toggle:checked ~ .menu {
      display: block;
    }
  
    #menu-toggle:checked ~ .menu-icon {
    display: none;
    }
  
    #menu-toggle:checked ~ .close-icon {
      display: block;
      font-size: 28px;
      cursor: pointer;
    }
    .menu-list {
        width: 180px;
        float: right;
        display: flex;
        flex-direction: column;
    }
  }

@media only screen and (min-width: 480px) {
    h2 {
        width: 70%;
    }
}

@media only screen and (min-width: 768px) {
    main {
        padding: 40px 20%;
    }
}