:root {
    --main-white: #ffffff;
    --main-red: #be3144;
    --main-blue: dodgerblue;
    --main-secondary: #36454f;
    --main-gray: #303841;
    --main-black: #000;
}
  
*{
    margin: 0; padding: 0; box-sizing: border-box;
  }

html {
    /* (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px */
    font-size: 62.5%;
    font-family: 'Merriweather', serif;
    font-weight: 100;
    font-style: normal;
    scroll-behavior: smooth;
  }

  /* 1200px / 16px = 75em */
  @media (max-width: 75em) {
    html {
      font-size: 60%;
    }
  }
  
  /* 980px / 16px = 61.25em */
  @media (max-width: 61.25em) {
    html {
      font-size: 58%;
    }
  }
  
  /* 460px / 16px = 28.75em */
  @media (max-width: 28.75em) {
    html {
      font-size: 55%;
    }
  }  

  a {
    text-decoration: none;
  }

  ul li {
    list-style: none;
    text-align: left;
}

ul {
    max-width: 100rem;
    margin: 0 auto;
}

.bold {
    font-weight: 600;
}

.title {
    width: 100%;
    margin: 0 auto;
    max-width: 100rem;
    font-size: 3.0rem;
    font-weight: 700;
    padding: 1rem 0 1rem 0;
    text-transform: uppercase;
}

.welcome-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    color: black;
    background-color: var(--main-white);
}

.welcome-section h1 {
    font-size: 8rem;
    padding: 0.5rem;
  }

  .welcome-section h2 {
    font-size: 2rem;
    padding: 0.5rem;
  }

  .basic {
    padding-left: 5rem;
  }

  .title-secondary {
    padding: 1rem 2rem;
    background-color: #000;
    color: white;
  }
  @media (max-width: 28.75em) {
    .welcome-section h1 {
      text-align: center;
    }
  }

  .welcome-section div img {
      width: 25rem;
      height: auto;
      margin-right: 2.5rem;
      border-radius: 50%;
      border-style: solid;
      border-width: 0.2rem;
      border-color: var(--main-secondary);
  }

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    color: white;
    padding: 1rem;
    background-color: var(--main-secondary);
}

.about-section-content {
    max-width: 100rem;
    font-size: 1.8rem;
    line-height: 1.62em;
}

.projects-section {
    color: black;
    padding: 2rem;
    background-color: var(--main-white);
  }

  .projects-section-header {
    max-width: 640px;
  }

  .projects-section h2 {
    text-align: center;
    font-size: 4rem;
  }

  @media(min-width: 700px) {
    li {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
}

.left-experience {
    flex-basis: 250px;
    height: auto;
    font-size: 1.7rem;
    line-height: 1.62em;
}

.right-experience {
    flex-basis: 600px;
    height: auto;
    line-height: 1.62em;
    font-size: 1.6rem;
}

.right-experience a {
    color: var(--main-blue);
    font-weight: 800;
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    padding: 0 2rem;
    color: white;
    background-color: var(--main-secondary);
    /* background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%); */
  }

  .contact-section-header > h2 {
    font-size: 5rem;
    margin-top: 3rem;
  }

  @media (max-width: 28.75em) {
    .contact-section-header > h2 {
      font-size: 3rem;
    }
  }

  .contact-section-header > p {
    font-size: 2.5rem;
    font-style: italic;
    margin-top: 2rem;
  }

  .contact-links {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: 980px;
    margin: 4rem 0;
    flex-wrap: wrap;
    font-size: 2rem;
  }  

  .contact-links a {
      color: white;
  }  

  .contact-links a:hover {
    background-color: var(--main-blue);
    padding: 0.5rem;
    border-radius: 7%;
  }

