@import url('https://fonts.googleapis.com/css2?family=AR+One+Sans:wght@400;500;600;700&family=Comfortaa:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700;800&family=Quicksand:wght@300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: #222222;
    color: white;
}

nav {
    width: 100%;
    height: 10vh;
    padding-left: 12rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;

    display: flex;
    justify-content: start;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: white;
}

.nav-icon {
    font-size: 1rem;
    margin-left: 0.8rem;
}

nav span:nth-of-type(2) {
    margin-left: 1.8rem;
    margin-right: 1.8rem;
}

nav button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #D65E4F;
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
}

nav a:nth-of-type(2) {
    margin-left: auto;
    margin-right: 5rem;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

/* introduction section... */
main .introduction {
    width: 100%;
    height: 110vh;
    display: flex;
    color: white;
}

main .introduction .sidebar {
    width: 8vw;
    height: 100%;
    font-size: 1.6rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2rem;
}

.sidebar a {
    color: white;
}

.introduction .introContent {
    display: flex;
    flex: 1;
}

.introContent .introContentLeft {
    width: 50%;
    height: 100%;
    padding-left: calc(12rem - 8vw);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 1rem;
}

.name {
    width: 90%;
    font-size: 4rem;
    font-weight: 900;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.name span:nth-of-type(2) {
    margin-left: 5rem;
}

.profession {
    font-size: 1.2rem;
    font-weight: 700;
}

.about {
    width: 90%;
    margin-top: 2rem;
    font-weight: 400;
}

.about div {
    display: none;
}

.logo {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background-color: #E58D83;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;

}

.logo .inner {
    width: 80%;
    height: 80%;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    background-color: #D65E4F;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo .inner span:nth-of-type(1) {
    margin-right: auto;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.logo .inner span:nth-of-type(2) {
    margin-left: auto;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.introContent .introContentRight {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.introContent .introContentRight span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.introContent .introContentRight span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* projects sections... */
.projectSection {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    row-gap: 2rem;
}

.projectSection .heading {
    width: 100%;
    padding-left: 12rem;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    font-weight: 800;

    display: flex;
    justify-content: start;
    align-items: center;
}

.projectSection .projects {
    width: 100%;
    padding-left: calc(12rem);
    padding-right: calc(12rem);

    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.projects .project {
    width: 90%;
    min-height: 10rem;
    border-radius: 0.8rem;
    background-color: #E9E9E9;
    color: black;
    overflow: hidden;

    display: flex;
}

.project:nth-of-type(2) {
    background-color: #F06D55;
    color: white;
}

.project .leftPart {
    width: 50%;
    padding: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2rem;
}

.project .leftPart video {
    width: 100%;
    border: 1px solid black;
}

.project .rightPart {
    width: 50%;
    height: 100%;
    padding: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;

    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.project .rightPart .title {
    width: 100%;
    font-size: 2rem;
    font-weight: 900;
}

.project .rightPart .title a {
    text-decoration: none;
    color: black;
}

.project .rightPart .description {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 300;
}

.project .rightPart .technologies {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
}

.project .rightPart .technologies span {
    background-color: #D65E4F;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;

    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.project:nth-of-type(2) .rightPart .technologies span {
    background-color: black;
}

.project:nth-of-type(2) .rightPart a {
    color: white;
}

/* footer */
footer {
    width: 100%;
    height: auto;
    padding: 3rem;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1.5rem;
}

footer h2 {
    font-size: 2rem;
    font-weight: 700;
}

footer .personalInfo {
    font-size: 0.9rem;
    font-weight: 600;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 0.8rem;
}

footer .personalInfo a {
    text-decoration: none;
    color: white;
}

footer .personalInfo span:nth-of-type(2) {
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-icons {
    font-size: 1.5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

.footer-icons a {
    text-decoration: none;
    color: white;
}

/* skills */
.skillSection {
    width: 100%;
    height: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2rem;
}

.skillSection .heading {
    justify-content: center;
    padding: 0;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.skillSection .technologies {
    width: 100%;
    padding-left: calc(12rem);
    padding-right: calc(12rem);

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 5rem;
}

.technologies .tech {
    font-size: 1rem;
    font-weight: 600;
    /* color: white; */
    opacity: 0.5;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 0.3rem;
    cursor: pointer;
    transition: all 0.2s linear;
}

.technologies .tech:hover {
    opacity: 1;
}

.technologies .tech img {
    width: 7rem;
    height: 7rem;
}

/* Responsive Designs */
@media (max-width:480px) {
    nav {
        padding: 1rem;
        font-size: 0.5rem;
        align-items: center;
    }

    .nav-icon {
        font-size: 0.5rem;
        margin-left: 0.25rem;
    }

    nav span:nth-of-type(2) {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    nav a:nth-of-type(2) {
        margin: 0;
        margin-left: auto;
    }

    nav button {
        font-size: 0.7rem;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* introduction */
    main {
        padding: 1rem;
    }

    main .introduction {
        height: auto;
    }

    main .introduction .sidebar {
        display: none;
    }

    main .introduction .introContent {
        flex-direction: column-reverse;
    }

    .introContent .introContentLeft,
    .introContent .introContentRight {
        width: 100%;
        padding: 0;
        align-items: center;
    }

    .introContentLeft .name {
        width: auto;
        justify-content: center;
        font-size: 3.5rem;
        font-weight: 900;
    }

    .introContentLeft .name span:nth-of-type(2) {
        margin-left: 2rem;
    }

    .introContentLeft .profession {
        font-size: 1rem;
    }

    .introContentLeft .about {
        width: 100%;
        font-size: 1rem;
        font-weight: 200;
    }

    .introContentLeft .about div {
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
        font-weight: 800;
        display: flex;
    }

    .logo {
        display: none;
    }

    .introContent .introContentRight span img {
        width: 15rem;
        height: 15rem;
    }

    /* Projects */
    .projectSection .heading {
        font-size: 2rem;
        padding: 0;
        justify-content: center;
    }

    .projectSection .projects {
        padding: 0;
    }

    .projects .project {
        width: 100%;
        flex-direction: column;
    }

    .project .leftPart {
        width: 100%;
    }

    .project .leftPart video {
        border-radius: 0.5rem;
    }

    .project .rightPart {
        width: 100%;
        padding-top: 0;
        padding-bottom: 1rem;
        row-gap: 0.8rem;
    }

    .project .rightPart .title {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .project .rightPart .description {
        font-size: 0.8rem;
        font-weight: 300;
    }

    .project .rightPart .technologies {
        column-gap: 0.5rem;
        row-gap: 0.2;
    }

    .project .rightPart .technologies span {
        font-size: 0.6rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        border-radius: 0.3rem;
    }

    /* skill section */
    .skillSection {
        padding-top: 0;
    }

    .skillSection .heading {
        font-size: 1.5rem;
    }

    .skillSection .technologies {
        padding: 0;
    }

    .skillSection .technologies span {
        opacity: 0.8;
    }

    .technologies .tech img {
        width: 4.8rem;
        height: 4.8rem;
    }

    /* footer  */
    footer h2 {
        font-size: 1.5rem;
    }

    footer .personalInfo {
        font-size: 0.7rem;
    }

    footer .personalInfo span:nth-of-type(2) {
        font-size: 0.9rem;
    }

    .footer-icons {
        font-size: 1.3rem;
    }

}