:root{
    --clr-orange: #df9c14;
    --clr-lightGreen: #339183;
    --clr-white: #F8FCFB;
    --clr-darkBlue: #041459;
    --clr-lightBlue: #3b437a;
    --clr-grey: #bababa;
    --clr-red: #d12929a9;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: inherit;
}

html{
    scroll-behavior: smooth;
}

body{
    background: var(--clr-grey);
    color: var(--clr-white);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
}

/* NAV BAR */
#navbar{
    display: flex;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--clr-lightGreen);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
    z-index: 10;
}

ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin-right: 2rem;
}

a{
    text-decoration: none;
}

#navbar a{
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--clr-white);
}

#navbar ul a:hover{
    background: var(--clr-darkBlue);
}

/* Welcome section */
#welcome-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(62deg, #5b5b5b 0%, #35435f 100%);
}

h1 {
    font-size: 4rem;
  }

h1 #name{
    color: var(--clr-orange);
}

#welcome-section p{
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--clr-lightGreen);
}

/* Projects section */
#projects{
    background: var(--clr-lightBlue);
    text-align: center;
    padding: 7rem 1rem;
}

#projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 1rem;
    width: 100%;
    max-width: 1280px;
    margin-bottom: 4rem;
    margin: 0 auto;
    margin-top: 50px;
}

.project-tile{
    background: var(--clr-red);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

a{
    text-decoration: none;
    border-radius: 2px;
    color: var(--clr-white);
    cursor: pointer;
}

.project-image{
    width: 100%;
    height: 81%;
}

/* Contact setion */
#contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(62deg, #35435f 0%, #5b5b5b 100%);
}

#contact h2{
    font-size: 4.5rem;
}

.contact-link{
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1500px;
    margin-top: 2rem;
    flex-wrap: wrap;
    transition: 0.35s;
}

.contact-details:hover{
    color: var(--clr-lightGreen);
    transition: 0.35s;
}

@media (max-width: 480px) { 
    *{
        width : 480px;
    }
}