@import url('https://fonts.googleapis.com/css2?family=Abel&family=Libre+Baskerville:ital@1&family=Noto+Sans+Display:wght@300;400;600&family=Noto+Sans:wght@100;400;500;700&family=Petrona:wght@600&family=Shadows+Into+Light&display=swap');

/************************************************
*****************   VARIABLES   *****************
************************************************/

:root {
    --white: #FAFAFA;
    --shady-white: #D8E4FF;
    --black: #242325;
    --black-tp: rgba(0, 0, 0, 0.075);
    --light-green: #5DFDCB;
    --light-green-tp: rgba(92, 252, 201, 0.749);
    --green: #09E85E;
    --light-blue-tp: rgba(62, 160, 190, 0.8);
    --blue: #283a68;
    --dark-blue: #111d3b;

    --font-Noto-Sans: 'Noto Sans', sans-serif;
    --font-Noto-Sans-Display: 'Noto Sans Display', sans-serif;
    --font-Petrona: 'Petrona', serif;
    --font-Abel: 'Abel', sans-serif;
}

/************************************************
*****************   KEYFRAMES   *****************
************************************************/

@keyframes bounce {
    0% {transform: translateY(0);}
    100% {transform: translateY(40px);}
}

/*********************************************************
*****************   UNIVERSAL SETTINGS   *****************
*********************************************************/

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

html {
    font-size: 10px;
    min-width: 300px;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: var(--dark-blue);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.freezed {
    overflow: hidden;
}

/*****************************************************
*****************   COLOR SETTINGS   *****************
*****************************************************/

/* WHITES */

.wide-ml-skip,
.ml-skip,
.mlw-skip,
.burger-menu,
.hello,
.profession,
.me,
.my-story,
.attention,
.tool figcaption,
.proj-name,
.proj-desc,
.proj-tools,
.hire-me,
.nav-footr-l-skip,
.copy { color: var(--white); }

/* LIGHT GREENS */

.open-resume-btn,
.hedr-open-resume-btn,
.hello span,
.contact-btn,
.github-link-btn,
.input-box { color: var(--light-green); }

/* LIGHT GREEN TP */

.btn-typ1 {
    color: var(--light-green-tp);
}

/* LIGHT BLUE TP */

.sec-title,
::placeholder {
    color: var(--shady-white);
}

/* GREENS */

.in-progress { color: var(--green); }

/* BLACKS */

.btn-typ2 { color: var(--black); }

/**********************************************************
*****************   FONT STYLE SETTINGS   *****************
**********************************************************/

/* NS-DISP-LIGHT */

.nav-footr-l-skip {
    font-family: var(--font-Noto-Sans-Display);
    font-weight: 300;
}

/* NS-DISP-REG */

.sec-title,
.tool figcaption,
.copy {
    font-family: var(--font-Noto-Sans-Display);
    font-weight: 400;
}

/* NS-THIN */

.hello {
    font-family: var(--font-Noto-Sans);
    font-weight: 100;
}

/* NS-REG */

.my-story,
.hire-me,
.input-box {
    font-family: var(--font-Noto-Sans);
    font-weight: 400;
}

/* NS-MED */

.proj-card *,
.submit-btn {
    font-family: var(--font-Noto-Sans);
    font-weight: 500;
}

/* NS-BOLD */

.open-resume-btn,
.hedr-open-resume-btn,
.contact-btn,
.attention,
.in-progress,
.demo-btn,
.github-link-btn {
    font-family: var(--font-Noto-Sans);
    font-weight: 700;
}

/* Abel */

.profession {
    font-family: var(--font-Abel);
}

/* Petrona */

.me {
    font-family: var(--font-Petrona);
}

/* CAPITALIZE*/

.txt-caps {
    font-variant: small-caps;
}

.txt-upr {
    text-transform: uppercase;
}

.txt-italic {
    font-style: italic;
}

.txt-brzy {
    letter-spacing: 3px;
    word-spacing: 2px;
}

.fs-xxs {
    font-size: 1.6rem;
}

.fs-xs {
    font-size: 2rem;
}

.fs-s {
    font-size: 2.5rem;
}

.fs-m {
    font-size: 3rem;
}

.fs-l {
    font-size: 4.5rem;
}

.fs-xl {
    font-size: 6.5rem;
}

.centr {
    text-align: center;
}

/*****************************************************
*****************  BUTTON SETTINGS   *****************
*****************************************************/

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    margin: 0 auto;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 150ms ease-in-out;
}

.btn-typ1 {
    border: 3px solid var(--light-green-tp);
}

.btn-typ2 {
    background-color: var(--light-green-tp);
}

.btn-typ3 {
    background-color: var(--light-green-tp);
    border: none;
    border-radius: 2px;
    width: fit-content;
    padding: 10px;
    letter-spacing: 1px;
}

.btn-typ4 {
    background-color: var(--light-green-tp);
    padding: 5px;
    color: var(--black);
    border-radius: 20px;
    border: none;
}

/***********************************************************
*****************   HEADER / NAVBAR MENU   *****************
***********************************************************/

.fscr-hedr {
    background-image: url("../content/images/bg/bg_im.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    min-height: 100vh;
}

.hedr-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 95vh;
}

.hedr-socials {
    display: none;
}

.navbar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 60px;
    padding: 0 26px;
    z-index: 2;
    background-color: #293a57;
    box-shadow: 0 -1px 20px var(--dark-blue);
}

.navbar-logo {
    height: 50px;
}

.burger-menu-btn {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
    cursor: pointer;
}

.burger-menu1,
.burger-menu2,
.burger-menu3 {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 16px;
    margin: 2px 0;
    transition: all 150ms ease-out;
}

.burger-menu2 {
    width: 20px;
}

.toggled .burger-menu1 {
    transform: rotate(45deg) translate(6px, 7px);
}

.toggled .burger-menu2 {
    background-color: transparent;
}

.toggled .burger-menu3 {
    transform: rotate(-45deg) translate(6px, -7px);
}

.menu {
    display: none;
}

.open {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--black);
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    z-index: -1;
}

.ml-wide {
    display: none;
}

.ml-itm {
    margin: 2rem 0;
}

.ml-skip {
    letter-spacing: 4px;
}

.download-icon {
    width: 32px;
    height: 26px;
}

.menu-socials .github-profile {
    margin-right: 40px;
}

.hello {
    max-width: 70%;
    margin-left: 20px;
    padding-top: 60px;
}

.profession {
    margin: 16px 0 0 20px;
}

.contact-btn {
    margin-top: 50px;
    padding: 10px;
    letter-spacing: 1px;
    width: fit-content;
}

.hedr-open-resume-btn {
    display: none;
}

.anim-arrow-right {
    width: 32px;
    height: 26px;
}

.skip-to-projects {
    width: 100%;
    margin: 50px 0;
}

.skip-btn {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 2px solid var(--white);
    border-radius: 50%;
    margin-top: 20px;
    padding-top: 5px;
}

.anim-arrow-down {
    animation: bounce 1.5s ease-in infinite alternate;
}

/***************************************************
*****************   MAIN CONTENT   *****************
***************************************************/

.sec-title {
    width: max-content;
    margin: 36px auto;
}

.name-card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--blue);
    padding: 12px;
    box-shadow: 0 0 6px 1px #5aa7d1;
}

.me::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--white);
    margin: 10px auto;
}

.toolbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 60px;
}

.tool {
    margin: 12px;
}

.tool svg {
    width: 80px;
}

.tool-name {
    margin: 6px 0 0;
}

.in-progress {
    width: 300px;
    margin: 10px auto 0;
}

.project-container {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    background-color: var(--blue);
    width: 100%;
    margin: 0 auto;
    padding: 20px 5px;
}

.proj-card {
    position: relative;
    overflow: hidden;
    margin: 20px;
    box-shadow: 0 0 40px var(--dark-blue);
}

.proj-img-box {
    height: 300px;
}

.proj-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.proj-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: all 500ms ease-out;
}

.proj-name {
    margin: 10px auto 20px;
}

.proj-desc,
.proj-tools {
    width: 300px;
}

.proj-card:hover .proj-details {
    top: 0;
    background-color: var(--black);
    box-shadow: 0 2px 6px 4px  var(--black);
}

.proj-card:hover .proj-img {
filter: blur(2px);
}

.proj-tools {
    display: flex;
    align-items: center;
    align-content: center;
    margin-top: 10px;
}

.used-techs {
    margin: 6px 6px 0 0;
}

.proj-btns {
    position: relative;
    top: 35px;
    display: flex;
    gap: 6px;
}

.demo-btn,
.github-link-btn {
    width: 174px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.input-box {
    width: 100%;
    height: 40px;
    margin: 8px 0;
    padding: 10px;
    border: none;
    background-color: transparent;
    outline: 1px solid var(--light-green-tp);
    user-select: auto;
}

.input-box:focus {
    outline: 2px solid var(--light-green-tp);
    background-color: var(--black-tp);
}

.message-box {
    height: 220px;
    resize: none;
}

.submit-btn {
    margin-top: 24px;
}

/*****************************************************
*****************   FOOTER CONTENT   *****************
*****************************************************/

footer {
    margin-top: 120px;
}

.nav-footr {
    display: flex;
    justify-content: space-around;
}

.nav-footr-socials {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.copy {
    font-size: 1.4rem;
    margin: 20px 0 0;
    padding: 10px 0;
}

/****************************************************
*****************   530px MEDIA Q   *****************
****************************************************/

@media screen and (min-width: 532px) {

    .proj-img {
        max-width: 500px;
    }

}


/****************************************************
*****************   576px MEDIA Q   *****************
****************************************************/

@media screen and (min-width: 576px) {
    .freezed {
        overflow: auto;
    }

    .burger-menu-btn {
        display: none;
    }

    .open {
        display: none;
    }

    .ml-wide {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .mlw-skip {
        padding: 18px;
        display: block;
    }

    .menu-socials,
    .open-resume-btn {
        display: none;
    }

    .contact-btn {
        margin: 50px 20px;
    }

    .profession {
        display: inline-block;
        margin-right: 20px;
    }

    .hedr-open-resume-btn {
        display: inline-block;
        width: 60px;
    }

    .hedr-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hedr-socials {
        margin-right: 40px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/****************************************************
*****************   768px MEDIA Q   *****************
****************************************************/

@media screen and (min-width: 768px) {
    .fs-xxl {
        font-size: 8rem;
    }

    .btn-typ1:hover {
        background-color: var(--light-green);
        color: var(--black);
    }

    .btn-typ1:hover path {
        stroke: var(--black);
    }

    .btn-typ2:hover {
        background-color: var(--light-green);
    }

    .btn-typ3:hover {
        background-color: var(--light-blue-tp);
    }

    .btn-typ4:hover {
        background-color: var(--light-green);
        color: var(--black);
    }

    .github-profile path,
    .linkedin-profile path {
        transition: 300ms fill ease-out ;
    }

    .github-profile:hover path,
    .linkedin-profile:hover path {
        fill: var(--light-green);
    }

    .mlw-skip:hover {
        background-color: var(--black-tp);
        color: var(--light-green);
    }

    .hello {
        width: 400px;
        margin-top: 40px;
    }

    .hello,
    .profession,
    .contact-btn {
        margin-left: 160px;
    }

    .name-card,
    .in-progress {
        width: 750px;
    }

    .project-container {
        flex-direction: row;
        justify-content: space-around;
        max-width: 1150px;
    }

    form {
        width: 600px;
    }

    .nav-footr-l-skip:hover {
        color: var(--light-green-tp);
    }
}

/****************************************************
*****************   992px MEDIA Q   *****************
****************************************************/

@media screen and (min-width: 992px) {
    .toolbox {
        max-width: 768px;
        margin: 60px auto;
    }

    .nav-footr {
        flex-direction: column;
        align-items: center;
    }

    .nav-footr-l {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        width: 600px;
        gap: 40px;
    }

    .nav-footr-socials {
        flex-direction: row;
        margin-top: 20px;
    }
}