* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root { 
    --title: 'Noto Sans JS', sans-serif; 
    --main: 'Roboto', sans-serif;
    --primary: #519259;
    --secondary: #F4EEA9;
    --tertiary: #064635;
    --foot: #519259;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--title);
    margin-bottom: 0px;
}

/* Header Section */

header { 
    background-color: var(--primary);
    width: 90%;
    margin: 20px auto auto auto;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21);
 
}
header .tablet-desktop { 
    display: none;
}
header .dropdown { 
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px 5px 10px; 
    /* position: relative; */
    height: 92px;
}

header li a:hover { 
    color: white;
    font-weight: 700;
    /* font-size: 1.1em; */
}

.dropdown a.fas { 
    background-color: var(--primary);
    color: black;
    text-decoration: none;
} 


/* Main Section */

/* Title */

#title { 
    font-family: var(--title);
    font-weight: 700;
    font-size: 1.5em;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21); */
}

.animation { 
    padding-left: 30px;
    /* width: 100%; */
    align-self: center;
}

.animation::before { 
    content: "Software Engineer";
    animation: animate infinite 7s;
}

@keyframes animate {
   
    0% {
        content: "";
    }

    50% {
        content: "Fullstack developer";
    }

    75% {
        content: "Software Engineer";
    }
}

/* About */

#about { 
    width: 90%;
    margin: 0 auto 0 auto;
    background-color: var(--tertiary);
    color: white;
    font-family: var(--main);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 0 0 50px 0;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21);
}

#about p { 
    text-align: center;
}

/* Projects */

#projects { 
    width: 90%; 
    margin: 20px auto;
    display: flex; 
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#projects .project-title { 
    font-size: 1.5em;
    font-weight: 700;
}

#projects img { 
    border-bottom: 5px solid black;
    object-fit: contain;
}

.hidden-text { 
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    transform: translate(0,0);
    width: 11.5em;
    height: 200px;
    text-align: center;
    padding-top: 80px;
    font-family: var(--main);
    font-size: 1.5em;
    font-weight: 700;
   
}

.hidden-text:focus { 
    outline: none;
    box-shadow: 0 0 0 5px rgba(21, 156, 228, 0.4);    
}

#projects h5 { 
    font-weight: 700;
}

#projects p .card-text { 
    font-family: var(--title);
    font-weight: 400;
    font-size: 1em;
    height: 50%;
}

.card {
    margin: 10px 0;
    position: relative;
}

.btn  { 
    background-color: #519259 !important;
    border: none !important;
}

/* Contact */

#contact-me { 
    font-family: var(--title);
    color: var(--primary);
    background-color: var(--tertiary);
    height: 25%;
    width: 90%; 
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 50px 0 0 0;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21);
}

#contact-me p { 
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.5em;
}

/* Form */

form { 
    margin-left: 15px;
}

#contact-me label { 
    color: white;
    font-weight: 300;
    font-size: 1em;
}

#contact-me #submit-button { 
    border-radius: 15px;
    padding: 5px 15px;
    text-align: center;
    background-color: #ffffff;
    margin: 10px 89px 20px;
    border: none; 
}

#contact-me #submit-button:hover { 
    background-color: var(--tertiary);
}

/* Social */

#social { 
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    height: 10%;
    background-color: #ffffff;
    /* box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21); */
}

#social h3 { 
    font-family: var(--title);
    font-weight: 700;
    font-size: 1.5em;
}

#social ul { 
    display: flex;
}

#social ul li { 
    list-style: none;
    color: var(--foot);
    padding: 10px 10px;
    font-size: 30px;
    
}

#social ul li a { 
    text-decoration: none;
    color: var(--foot);
    padding: 0 5px;
   
}

#social ul li a:hover { 
    color:var(--tertiary);
}

#social ul li a:focus { 
    color: var(--primary);
}

#social ul li a:active { 
    color: #ffffff;
}

#blog h4, #blog h3{ 
    text-align: center;
}



/* Footer */

footer { 
    /* grid-column: 1 / 3; 
    grid-row: 3/ 4; */
    background-color: var(--foot);
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40%;
    border-radius: 50px 0 0 0;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.21);
}

footer ul { 
    list-style: none;
    color: white;
    display: flex;
    font-size: 0.5em;
    justify-content: space-around;
    align-items: center;
    
}

footer ul li a { 
    padding: 5px;
    text-decoration: none;
    color: white;
}

footer ul li a:hover { 
    color: white;
    font-weight: 700;
    font-size: 1.1em;
}

footer ul li a:visited { 
    color: white;
    text-decoration: none;
} 




@media screen and (min-width: 768px) { 
    #contact-me { 
        display: block;
        text-align: center;
    }

    .project-header { 
        width: 90%;
        text-align: center;
    }

    .card { 
        margin: 10px 10px;
    }

    #contact-me { 
        padding-top: 20px; 
    }
    
    header div.dropdown { 
        display: none;
    }

    header .tablet-desktop { 
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: black;
        padding: 5px 10px;
    }

    .tablet-desktop ul { 
        display: flex;
    }

    .tablet-desktop li { 
        list-style: none;
        padding: 5px;
    }

    .tablet-desktop li a { 
        text-decoration: none;
        color: black;
    }

    footer { 
        height: 50px;
        font-size: 2em;
    }
    #about { 
        padding: 5px 60px;
        height: 200px;
    }

    textarea, #fname, #email{ 
        width: 500px;
    }

}

@media screen and (min-width: 1024px) { 
    #title { 
        font-size: 2em;
    }
    #about { 
        font-size: 1.5em;
    }
    #about div { 
        width: 400px;
    }

    .hidden-text:hover { 
        opacity: 0.9; 
        transform: translate(0,0);
        background-color: var(--primary);
        /* border-radius: 15px; */
        color: white;    
    }

    .btn:hover { 
        background-color: #6E7582 !important;
    } 

    #contact-me #submit-button:hover { 
        background-color: #eeeeee;
    }
}

@media screen and (min-width: 1440px) { 
    textarea, #fname, #email { 
        width: 700px;
    }
  
}