html{
    --image-border: rgba(189, 189, 189, 0.562);
    scroll-behavior: smooth;
    --projectTitle-color:rgb(87, 87, 87);
}

:root{
    --animation-name: drive;
        --fueled-ani: null;
        --carBorder-color: black;
        --animation-time: 1s;
        --ani-count: infinite;
        --rotateTo-mouse: 0deg;
    --gameWindow-width: 100%;
    --gameWindow-height: calc(var(--gameWindow-width) * (5/9));
}

* {
    margin: 0;
    font-family: sans-serif;
}

section{
    min-width: 360px;
}

a {
    text-decoration: none;
    color: rgb(214, 214, 214);
}

h1{
    font-weight: 100;
}

h4{
    font-weight: 100;
    font-style: italic;
    margin-bottom: 5px;
}

p{
    font-size: .8rem;
}

#navbar {
    position: fixed;
    display: flex;
    width: 100%;
    height: 40px;
    background: rgba(0, 31, 50, 0.8);
    z-index: 1;
}

#word-link-container{
    display: inline-block;
    width: 50%;
    height: 40px;
    text-align: right;
    padding-top: 7px;
}

#icon-link-container {
    display: inline-block;
    width: 50%;
    height: 40px;
    padding-top: 9px;
}

.nav-icons {
    text-align: left;
    margin-left: 10px;
}

.nav {
    text-decoration: none;
    margin: 0px 20px 0 0;
    font-size: 1.2rem;
}

#navbar a:hover {
    color: white;
    transition-duration: .3s;
}

#welcome-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(241, 255, 0);
        background: linear-gradient(124deg, rgba(241, 255, 0, 1) 0%, rgba(205, 42, 42, 1) 41%, rgba(32, 152, 161, 1) 100%);
    color: white;
}

#greeting{
    width: 30%;
    min-width: 300px;
    max-width: 452px;
    padding: 10px;
    font-weight: 100;
}

#my-name{
    text-shadow: 2px 4px 7px rgba(21, 54, 56, 0.69);
    font-size: 3rem;
    letter-spacing: 3px;
}

#projects {
    min-height: 82vh;
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(rgb(34, 36, 39), rgb(90, 92, 100));
    background-size: cover;
}
#project-header h3{

    color: rgb(144, 144, 144);
text-shadow: 2px 4px 7px rgba(46, 40, 19, 0.69);
    letter-spacing: 3px;
    font-weight: 100;
}


#project-tile {
    margin: auto;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.project-container{
    box-shadow: 12px 14px 25px -7px rgba(0, 0, 0, 0.62);
    min-height: 300px;
    width: 40%;
    min-width: 300px;
    background-color: var(--image-border);
    margin-bottom: 40px;
}

.project-title{
    font-size: 1.2rem;
    color: rgb(6, 6, 6);
    font-weight: 400;
    margin-bottom: 5px;
}

.project-desc{
    margin-bottom: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

.proj-link-container{
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: .7rem;
    margin-bottom: 5px;
}

.proj-link-page, .proj-link-code{
    background-color: rgb(86, 92, 93);
    color: rgb(216, 216, 216);
    padding: 5px;
}

.proj-link-page:hover{
    color:rgb(255, 234, 0)
}

.proj-link-code:hover {
    color: rgb(153, 255, 0)
}

img {
    width: 100%;

}

footer {
    position: relative;
    min-width: 340px;
    min-height: 740px;
    height: 100vh;
    background: linear-gradient(rgb(45, 44, 49), rgb(73, 73, 73));
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 2rem;
    padding: 0 10px;
}

footer a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

#form-header {
    padding-top: 90px;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    font-weight: 300;
    text-align: center;
}

form{
    max-width: 500px;
    margin: auto;
    margin-top: 10vh;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    color: white;
    font-size: 1rem;
    text-align: right;
}

#message{
    resize: none;
}

#message-small {
    top: 135px;
}

.fail{
    box-shadow: 0px 0px 12px 2px rgb(255, 65, 65);
}

.labels{
    position: relative;
}

small{
    width: 200px;
    color:rgb(252, 50, 50);
    text-align: left;
    position: absolute;
    top: 30px;
    right: -230px;
}

#submit-value{
    padding: 20px;
    color: white;
    background-color: rgba(50, 230, 101, 0.674);
    font-size: 1rem;
    font-family: sans-serif;
    grid-area: 5/1/5/3;
}

#link-container{
    margin-top: 5vh;
    font-size: 1rem;
    line-height: 30px;
}

.footer-links{
    color: white;
    margin-right: 10px;
}


@media (max-width: 960px) {

    img{
        max-width: 350px;
    }

    .nav{
        font-size: .7rem;
        margin-right: 5px;
    }

    #profile-img-container{
        margin-top: 14vh;
    }

    #profile-img{
        animation-name: none;
        width: 50px;
        height: 50px;
    }


    #download-btn{
        animation-name: none;
        border-width: 3px;
            border-radius: 30px;
            font-size: .7rem;
            font-family: sans-serif;
            padding: 5px 10px;
            margin-top: 2vh;
            background-color: black;
                color: rgb(50, 230, 100);
                border-color: gray;
    }

    #submit-value{
        padding: 5px 10px;
        font-size: .7rem;
    }

    .project-container{
        max-width: 350px;
    }

    #form-header{
        padding-top: 50px;
    }
    
    form {
        gap:20px;
        grid-template-columns: 80px 1fr;
    }
    small{
        right: -220px;
        top: 25px;
    }
    
    legend{
        font-size: 1rem;
    }
}

@media (min-width: 2560px){
    #project-tile{
        max-width: 1200px;
    }
}




