html {
    scroll-behavior: smooth;
}

.root_container {
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.main_container {
    width: 90%;
    display: flex;
    padding: 10px;
    flex-direction: column;
    gap: 10px;
    border: 2px solid black;
}

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo_section {
    padding: 16px 0;
    display: flex;
    place-items: center;
}

.heading_text {
    font-size: 1.7rem;
    font-weight: bolder;
}

.nav_links {
    display: none;
    flex-direction: column;
    padding: 0 20px;
    gap: 7px;
    font-weight: bold;
    justify-content: center;
    align-items: center;

    a {
        text-decoration: none;
        color: black;
    }

    a:hover {
        text-decoration: underline;
    }
}

.nav_links_open_for_mobile_view {
    display: flex;

    img {
        height: 30px;
        width: 30px;
    }
}

.nav_links_close_for_mobile_view {
    display: none;

    img {
        height: 30px;
        width: 30px;
    }
}

.landing_cover_section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.landing_cover_section > img {
    width: 100%;
    height: 30vh;
}

.black_filter {
    background-color: black;
    width: 100%;
    height: 30vh;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
}

.inner_cover_section {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.sidebar_section {
    width: 60%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.content_text {
    font-size: 0.8rem;
    text-align: justify;
}

.main_content_of_portfolio_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content_part_one {
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.content_part_one > .content_text {
    padding: 0 20px;
}

.content_part_one > img {
    width: 100%;
}

.content_part_two {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.inner_content_part_two {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.image_of_inner_content_part_two > img {
    width: 100%;
}

.description_of_inner_content_part_two {
    height: 50%;
    flex-direction: column;
}

.heading_of_description_part {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.subheading_text {
    font-size: 1.5rem;
    font-weight: bolder;
}

.links_of_description_part {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.links_of_description_part > a {
    border: 2px solid black;
    border-radius: 10px;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: white;
}

.links_of_description_part > a:hover {
    box-shadow: 0 0 10px black;
    transition: box-shadow 0.2s ease-in;
}

.contact_form_section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.content_section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact_image_part > img {
    width: 100%;
}

.contact_form_part {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_form_part > form {
    gap: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact_form_part > form > * {
    width: 80%;
    padding: 10px 4px;
    color: black;
    font-family: "Times New Roman";
}

.contact_form_part > form > button {
    width: 30%;
    background-color: rgba(151, 136, 241, 0.94);
    border-radius: 10px;
    border: 2px solid white;
}

.contact_form_part > form > button:hover {
    background-color: rgb(120, 99, 244);
    transition: background-color 0.1s ease-in;
}

.footer_section {
    border-top: 2px solid black;
    padding: 10px 0 0 0;
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

.footer_section > .content_text {
    line-height: normal;
    font-size: 1rem;
    width: 90%;
}

.number_section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-evenly;
}

@media (min-width: 768px) {

    header {
        flex-direction: row;
    }

    .heading_text {
        font-size: 2.5rem;
    }

    .nav_links {
        display: flex;
        flex-direction: row;
        padding: 0 20px;
        gap: 7px;
        font-weight: bold;
        font-size: 1.2em;
        justify-content: center;
        align-items: center;

        a {
            text-decoration: none;
            color: black;
        }

        a:hover {
            text-decoration: underline;
        }
    }

    .nav_links_open_for_mobile_view {
        display: none;
    }

    .nav_links_close_for_mobile_view {
        display: none;
    }

    .landing_cover_section {
        flex-direction: row;
    }

    .landing_cover_section > img {
        height: 80vh;
    }

    .black_filter {
        height: 80vh;
    }

    .inner_cover_section {
        flex-direction: row;
        justify-content: end;
        align-items: center;
    }

    .sidebar_section {
        width: 40%;
        justify-content: center;
    }

    .content_text {
        font-size: 1.2rem;
        align-self: center;
        justify-content: space-evenly;
        line-height: 30px;
    }

    .main_content_of_portfolio_section {
        flex-direction: row;
    }

    .content_part_one {
        width: 50%;
    }

    .content_part_two {
        width: 50%;
        justify-content: center;
        align-items: center;
    }

    .inner_content_part_two
    {
        height: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .image_of_inner_content_part_two {
        height: 50%;
    }

    .image_of_inner_content_part_two > img {
        height: 100%;
    }

    .description_of_inner_content_part_two {
        height: 30%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .subheading_text {
        font-size: 2rem;
    }

    .links_of_description_part {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .links_of_description_part > a {
        width: 40%;
        padding: 30px 0;
    }

    .contact_form_section {
        align-items: start;
    }

    .content_section {
        width: 100%;
        flex-direction: row;
    }

    .contact_image_part {
        width: 50%;
    }

    .contact_form_part {
        width: 50%;
    }

    .contact_form_part > form > * {
        width: 60%;
    }

    .footer_section {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer_section > .content_text {
        width: 30%;
    }

    .number_section {
        gap: 0;
    }
}