/* Page fade animations and smooth scrolling
body {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

body.loaded {
    opacity: 1;
}

body.fade-out {
    opacity: 0;
}
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}
html {
    scroll-behavior: smooth;
}
*/
html {
    scroll-behavior: smooth;
    /* setting the default font size */
    font-size: 21px;
    font-family: "Roboto", sans-serif;

}

body {
    align-content: center;
    background-color: #E7E7E7;
    text-align: center;
    align-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: center;
    font-family: "Space Grotesk", "Montserrat", sans-serif;
    /* font-family: consolas, sans-serif; */
    margin: 2rem 0;
    font-weight: 500;
    line-height: 100%;
}

p {
    font-size: 1rem;
    /* font-family: "Roboto", sans-serif; */
    font-family: consolas;
    color: rgb(37, 40, 43, 0.75);
}

h1 {
    font-size: 3.815rem;
    margin: 1rem auto;

}

h2 {
    font-size: 3.052rem;
}

h3 {
    font-size: 2.441rem;
    font-weight: 300;
    margin: 1rem auto;
}

h4 {
    font-size: 1.953rem;
}

h5 {
    font-size: 1.563rem;
}

h6 {
    font-size: 0.8rem;
}

#contact {
    color: #1F93FF;
}

/* The hero section */
#hero_sect {
    margin: 2em 0 7em;

    /* position: relative; */
    /* height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; */
}

#hero_sect h3 {
    color: #1F93FF;
}

/* .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
} */


#Socials p,
#hero_sect p,
#about_sect p {
    padding: 0 23%;
}

#hero_sect h1 {
    padding: 0 15%;
}

/* About me */
#about_sect p {
    margin-bottom: 0;
}

#about_sect h4:nth-child(1) {
    font-family: "Anton", "Space Grotesk", sans-serif;
}


#technical {
    background-color: black;
    padding: 2em 0 5em;
}

#Socials {
    margin: 3.5em 0;
}


.technical-heading {
    font-family: consolas, sans-serif;
    color: #E7E7E7;

    /* font-weight: 300; */
}

#primary-button {
    padding: 1.5em 2.5em;
    position: relative;
    border-radius: 100px;
    font-weight: 600;
    border: 3px solid black;

    font-size: medium;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E7E7E7;
    color: black;
    cursor: pointer;
    background-clip: text;
    transition: transform ease-in 0.3s, box-shadow ease-in 0.25s;
    box-shadow: rgba(0, 0, 0, 0.392) 0px 18px 50px -10px;
}

#primary-button:hover {
    transform: scale(1.1);
}

#projects_sect {
    margin-bottom: 5rem;
}

@media (max-width: 808px) {
    html {
        font-size: 18px;
    }

    h1 {
        font-size: 2.986rem;
        margin: 1rem auto;
    }

    h2 {
        font-size: 2.488rem;
    }

    h3 {
        font-size: 2.074rem;
        font-weight: 300;
        margin: 1rem auto;
    }

    h4 {
        font-size: 1.728rem;
    }

    h5 {
        font-size: 1.44rem;
    }

    h6 {
        font-size: 0.75rem;
    }

    section {
        margin: 3em 0;
    }


    #hero_sect h1 {
        padding: 0 10%;
    }

    #hero_sect p,
    #about_sect p {
        padding: 0 10%;
    }

    #hero_sect {
        margin: 1.5em 0 5em;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 18px;
    }

    section {
        margin: 2em 0;
    }

    h1 {
        font-size: 2.027rem;
    }

    h2 {
        font-size: 1.802rem;
    }

    h3 {
        font-size: 1.602rem;
    }

    h4 {
        font-size: 1.424rem;
    }

    h5 {
        font-size: 1.266rem;
    }

    h6 {
        font-size: 0.8rem;
    }

    #hero_sect p,
    #about_sect p {
        padding: 0 5%;
    }

    #hero_sect {
        margin: 1em 0 2em;
    }
}

@media (min-width: 1440px) {
    #hero_sect {
        margin: 5em 0 10em;
    }
}