@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Comforter&family=Lato:wght@100;300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Lato, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.open-button {
    position: fixed;
    top: 40px;
    right: 40px;
    color: #777;
    z-index: 9;
}

.nav-button {
    height: 70px;
    width: 70px;
    font-size: 25px;
    border-radius: 50%;
    border: none;
    color: rgb(37, 31, 31);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
    transition: all .2s ease;
}

.nav-button:hover {
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .3);
}

.nav {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 40%;
    min-width: 330px;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform .5s ease-in;
    z-index: 10;
}

@media only screen and (max-width: 350px) {
    .nav {
        width: 80px;
    }

    .list {
        margin-left: 30px;
        font-size: .8rem;
    }

    .list ul {
        list-style-type: none;
        padding-left: 60px;
        font-size: .8rem;
    }
}

.nav.visible {
    transform: translateX(0);
    border: 5px solid rgb(37, 31, 31);
}

.close-button {
    position: fixed;
    top: 40px;
    right: 40px;
    background-color: rgb(37, 31, 31);
    color: #fff;
}

.list {
    list-style-type: none;
    padding: none;
    margin-top: 150px;
    padding-left: 30px;
}

.list li {
    margin: 20px 0;
    text-transform: uppercase;
}

.list li a {
    text-decoration: none;
    color: rgb(37, 31, 31);
    letter-spacing: .8px;
    transition: all .3s;
}

.list li a:hover {
    color: rgb(1, 211, 1);
    font-weight: 700;
}

.list ul {
    list-style-type: none;
    padding-left: 60px;
}

.nav-icon {
    margin-right: 15px;
}

.nav-icon-about {
    margin-right: 18px;
}

.fa-envelope {
    margin-bottom: 20px;
}

.nav-icon-solid {
    color: green;
    transition: all .3s ease;
}

.nav-icon-solid:hover {
    color: rgb(1, 211, 1);
}

.home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .4), rgba(9, 9, 121, .1)), url("marita-kavelashvili-ugnrXk1129g-unsplash.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.heading-div {
    margin-left: 5%;
    margin-bottom: 30px;
    z-index: 1;
}

.home-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-right: 25%;
    letter-spacing: 1px;
    font-weight: 700;
    z-index: 1;
    color: #fff;
}

.home-section h2 {
    letter-spacing: 1.3px;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    margin-right: 30px;
}

@media only screen and (max-width: 1000px) {
    .home-section h1 {
        font-size: 2rem;
        margin-bottom: 0px;
        font-weight: 500;
    }

    .home-section h2 {
        letter-spacing: 1.3px;
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 600px) {
    .home-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0px;
        font-weight: 500;
        margin-right: 30px;
    }

    .home-section h2 {
        letter-spacing: 1.1px;
        font-size: 1.2rem;
    }

}

.about-link-button-div {
    margin-left: 5%;
    margin-bottom: 10%;
    z-index: 1;
}

.about-link-button-div .about-link-button {
    padding: 10px 30px;
    font-size: 1.2rem;
}

.featured-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    background-color: #f1faee;
    margin: 0;
    min-height: 100vh;

}

.featured-section .featured {
    font-size: 3rem;
    margin-top: 10%;
    margin-left: 5%;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(green, rgb(37, 31, 31));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-section .container {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin: 0 0 0 5%;
}

.portfolio-item {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 5px solid rgb(37, 31, 31);
    margin: 30px 0;
    background-color: #072a2b;

}

@media only screen and (max-width: 800px) {
    .featured-section .featured-h2 {
        font-size: 2rem;
        margin-top: 10%;
        margin-left: 5%;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .portfolio-item {
        flex-direction: column;
        padding: 30px;

    }
}

@media only screen and (max-width: 600px) {
    .featured-section .featured-h2 {
        font-size: 1.5rem;
        margin-top: 20%;
        margin-left: 5%;
        letter-spacing: 1px;
        font-weight: 700;
        margin-bottom: 0;
    }

    .portfolio-item {
        flex-direction: column;
        padding: 30px;

    }
}

@media only screen and (max-width: 600px) {
    .portfolio-item {
        flex-direction: column;

    }

    .featured-section .container {
        width: 60%;
        display: flex;
        flex-direction: column;
        margin: 0 0 0 5%;
    }
}

.portfolio-description {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 5%;
    color: #fff;
    font-weight: 300;
}

.portfolio-item h3 {
    font-weight: 300;
    text-transform: uppercase;
}

.portfolio-description p {
    line-height: 25px;
    font-weight: 400;
}

.live-site-a {
    color: rgb(1, 156, 1);
    text-decoration: none;
    font-weight: 700;
    transition: all .2s ease;
    text-transform: uppercase;
    margin-top: 10px;
    margin-left: 1px;
}

.live-site-a:hover {
    color: rgb(1, 211, 1);
}

.portfolio-image img {
    width: 100%;
    transition: all .5s;
}

.portfolio-image img:hover {
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .6);
    transform: translateY(-2px);
}

.portfolio-image img:active {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, .6);
    transform: translateY(-1px);
}

.portfolio-website-title {
    margin-bottom: 7px;
}

@media only screen and (min-width: 1200px) {
    .portfolio-website-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .skill-tag {
        background-color: #f1faee;
        padding: 4px 5px;
    }
}

.skill-tag {
    background-color: #f1faee;
    padding: 2px 5px;
    font-size: .8rem;
    margin-right: 5px;
}

.skill-tags-p {
    color: #222;
}

.portfolio-item .skill-tags-p {
    margin: 0 0 5px 0;
}

.portfolio-link-textandbutton-div {
    display: flex;
    margin: 5% 0 10% 5%;
    width: 100%;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    .portfolio-link-textandbutton-div {
        display: flex;
        flex-direction: column;
        margin: 5% 0 10% 5%;
        width: 100%;
        align-items: flex-start;
    }

    .portfolio-link-textandbutton-div .portfolio-btn-pretext {
        letter-spacing: 1px;
        font-size: 1rem;

    }

    .portfolio-link-textandbutton-div .portfolio-link-button {
        padding: 10px 30px;
        margin-left: 0px;
        font-size: 1.1rem;
        border-radius: 50px;
        letter-spacing: 2.5px;
        cursor: pointer;
        transition: all .2s;
    }
}

.portfolio-link-textandbutton-div p {
    letter-spacing: 1px;
    font-size: 1.2rem;
}

@media only screen and (max-width: 400px) {
    .portfolio-link-textandbutton-div p {
        font-size: .9rem;
    }
}

.portfolio-link-textandbutton-div button {
    padding: 10px 30px;
    margin-left: 10px;
    font-size: 1.3rem;
    border-radius: 50px;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: all .2s;
}

.portfolio-link-textandbutton-div button:hover {
    transform: translateY(-2px);
    font-size: 1.4rem;
}

.portfolio-link-textandbutton-div button:active {
    transform: translateY(-1px);
}

.about-section-one {
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    color: #222;
}

.about-section-one header {
    width: 100%;
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .4)), url("https://images.unsplash.com/photo-1448375240586-882707db888b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    height: 70vh;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-section-one h1 {
    font-size: 4rem;
    margin-left: 5%;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-section-one .about-content {
    letter-spacing: 1px;
    width: 70%;
    max-width: 800px;
    margin-left: 10%;
    margin-top: 20px;
}

.about-intro {
    line-height: 28px;
    margin-top: -20px;
    margin-left: 5%;
    letter-spacing: 1.3px;
    font-size: 1.6rem;
    font-weight: 300;
}

@media only screen and (max-width: 750px) {
    .about-section-one h1 {
        font-size: 3rem;
        margin-bottom: 30px;
        font-weight: 500;
    }

    .about-intro {
        letter-spacing: 1.3px;
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 600px) {
    .about-section-one h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        font-weight: 500;
    }

    .about-intro {
        letter-spacing: 1.1px;
        font-size: 1rem;
        line-height: 25px;
        margin-right: 5%;
    }

}

@media only screen and (min-width: 800px) {
    .about-intro {
        margin-right: 30%;
    }
}

.skill-tag.my-name {
    font-size: 1.4rem;
    padding: 0 10px;
    color: #222;
}

.faq-box {
    border: 1px solid rgb(201, 200, 200);
    padding: 20px 60px;
    position: relative;
    margin: 30px 0;
    border-radius: 5px;
    transition: all .3s;
    background-color: rgba(41, 160, 41, .1);
    z-index: 1;
}

.faq-box.active {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .2), 0 3px 6px rgba(0, 0, 0, .1);
    background-color: #fff;
}

.faq-box .faq-answer {
    padding: 20px 0px;
    line-height: 23px;
    display: none;
}

.faq-box.active .faq-answer {
    display: inline;
}

@media only screen and (max-width: 650px) {
    .faq-box .faq-title {
        font-size: 1.1rem;
        /* margin-left: -30px; */
    }

    .faq-box .faq-answer {
        font-size: .8rem;
    }
}

.faq-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 0;
}

.faq-box.active .faq-toggle {
    background-color: rgb(173, 172, 172);
    color: #fff;
}

.faq-toggle .fa-times {
    display: none;
}

.faq-box.active .faq-toggle .fa-times {
    display: block;
}

.faq-box.active .faq-toggle .fa-chevron-down {
    display: none;
}

.about-portfolio-button {
    margin-left: 10%;
}

.picture-of-me {
    width: 110px;
    border: 10px solid rgba(230, 233, 230, 0.7);
    margin-bottom: 70px;
    margin-top: 30px;
    margin-left: 30px;
}

.faq-answer-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    padding: 100px 50px 40px 0;
    margin-bottom: 30px;
}

@media only screen and (max-width: 1000px) {
    .faq-answer-right {
        position: relative;
        margin-top: 0px;
        padding: 10px 10px 10px 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .picture-of-me {
        margin-bottom: 0;
        margin-left: 0px;
    }
}

.email-span {
    letter-spacing: 1.5px;
    font-size: 1.2rem;
    font-weight: 500;
    color: green;
    margin-left: 2px;
}

@media only screen and (max-width: 800px) {
    .about-email-span {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 700px) {
    .about-email-span {
        font-size: .9rem;
        margin-left: 0;
    }
}

@media only screen and (max-width: 400px) {
    .about-email-span {
        font-size: .7rem;
        margin-left: 0;
    }
}

@media only screen and (max-width: 300px) {
    .about-email-span {
        font-size: .5rem;
        margin-left: 0;
    }
}

.portfolio-header {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .4)), url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1171&q=80");
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.portfolio-headings {
    margin-left: 5%;
    margin-right: 5%;
}

.portfolio-header {
    width: 100%;
}

.portfolio-header h1 {
    color: #fff;
    font-size: 4rem;
    margin: 150px 0 20px 0;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1;
}

.portfolio-header h2 {
    color: #fff;
    margin: 0 5% 100px 0;
    letter-spacing: 1.3px;
    font-size: 1.6rem;
    font-weight: 300;
    width: 100%;
}

@media only screen and (max-width: 750px) {
    .portfolio-header h1 {
        font-size: 3rem;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .portfolio-header h2 {
        letter-spacing: 1.3px;
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 600px) {
    .portfolio-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .portfolio-header h2 {
        letter-spacing: 1.1px;
        font-size: 1rem;
        line-height: 25px;
        margin-right: 5%;
    }

}

.portfolio-main {
    padding-bottom: 10%;
}

.contact-section {
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 100%;
    flex-direction: column;
    text-align: center;
}

.contact-section h3 {
    letter-spacing: 2px;
    font-weight: 300;
    margin: 30px;
}

.fa-brands {
    font-size: 20px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222;
}

.fa-linkedin {
    color: blue;
}

.fa-free-code-camp {
    background-color: #222;
    color: #fff;
    padding: 5px;
    margin: -10px;
}

.contact-icons button {
    margin: 100px 10px 15px 10px;
    transition: transform .3s ease;
}

.contact-icons button:hover {
    transform: scale(1.2);
}

.email {
    margin-bottom: 100px;
    margin-top: 40px;
    letter-spacing: 1.5px;
    font-size: 25px;
    font-weight: 300;
    color: rgb(6, 218, 6);
    transition: all 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email:hover {
    transform: skewY(-10deg) scale(1.5);
}

@media only screen and (max-width: 800px) {
    .email {
        font-size: 18px;
    }
}

@media only screen and (max-width: 800px) {
    .email-contact-section {
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px) {
    .email-contact-section {
        font-size: 14px;
    }
}

@media only screen and (max-width: 300px) {
    .email-contact-section {
        font-size: 10px;
    }
}

.contact-icons a {
    text-decoration: none;
}