/* UNIVERSAL STYLE */
* {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    font-size: 10px;
    scroll-behavior: smooth;
}

/* MAIN PRIMARY COLORS */
:root {
    --brandcolor1: #6fb3e7;
    --brandcolor2: #ffffff;
    --brandcolor3: #065c69;
    --brandcolor4: #f6690b;
    --brandcolor5: #022e41;
}


/* BASE STYLES */

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    background-color: var(--brandcolor1);
    color: var(--brandcolor2);
    line-height: 1.4;
}

h1,
h2 {
    font-family: 'Baloo Da 2', cursive;
    font-weight: 500;
    text-align: center;
}

h1{
    font-size: 4vw;
}

h2{
    font-size: 2vw;
}

ul{
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--brandcolor2);
}

img {
    display: block;    
}

/* NAVIGATION STYLE */

.nav-bar {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--brandcolor1);
    box-shadow: 0 7px 0 #4c05ff;
    z-index: 10;
}

.nav-list {
    display: flex;
    margin-right: 2rem;
}

.nav-list a {
    display: block;
    font-size: 2rem;
    padding: 2rem;
}

.nav-list a:hover {
    background: #2658f0;
}

/* WELCOME TEXT STYLE */

.welcome_section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*  */
    /* background-image: linear-gradient(80deg, #88a885 50%, #e8f6ff 50%); */
}

.welcome_section > p {
    font-family: 'Nosifer', cursive;
    padding: 10px;
    font-size: 3rem;
    font-weight: 200;
    font-style: italic;
    color: var(--brandcolor5);
}

/* PROJECT TILES STYLE */

.projects_section {
    text-align: center;
    padding: 10rem 6rem;
    background: var(--brandcolor3);
    box-sizing: border-box;
    border-radius: 10px 80px;
}

.projects_section_header {
    max-width: 100vw;
    font-size: 2.5vw;
    margin: 0 auto 6rem auto;
    border-bottom: 1rem double var(--brandcolor1);
}

.projects_grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: 6rem;
    
}

.project_tile {
    background: var(--brandcolor1);
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
}

.code {
    color: var(--brandcolor1);
    transition: color 0.3s ease-out;

}

.project_tile:hover .code{
    color: #0f0488;
}

.project_image {
    height: calc(100% - 6.8rem);
    width: 100%;
    object-fit: cover;
}

.project_title {
    font-size: 2rem;
    padding: 2rem 0.5rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 3px;
}

.button_show_all {
    font-size: 2rem;
    background: var(--brandcolor1);
    transition: background 0.2s ease-out;
}

.button_show_all:hover {
    background: var(--brandcolor4);
}

.button_show_all:hover > i {
    transform: translateX(3px);
}

.button_show_all > i {
    margin-left: 10px;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

/* CONTACT DETAILS STYLE */

.contact_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70vh;
    padding: 0 3rem;
    background:var(--brandcolor1);
    color: var(--brandcolor5);
}

.contact_section_header > h2{
    font-size:7vw;
    font-family: 'Italianno', cursive;
}

.contact_section_header > p {
    font-style: italic;
    font-family: 'Baloo Da 2', cursive;
    font-size: 5vw;
}

.contact_links {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: 980px;
    margin-top: 5rem;
    flex-wrap: wrap;
    
    
}

.contact_details {
    font-size: 2.4rem;
    text-shadow: 2px 2px 1px #2e2c2d;
    transition: transform 0.3s ease-out;
    color:var(--brandcolor2);
}

.contact_details:hover {
    transform: translateY(8px);
    color:var(--brandcolor4);
    
}

/* FOOTER STYLE */

footer {
    font-weight: 400;
    text-align: center;
    padding: 2rem;
    background: var(--brandcolor3);
}