/* Global stuff*/


*{
    margin: 0 auto;
    padding: 0;

    /*
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    */
    --main-bg-color: rgb(0, 7, 0);
    --secondary-bg-color: rgb(12, 47, 2);
    --main-color: #1bae54;
    --secondary-color: #ccdccc;
    --accent-color: #8ddc81; 
    --black-transparent: rgba(0,0,0,0.3);
}

html{
    background-color: var(--main-bg-color);
}

body{
    font-family: "Jersey 15", sans-serif;
    background: var(--main-bg-color);
    background: linear-gradient(180deg, var(--main-bg-color) 0%, var(--secondary-bg-color) 100%);
    color: var(--secondary-color);
    font-weight: 400;
    overflow-x: hidden;
    font-size: 1.15rem;
}

h1{
    font-size: 2rem;
    font-weight: 700;
}

h2{
    font-size: 1.6rem;
    font-weight: 600;
}

a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

/*reusable stuff */
.border{
    border-radius: 0px;
    border: 2px solid var(--accent-color)
}



/* Custom stuff */

header {
    top: 0;
    position: sticky;
    display: flex;
    width: 100%;
    height: 7vh;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--black-transparent);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--accent-color);
    z-index: 10;
}

.spacer {
    width: 20vw;
}

.top-navigation {
    width: 30%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.top-navigation li {
    list-style-type: none;
}

.top-navigation a {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}


.box {
    display: flex;
    justify-content: space-evenly;
    width: 90vw;
    margin-top: 25vh;
    height: fit-content;
}

.card{
    background-color: var(--black-transparent);
    padding: 2%;
}

/* CARD ONE */
.card.one{
    width: 70%;
}


.card.one a {
    color: var(--main-color);
}

/* CARD TWO */
.card.two{
    width: 30%;
    border-left: none;
}

.certs {
    list-style: square;
    padding-left: 1rem;
}
.certs li {
    color: var(--main-color);
    text-decoration: underline;
}

.certs a{
    color: var(--main-color);
}



.proj {
    display: flex;
    flex-direction: column;
}

.proj h1{
    font-size: 3rem;
    width: 100%;
    text-align: center;
}

.projects{
    width: 100%;
    display: flex;
    margin-top: 5vh;
    justify-content: space-between;
}

.project{
    /*display: flex;
    flex-direction: column;
    align-items: top;
    justify-content: start;
    */
    background-color: var(--black-transparent);
    
    width: 30vw;
    padding: 1rem;
    row-gap: 1rem;
}

.proj-title{
    text-align: center;
    text-decoration: underline;
}

.project:not(:last-child){
    border-right: none;
}

/* for larger screens (>= 1200px) */
@media only screen and (min-width: 1200px) {
    /* change root size so rem units scale up */
    html {
        font-size: 125%; /* 18px if default 16px (16 * 1.125 = 18) */
    }
}

/* for smaller screens (<= 768px) */
@media only screen and (max-width: 768px) {
    /* change root size so rem units scale down */
    html {
        font-size: 85%; /* 13.6px if default 16px (16 * 0.85 = 13.6) */
    }

    /* less top margin */
    .main{
        margin-top: 10vh;
    }

    /* expand nav width */
    .top-navigation {
        width: 50%;
    }

    .spacer {
        width: 0;
    }

    /* stack cards vertically */
    .box {
        flex-direction: column;
        align-items: center;
        row-gap: 5vh;
    }

    .card.one, .card.two {
        width: 90%;
    }

    /* stack projects vertically */

    .projects {
        flex-direction: column;
        align-items: center;
        row-gap: 5vh;
        margin-top: 0;
    }

    .project {
        width: 60vw;
    }

    /* add back the borders for cards */
    .card.two {
        border-left: 2px solid var(--accent-color);
    }

    /* add border for projects */

    .project:not(:last-child) {
        border-right: 2px solid var(--accent-color);
    }

}