:root {
    --font-clr-gold: #ff7200;
    --font-clr-white: #efefef;
    --font-family: Arial, Helvetica, sans-serif;
    --bg-dark-black: rgba(0, 0, 0, 0.3);
    --transition: all 0.4s ease-in-out;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    backdrop-filter: blur(8px);
    background-image: url('../images/IMG_19700101_190646.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.container {
    width: 80%;
    margin: 0 auto;
}

/* ====================== Hero/Banner ===================== */
.hero {
    max-width: 100vw;
    height: 95vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5)50%, rgba(0, 0, 0, 0.5)50%), url("../images/IMG_19700101_190646.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: auto 100%;
    background-repeat: repeat;
    background-color: darkgray;
}
.hero > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.5rem;
    height: 100%;
}
/* Nav */
.nav {
    /* background: black; */
    height: 4rem;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_header {
    font-size: 2rem;
    color: var(--font-clr-gold);
    font-family: var(--font-family);
}
.nav_toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: none;
    background: transparent;
    font-size: 2.4rem;
    color: var(--font-clr-gold);
}
/* TODO: smooth transition of menu */
.nav_links {
    display: flex;
    gap: 1rem;
}
.nav_links a {
    text-decoration: none;
    color: var(--font-clr-white);
    font-family: var(--font-family);
    font-weight: bold;
    padding: 1rem;
    border-radius: 1.5rem;
    transition: var(--transition);
}
.nav_links a:hover {
    color: var(--font-clr-gold);
    background: var(--bg-dark-black);
    transform: scale(90%);
}
/* end nav */

/* hero content */
.hero_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    /* align-items: center; */
    height: 80%;
    max-height: 100%;
    /* width: 80%; */
    color: var(--font-clr-white);
}
.hero_content-header {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
}
.hero_tag {
    display: flex;
    flex-direction: column;
    font-size: 5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}
.hero_tag-name {
    color: var(--font-clr-gold);
}
.hero_tag-line {
    color: rgba(0, 0, 0, 0.8);
}
.hero_content-body {
    width: 40%;
    font-family: var(--font-family);
    font-size: 1.2rem;
}
.hero_btns {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}
.hero_btn-resume,
.hero_btn-more {
    /* padding: 0.8rem; */
    width: 10rem;
    height: 3rem;
    border-radius: 0.5rem;
    border: none;
    background: var(--font-clr-gold);
    transition: var(--transition);
}
.hero_btn-resume:hover,
.hero_btn-more:hover {
    background: var(--font-clr-white);
    transform: scale(110%);
}
.hero_btns a {
    text-decoration: none;
    color: black;
    background: transparent;
    padding: 0.9rem 1.3rem;
    font-size: 1rem;
    width: 100%;
    height: 100%;
}
/* end hero content */

/* tablet Hero/Banner media query */
@media screen and (max-width: 946px) {
    /* banner > nav */
    .nav_header {
        font-size: 1.7rem;
    }
    .nav_links {
        gap: 0;
    }
    .nav_links a {
        padding: 0.5rem;
    }
    .nav_links a:hover {
        border-radius: 1rem;
    }
    /* banner > content */
    .hero > .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5.5rem;
    }
    .hero_content{
        gap: 1rem;
    }
    .hero_tag {
        font-size: 4rem;
    }
    .hero_content-body {
        width: 70%;
        font-size: 1.1rem;
    }
    .hero_btns {
        margin-top: 3rem;
    }
}

/* mobile Hero/Banner media query */
@media screen and (max-width: 425px) {
    .container {
        width: 90%;
    }
    /* banner > nav */
    .nav_links {
        display: none;
        gap: 0.5rem;
    }
    .nav_toggle {
        display: block;
    }
    .nav_links-toggle {
        display: grid;
        position: absolute;
        top: 4rem;
        right: 0;
        width: 100%;
        gap: 1rem;
        backdrop-filter: blur(5px);
        /* height: 80%; */
        padding: 2rem 4rem;
        padding-right: 0;
        padding-bottom: 10rem;
    }
    .nav_links-toggle a {
        /* padding: 0; */
        /* font-weight: normal; */
        display: list-item;
        font-size: 2rem;
        border-top: 2px solid var(--font-clr-gold);
        background: rgba(0, 0, 0, 0.8);
    }
    .nav_links a:first-child {
        display: none;
    }
    .nav_links a:hover{
        background-color: transparent;
    }
    /* banner > content */
    .hero_content {
        gap: 0.5rem;
    }
    .hero_tag {
        font-size: 2rem;
    }
    .hero_content-body {
        width: 70%;
        font-size: 1rem;
    }
    .hero_btns {margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ====================== END: Hero/Banner ===================== */

/* ============================ about ========================== */
.about {
    margin-top: 15rem;
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    align-items: center;
}
.about-title {
    color: var(--font-clr-gold);
    font-size: 3rem;
    position: absolute;
    top: -10rem;
}
.about-left {
    margin-left: 10rem;
}
.about_img {
    position: relative;
    height: 30rem;
}
.about_img-bg {
    width: 16rem;
    height: 30rem;
    position: absolute;
    top: 0;
    background: var(--bg-dark-black);
    transition: 500ms ease;
}
.about img {
    height: 30rem;
    max-width: 100%;
}
.about_img-lg {
    position: relative;
    left: 1rem;
    bottom: 1rem;
    filter: saturate(0) brightness(0.4);
    transition: 500ms ease;
}
.about_img-sm {
    position: absolute;
    top: 3rem;
    left: 7rem;
    box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, 0.7);
    transition: 500ms ease;
}
.about_img-sm img {
    height: 15rem;
}
.about_img:hover .about_img-sm {
    opacity: 0;
}
.about_img:hover .about_img-bg {
    width: 24.5rem;
    height: 32rem;
    top: -1rem;
    left: -1rem;
}
.about_img:hover .about_img-lg {
    filter: saturate(1) brightness(1);
    left: 0;
    bottom: 0;
}
.about-right {
    margin-left: 2rem;
    display: grid;
    gap: 0;
    align-items: center;
    font-family: var(--font-family);
    font-size: 1.1rem;
}
.about-right p {
    margin: 0 4rem 1.5rem 0;
}

/* tablet about media query */
@media screen and (max-width: 946px) {
    .about {
        gap: 2rem;
        grid-template-columns: 35% 65%;
        align-items: normal;
    }
    .about-left {
        margin-left: 0;
    }
    .about_img {
        height: 20rem;
    }
    .about_img-bg {
        width: 16.5rem;
        height: 21.5rem;
    }
    .about img {
        height: 20rem;
    }
    .about_img-lg {
        left: 0.75rem;
        bottom: -0.75rem;
        filter: saturate(1) brightness(1);
    }
    .about_img-sm {
        display: none;
    }
}
/* mobile about media query */
@media screen and (max-width: 425px) {
    .about {
        grid-template-columns: none;
        gap: 4rem;
    }
    .about-left{
        margin: 0 auto;
    }
    .about_img {
        height: 18rem;
    }
    .about_img-bg {
        width: 15rem;
        height: 19.5rem;
        top: -0.75rem;
    }
    .about img {
        height: 18rem;
    }
    .about_img-lg {
        bottom: 0;
    }
    .about-right {
        justify-content: center;
        margin: 0 auto;
        text-align: center;
        width: 90%;
        gap: 1rem;
    }
    .about-right p {
        margin: 0 auto;
    }
}
/* ====================== END: about =========================== */

/* ====================== projects ============================= */
.projects_container {
    margin-top: 10rem;
    margin-bottom: 5rem;
}
.projects_container > h2 {
    color: var(--font-clr-gold);
    font-size: 3rem;
    margin-bottom: 4rem;
}
.all-projects{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2rem;
    justify-content: center;
}
.project {
    background: var(--bg-dark-black);
    text-align: center;
    border: 1px solid transparent;
    transition: all 400ms ease;
}
.project:hover {
    background: transparent;
    border-color: var(--font-clr-gold);
    transform: scale(105%);
}
.project_img img {
    align-self: center;
    justify-self: center;
    max-width: 100%;
}
.project_info {
    padding: 1rem;
}
.project_info > h4 {
    color: var(--font-clr-gold);
}
.project_info p {
    margin: 1.2rem 0 1.5rem;
}
.project_info-links {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    height: 2rem;
    align-items: center;
    /* background: var(--font-clr-gold); */
}
.project_info-links a {
    text-decoration: none;
    color: var(--font-clr-gold);
    background: var(--bg-dark-black);
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: all 400ms ease;
}
.project_info-links a:hover {
    background: transparent;
    border: 1px solid var(--font-clr-gold);
}

/* tablet projects media query */
@media screen and (max-width: 946px) {
    .all-projects {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .project{
        width: 20rem;
        padding-bottom: 1rem;
    }
    .project_img {
        width: 20rem;
    }
    .project_info-links {
        margin-top: 2rem;
    }
    .project_info-links a {
        padding: 1rem;
    }
}
/* mobile about media query */
@media screen and (max-width: 425px) {
    .all-projects{
        grid-template-columns: repeat(1, 1fr);
    }
    .project {
        width: auto;
    }
    .project_img {
        width: 100%;
    }
}
/* ====================== END: projects ======================== */

/* ====================== contact ======================== */
.contact{
    /* background: var(--bg-dark-black); */
    background: url('../images/IMG_19700101_190646.jpg');
    padding: 4rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    margin: 7rem auto;
    border-radius: 1rem;
    height: 30rem;
    margin-top: 20rem;
}
.contact_aside {
    /* background: var(--bg-dark-black); */
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem;
    border-radius: 1rem;
    position: relative;
    color: var(--font-clr-white);
    bottom: 8rem;
}
.aside_img {
    width: 12rem;
    margin-bottom: 2rem;
}
.aside_img img {
    width: 100%;
}
.contact_aside h2 {
    margin-bottom: 1rem;
    color: var(--font-clr-gold);
}
.contact_aside p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.contact_details li, .contact_socials li {
    list-style: none;
}
.contact_details li a{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--font-clr-white);
}
.contact_details li a i {
    color: var(--font-clr-gold);
}
.contact_details li a:hover h5{
    text-decoration: underline;
    text-decoration-color: var(--font-clr-gold);
}
.contact_socials {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}
.contact_socials a {
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--font-clr-gold);
    font-size: 2rem;
    transition: all 400ms ease-in;
}
.contact_socials a:hover {
    background: var(--bg-dark-black);
    font-size: 2.5rem;
}
.contact_form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-right: 5rem;
}
.form_name {
    display: flex;
    gap: 1rem;
}
.contact_form input[type='text'] {
    width: 50%;
}
input, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark-black);
    color: var(--font-clr-white);
}
::placeholder {
    color: var(--font-clr-white);
}
.form_btn {
    display: inline-block;
    background: var(--font-clr-white);
    padding: 1rem 2rem;
    font-weight: 500;
    width: max-content;
    border: 1px solid transparent;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 400ms ease-in;
}
.form_btn:hover {
    background: transparent;
    border-color: var(--font-clr-gold);
    font-size: 1.2rem;
    font-weight: bold;
}

/* tablet contact media query */
@media screen and (max-width: 946px) {
    .contact {
        padding: 1.5rem;
        gap: 1.5rem;
        margin-top: 17rem;
        height: auto;
    }
    .contact_aside {
        width: auto;
        padding: 1.5rem;
        bottom: 0;
    }
    .contact_form {
        align-self: center;
        margin-right: 1.5rem;
    }
}

/* mobile contact media query */
@media screen and (max-width: 425px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 10rem;
        padding: 0;
    }
    .aside_img {
        margin-left: auto;
        margin-right: auto;
    }
    .contact_form {
        margin: 0 1.5rem 3rem;
    }
    .form_name {
        flex-direction: column;
    }
    .form_name input[type="text"] {
        width: 100%;
    }
}
/* ====================== END: contact ======================== */

/* ====================== footer ======================== */
.footer {
    background: url('../images/IMG_19700101_190646.jpg');
    padding-top: 5rem;
    font-size: 0.9rem;
    color: var(--font-clr-white);
}
.footer_container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    width: 80%;
    margin: 0 auto;
}
.footer_container>div h4{
    margin-bottom: 1.2rem;
}
.footer li {
    list-style: none;
}
.footer a {
    color: var(--font-clr-white);
    text-decoration: none;
}
.footer_1 {
    margin: 0 0 2rem;
}
.footer ul li {
    margin-bottom: 0.7rem;
}
.footer ul li a:hover {
    text-decoration: underline;
}
.footer-socials{
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}
.footer_4 p {
    margin-bottom: 0.7rem;
}
.footer-copy{
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--font-clr-white);
}

/* tablet footer media query */
@media screen and (max-width: 946px) {
    .footer_container {
        grid-template-columns: 1fr 1fr;
    }
}

/* mobile footer media query */
@media screen and (max-width: 425px) {
    .footer_container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}
/* ====================== END: footer ======================== */
