
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;602;800&display=swap');

::selection {
    background: #35D959;
    color: #fff;
  }
  
  html {
      font-size: 62.5%;
      font-family: -apple-system, 'Manrope', 'Inter', Arial, Helvetica, sans-serif;
  }
  
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

body {
    background-color: #edf0f1;
    background: #fff;
}

li, a, button {
    font-size: 2rem;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;    
}

.alert {
    display: block;
    background: #272727;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1.5rem;
}

.logo {
    cursor: pointer;
    width: 100%;
    padding-left: 2rem; 
    padding-right: 2rem;

    margin-top: 3rem;
}

.nav__links {
    list-style: none;
}

.nav__links li {
    display: inline-block;
    padding: 0rem 2rem;
}

.nav__links li a {
    transition: all 0.2s ease-in-out;
}

.nav__links li a:hover {
    color: #35D959;
}

.menu {
    display: none;
}

#contactBtn {
    padding: 0.9rem 2.5rem;
    background: #35D959;
    color: #fff;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
#contactBtn:hover {
    opacity: 0.7;
}

@media only screen and (max-width: 800px) {
    .nav__links, .cta {
        display: none;
    }
    .menu {
        display: inherit;
    }
}

/* Mobile Nav */

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #edf0f1;
    overflow-x: hidden;
    transition: all 0.2s ease-in-out;
}

.overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay a {
    padding: 1.5rem;
    font-size: 3.6rem;
    font-weight: bold;
    display: block;
    transition: all 0.2s ease-in-out;
}

.overlay a:hover, .overlay a:focus {
    color: #35D959;
    cursor: pointer;
}
.overlay .close {
    position: absolute;
    top: 2rem;
    right: 4.5rem;
    font-size: 6rem;
}

/*#menuBtn {
    background: #35D959;
    border: 0.1rem solid #35D959;
    border-radius: 5em;
    transition: all 0.2s ease-in-out;
    outline: none;
    cursor: pointer;
    color: #edf0f1;
    padding: 1rem 2rem;
    margin-top: 1rem;
    font-size: 2rem;
}*/

#menuBtn {
    color: #35D959;
    color: #000;
    font-weight: bold;
    font-size: 2.5rem;
    background: transparent;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 2rem;
    }
    .overlay .close {
        font-size: 4rem;
        top: 1.5rem;
        right: 3.5rem;
    }
}

.footer {
    width: 100%;
    color: #0e0e0e;
    font-size: 1.5rem;
    /*background: linear-gradient(to right top, #9c9c9c, #f1f1f1);*/
    background: #ebebeb;
    text-align: right;
    padding: 1rem 2rem;
    font-weight: bold;
    margin-top: 15rem;
    display: block;
    
    
    bottom: 0;
  }
  .footer a {
      font-size: 1.5rem;
      color: #000;
  }
  .footer p:hover {
    cursor: pointer;
  }
  
  #insta {
    width: 3rem;
    height: 3rem;
    margin-top: 1rem;
  }

#home {
    font-size: 3rem;
    height: 20vh;
    text-align: right;
    margin: 10rem;
}

#project {
    font-size: 3rem;
    height: 20vh;
    text-align: left;
    margin: 10rem;
}

#about {
    font-size: 3rem;
    height: 20vh;
    text-align: center;
    margin: 5rem;
}

#tomh {
    font-size: 3rem;
    color: #fff;
    height: 2vh;
    text-align: center;
    margin: 2rem;
}

.here {
    font-size: 3rem;
    text-decoration: underline;
    text-decoration-style: dotted;
    color: #35D959;
}

@media (max-width: 800px) {
    #home, #project, #about, .here {
        font-size: 2rem;
        
        margin: 10rem 5rem;
    }
    #project {
        margin-bottom: 35rem;
    }
    .here {
        margin: 0;
    }
    #home {
        margin-top: 8rem;
    }
    #about {
        text-align: center;
    }
    #tomh {
        height: 1vh;
    }
}