:root {
    --main-font-color: rgb(206, 206, 206);
    --font-highlight-color: #58bf5f;
    --button-color: #005d5a;
    --button-color-hover: #004747;
}

body {
    margin: 0;
    color: var(--main-font-color);
    overflow-x: hidden;
}

html {
    margin: 0;
    background-color: black;
}

#intro-block {
    width: 99vw;
    margin: auto;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-separator {
    height: 8rem;
    background-color: black;
}

#name {
    font-size: 4vw;
    color: var(--main-font-color);
    margin: auto;
    text-align: center;
    text-decoration: none;
    font-weight:200;
}

#name-div {
    width: 75vw;
    margin: auto;
}

#intro-background-img {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-size: cover;
    transform: scale(1.01);
    filter: blur(1px);
}

.text-pop {
    color: #58bf5f;
}

.bio-text-content {
    font-size: 2rem;
    margin-left: 20%;
    margin-top: 1%;
}

#project-div {
    margin: auto;
    width: 65vw;
}

#content-section {
    background: linear-gradient(#000000, #364848);
    overflow-x: hidden;
    padding-bottom: 4rem;
}

.project-block-left {
    width: 35%;
    background-color: #3E424B;
    border-radius: 15px;
    padding: 10px;
    margin-left: 15%;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-block-right {
    width: 35%;
    background-color: rgb(44, 51, 39);
    border-radius: 15px;
    padding: 10px;
    margin-left: 50%;
    height: 300px;
    margin-bottom: 100px;
    border: rgb(62, 62, 62) solid 6px
}

.section-header {
    font-size: 60px;
    width: 60%;
    text-align: center;
    margin-bottom: 100px;
    color: var(--main-font-color);
    padding-top: 7rem;
}

.project-img {
    max-height: 300px;
    max-width: 300px;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.project-img-link {
    grid-column: 1/2;
    grid-row: 2/3;
}

.project-header {
    font-size: 30px;
    width: 100%;
    text-align: center;
    padding-top: 0;
    margin-top: 0;
    grid-column: 1/3;
    grid-row: 1/2;
}

.project-description {
    font-size: 18px;
    grid-column: 2/3;
    grid-row: 2/3;
}

.project-card {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.card-text {
    color: rgb(206, 206, 206);
    font-size: 1.1rem;
}

.card-title {
    color: #58bf5f;
    font-size: 2rem;
}

.lekton-regular {
    font-family: "Lekton", serif;
    font-weight: 400;
    font-style: normal;
}

.lekton-bold {
    font-family: "Lekton", serif;
    font-weight: 700 !important;
    font-style: normal;
}

.lekton-bold-italic {
    font-family: "Lekton", serif;
    font-weight: 700;
    font-style: italic;
}

.lekton-regular-italic {
    font-family: "Lekton", serif;
    font-weight: 400;
    font-style: italic;
}

.btn {
    background-color: var(--button-color) !important;
    font-size: 1.1rem !important;
    border-radius: 1px !important;
}

#contact-div {
    margin: auto;
    width: 75vw;
}

.contact-info-text {
    color: rgb(206, 206, 206);
    font-size: 1.6rem;
}

.contact-logo {
    font-size: 2rem;
}

.btn:hover {
    background-color: var(--button-color-hover) !important;
}

#copyright-container {
    text-align: center;
    background-color: black;
    color: var(--main-font-color);
    font-size: 19px;
}

.section {
    padding-bottom: 8rem;
}

#about-1 {
    grid-area: about-1;
}

#about-2 {
    grid-area: about-2;
}

#about-3 {
    grid-area: about-3;
}

#about-pic {
    width: 25%;
    border-radius: 2%;
    border: var(--button-color) solid 2px;
    grid-area: about-pic;
    float: left;
    margin-right: 2rem;
}

#about-section {
    width: 50%;
    margin: auto;
}

.about-text {
    color: lightslategray;
    width: 100%;
    font-size: 1.1rem;
}

.devicon-wordmark {
    font-size: 7rem;
    color: var(--font-highlight-color);
}

.skills-div {
    margin: auto; 
    text-align: center;
    width: 50vw;
    display: flex;
    justify-content: center;
    column-gap: 9rem;
}

.skills-spacer {
    height: 5rem;
}

#certifications-div {
    margin: auto;
    width: 50%;
    display: flex;
    justify-content: center;
}

.certification-logo {
    max-width: 200px;
    max-height: 200px;
    object-fit: scale-down;
    aspect-ratio: 1/1;
    flex-grow: 0;
}

#section-header-skills {
    text-align: center;
}

@media (max-width: 1000px) {
    .bio-text-content {
        font-size: 1rem;
    }
    
    #name {
        font-size: 7vw;
    }

    #intro-block {
        width: 100vw;
    }

    #project-div {
        margin: auto;
        width: 100vw;
    }

    .devicon-wordmark {
        font-size: 3rem;
    }

    .skills-div {
        column-gap: 3rem;
        width: 100vw;
    }

    .skills-spacer {
        height: 2rem;
    }

    .section-header {
        padding-top: 1rem;
        margin-bottom: 3rem;
        font-size: 2.5rem;
        width: 100%;
    }

    .contact-info-text {
        font-size: 1rem;
    }

    .contact-logo {
        font-size: 1rem;
    }

    #about-section {
        width: 90%;
        column-gap: 1rem;
    }

    #about-pic {
        margin-top: 1rem;
        margin-right: 0.7rem;
        width: 35%;
    }

    .about-text {
        font-size: 1rem;
    }
}
