* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-white: rgb(240, 240, 240);
    --main-blue2: rgb(69, 86, 125);
    --main-black: rgb(50, 53, 55);
    --main-blue: rgb(69, 86, 125);
}

body {
    font-family: 'Roboto Slab', serif;
}

#navbar {
    display: flex;
    /* justify-content: space-between; */
    justify-content: right;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--main-blue2);
    height: 70px;
    width: 100%;
    border-bottom: 1px solid var(--main-white);
}

/* #navbar h1 {
    color: var(--main-white);
    font-weight: 300;
    font-size: 40px;
    margin-left: 25px;

} */

#navbar ul {
    /* border: 1px solid black; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 300px;
    height: 100%;
    margin-right: 25px;
}

#navbar ul li {
    display: inline;
}

#navbar ul li a {
    text-decoration: none;
    color: var(--main-white);
    font-size: 20px;
    font-weight: 500;
}

#navbar ul li a:hover {
    border-bottom: 2px solid var(--main-white);
}


#welcome-section {
    height: 100vh;
    width: 100%;
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--main-black);
}

#welcome-section h1 {
    text-align: center;
    color: var(--main-white);
    font-weight: 600;
    font-size: 55px;
}

#welcome-section p {
    text-align: center;
    color: var(--main-blue2);
    font-size: 30px;
    font-weight: 400;
    font-style: italic;
}

#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 1px solid blue; */
    background-color: var(--main-blue);
}

#projects h2 {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 110px 15px 60px 15px;
    color: var(--main-white);
    border-bottom: 2px solid var(--main-white);
    font-size: 38px;
    font-weight: 600;
    padding: 0 30px 5px 30px;
    max-width: 720px;
}

#projects-container {
    /* border: 1px solid black; */
    display: flex;
    max-width: 852px;
    margin: 0 15px 0 15px;
    margin-bottom: 90px;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 50px;
    column-gap: 50px;
}

.project {
    width: 400px;
    height: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0 0 3px 3px;
    background-color: var(--main-black);
    box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.100);
}

.project a {
    /* border: 1px solid red; */
    display: block;
    width: 100%;
    height: 410px;
    background-color: var(--main-white);
    display: flex;
    justify-content: center;
    align-items: center;

}

/* .project-img{
    object-fit: fill;
    width: 2px;
} */

.project a .img1{
   object-fit: fill; 
   width: 91%;
}
.project a .img2{
   object-fit: fill; 
   width: 90%;
}
.project a .img3{
   object-fit: fill; 
   width: 95%;
}
.project a .img4{
   object-fit: fill; 
   width: 100%;
}


.project p {
    height: 60px;
    /* width: 100%; */
    /* border: 1px solid blue; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-black);
    color: var(--main-white);
    font-size: 20px;
    font-weight: 400;
}


#contact {
    height: 80vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--main-black);
    color: var(--main-white);
    border-bottom: 3px solid var(--main-blue2);
}

#contact-section-header {
    /* border: 1px solid black; */
    margin-bottom: 20px;
}

#contact-section-header h2 {
    font-size: 60px;
    font-weight: 600;
    padding: 15px 15px 0 15px;
    /* border: 1px solid white; */
    text-align: center;
}


#contact-links {
    /* border: 1px solid white; */
    color: var(--main-white);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

}

#contact-links a {
    /* border: 1px solid white; */
    color: var(--main-white);
    text-decoration: none;
    font-size: 25px;
    transition: 0.3s ease-out;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
}

#contact-links a:first-of-type {
    margin-bottom: 5px;
}

#contact a:hover {
    /* border: 1px solid var(--main-white); */
    background-color: var(--main-white);
    color: var(--main-black);
    /* transform: translateX(10px); */
}

footer {
    /* border: 1px solid yellow; */
    flex-direction: row;
    background-color: var(--main-black);
    display: flex;
    justify-content: space-evenly;
    min-height: 50px;
    height: calc(20vh - 70px);
    align-items: center;

}

footer p {
    /* border: 1px solid green; */
    color: var(--main-white);
    font-size: 16px;
    font-weight: 300;
}

@media (max-width: 600px) {
    #navbar {
        display: flex;
        justify-content: center;
        position: sticky;
        overflow: hidden;
        top: 0;
        left: 0;
        height: 70px;
        width: 100%;
    }
    
    #navbar ul {
        /* border: 1px solid black; */
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        margin-right: 0;

    }
    
    #navbar ul li a {
        text-decoration: none;
        color: var(--main-white);
        font-size: 20px;
        font-weight: 300;
    }
    
    
    #welcome-section h1 {
        font-weight: 300;
        font-size: 50px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    #welcome-section p {
        font-size: 25px;
        font-weight: 300;

    }





    
    #projects h2 {
        font-size: 33px;
        font-weight: 400;
        max-width: 350px;
    }
    
    #projects-container {
        row-gap: 40px;
        column-gap: 40px;
    }
    
    .project {
        width: 280px;
        height: 350px;
    }
    

    
    .project a .img1{
       object-fit: fill; 
       width: 91%;
    }
    .project a .img2{
       object-fit: fill; 
       width: 90%;
    }
    .project a .img3{
       object-fit: fill; 
       width: 95%;
    }
    .project a .img4{
       object-fit: fill; 
       width: 100%;
    }
    
    .project p {
        font-size: 20px;
        font-weight: 300;
    }




    
    #contact-section-header h2 {
        font-size: 40px;
        font-weight: 400;
    }
    
    
    
    #contact-links a {
        font-size: 15px;

    }
    

    footer p {

        font-size: 10px;
        font-weight: 300;
    }


}

#back{
    font-size: 50px;
    color: white;
}

#back i{
    font-size: 50px;
    color: white;
}
