* {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}



/*nav styling*/
#navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    background-color: #212226;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
}

#navbar ul {
    display: flex;
    padding: 20px;
}

.nav-link {
    padding: 20px;
    color: white;
    transition: all .2s ease-in-out;
}

.nav-link:hover {
    background-color: white;
    color: #212226;
}

@media (max-width: 500px) {
    #navbar {
        justify-content: center;
        position: absolute;
        text-align: center;
    }

    #navbar ul {
        flex-direction: column;
    }

    #navbar li {
        padding: 20px;
    }
}


/*welcome styling*/
#welcome-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}



/*projects styling*/
#projects {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: cadetblue;
    height: 100vh;
}

#projects h1 {
    text-align: center;
        margin: 50px 0 50px 0;
}

.projects-box {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 60px;
    
}

.project-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(90% / 2);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: all .2s ease-in-out;
    margin-bottom: 50px;
}

.project-tile:hover {
    transform: scale(1.04);
}

.projects-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.project-title {
    padding: 30px;
    background-color: #212226;
    color: white;
}

@media (max-width: 600px) {
    #projects {
        height: auto;
    }
    
    #projects h1 {
        margin-top: 20px;
    }

    .projects-box {
        flex-direction: column;
        align-items: center;
    }

    .project-tile {
        width: 80%;
        margin-bottom: 20px;
    }

    .project-tile:hover {
        transform: none;
    }

}



/*contact styles*/
#contact {
    height: 100vh;
    align-items: center;
    background-color: #df9ba5;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}

.contact-header {
    padding-bottom: 30px;
}

.contact-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.contact-link {
    color: #212226;
}

.contact-links li {
    padding: 0 10px 10px 10px;
    transition: all .2s ease-in-out;
}

.contact-links li:hover {
    transform: scale(1.2);
}

@media (max-width: 500px) {
    .contact-links ul {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .contact-links li {
        padding: 10px;
    }
}