* {
    margin: 0;
    padding: 0;
    border: none;
}

/* COLORS */
/* 

Gray: #1a1a1a;
Teal: #3c6e71;
White: #e9ecef; 

*/

/* FONTS */

@font-face {
    font-family: galguna;
    src: url(../fonts/Galguna.otf);
}

@font-face {
    font-family: backlight;
    src: url(../fonts/Blacklight.otf);
}

@font-face {
    font-family: grotleyR;
    src: url(../fonts/GrotleyRegular.otf);
}

@font-face {
    font-family: gratleyI;
    src: url(../fonts/GrotleyItalic.otf);
}


/* ELEMENTS */

body {
    display: flex;
    justify-content: center;
    background-color: #1a1a1a;
    color: #e9ecef;
    font-family: grotleyR;
    height: 90vh;
    width: 100%;
}

h1 {
    font-family: backlight;
    font-weight: 1000;
    font-size: 6rem;
    color: #3c6e71;
}

p {
    font-size: 3rem;
    text-align: center;
}

a {
    font-size: 2.25rem;
    color: #e9ecef;
    text-decoration: underline #3c6e7100;
    text-underline-offset: 0.8rem;
    transition: text-decoration-color 300ms, text-underline-offset 300ms, color 300ms;
}

button {
    font-size: 2.25rem;
    color: #e9ecef;
    background-color: #1a1a1a;
    text-decoration: underline #3c6e7100;
    text-underline-offset: 0.8rem;
    transition: text-decoration-color 300ms, text-underline-offset 300ms, color 300ms;
}

ul li {
    list-style: none;
}

h2.about-h2 {
    font-family: backlight;
    font-weight: 1000;
    font-size: 6rem;
    color: #3c6e71;
}

/* CONTAINERS */

#nav-menu-btn {
    height: 4vh;
    width: 4vh;
    position: absolute;
    top: 5vh;
    right: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.nav-hamberger-1,  .nav-hamberger-2, .nav-hamberger-3{
    background-color: #e9ecef;
    width: 100%;
    height: 20%;
    border-radius: 4px;
}

#main-nav {
    position: absolute;
    width: 15vh;
    height: 15vh;
    right:20vh;
    top: 5vh;
    z-index: 4;
    font-size: 4rem;
}

#main-nav a{
    font-size: 4rem;
}

.column-center-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 90vh;
    width: 100%;
    margin: 3rem;
}

.row-center-flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4rem;
    width: 100%;
}

#content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 90vh;
    padding: 2rem;
}

.project-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70vh;
}

#project-image {
    height: 70vh;
    width: 50%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 2%;
}

.project-img {
    height: 100%;
}

#work-list {
    width: 100%;
}

.work-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 2px solid #3c6e71;
    line-height: 6rem;
}

.work-row p, .work-row h2 {
    display: inline-block;
}

.about-flex-container {
    position: relative;
    top: 15vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 80vh;
    width: 90%;
}

#about-content {
    width: 40%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding: 1rem;
}

#about-content p {
    font-size: 1.75rem;
}

#about {
    text-align: center;
}

#about h2 {
    text-align: left;
}

#skills {
    height: 100%;
    width: 100%;
}

#skills h3 {
    font-size: 2.5rem;
}

#skills li {
    font-size: 2rem;
    list-style-type: disc;
    margin-left: 2rem;
    line-height: 2.5rem;
}

#skills li li {
    font-size: 2rem;
    list-style-type: circle;
    margin-left: 4rem;
}

#goals {
    height: 100%;
    width: 100%;
    padding-bottom: 5rem;
}

#goals h3 {
    font-size: 2.5rem;
}

#goals li {
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin-left: 3rem;
}

#free-time {
    height: 100%;
    margin-bottom: 5rem;
}

#free-time h3{
    text-align: left;
    font-size: 2.5rem;
}

#free-time p{
    text-align: left;
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin-bottom: 1rem;
}

#about-photo {
    width: 50%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#about-photo img {
    height: inherit;
    max-width: 100%;
}


#about-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

#contact {
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact h1 {
    text-align: center;
}

#two-contact-imgs {
    display: flex;
    justify-content: center;
    width: 30%;
    gap: 2rem;
}

#contact img {
    height: 10vh;
}

#contact p {
    font-size: 3.5rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}


/* SELECTORS */

.hidden {
    display: none;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 2;
  }
  
  #thomas-mielke-logo {
      position: absolute;
      height: 10vh;
      width: 10vh;
    top: 5vh;
    left: 5vh;
  }
  
  /* INTERACTIVITY */
  a:hover {
      color: #3c6e71;
      text-decoration-color: #3c6e71FF;
      text-underline-offset: 0.4rem;
    }
    
    button:hover {
        color: #3c6e71;
        text-decoration-color: #3c6e71FF;
        text-underline-offset: 0.4rem;
    }

    .inactive-contact-link {
        font-size: 2.25rem;
        color: #e9ecef;
        text-decoration: underline #3c6e7100;
        text-underline-offset: 0.8rem;
        transition: text-decoration-color 300ms, text-underline-offset 300ms, color 300ms;
    }
    
    .hover-contact-link {
        font-size: 2.25rem;
        color: #3c6e71;
        text-decoration: underline #3c6e71FF;
        text-underline-offset: 0.4rem;
        transition: text-decoration-color 300ms, text-underline-offset 300ms, color 300ms;
    }

    @media (max-width: 600px) {
        html {
            font-size: 10px;
        }

        #main-nav {
            height: 40vh;
            right: 15vh;
        }

        h1 {
            text-align: center;
        }

        a {
            font-size: 2rem;
        }

        .column-center-flex-container {
            margin-top: 6rem;
            gap: 5rem;
        }

        #project-image {
            display: none;
        }

        .work-row h2, .work-row p {
            font-size: 3rem;
            line-height: 4rem;
        }

        .project-flex-container {
            justify-content: flex-start;
        }

        .about-flex-container {
            flex-direction: column-reverse;
            align-items: center;
            justify-content: flex-end;
            gap: 6rem;
            padding-top: 6rem;
        }

        #about h2 {
            text-align: center;
        }

        .about-h2 {
            text-align: center;
        }

        #about-content {
            width: 100%;
            margin-bottom: 5vh;
        }

        #about-photo {
            width: 100%;
            height: 50vh;
        }

        #about p {
            font-size: 2rem;
        }

        #about-nav {
            position: absolute;
            top: 1.5vh;
        }

        #skills-img {
            margin-bottom: -17vh;
        }

        #goals-img {
            margin-bottom: -8vh;
        }

        #free-time-dog-img, #free-time-book-img, #free-time-sports-img {
            height: 10vh;
            margin-bottom: -8vh;
        }

        #contact {
            position: relative;
            top: 20%;
            justify-content: flex-start;
        }

        .contact-container {
            width: 80%;
            flex-direction: column;
            justify-content: center;
            height: 150vh;
            gap: 1.5rem;
        }

        #two-contact-imgs {
            display: flex;
        }
    }