@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    list-style: none;
    text-decoration: none;
}

body {
    overflow-x: hidden;
    padding-top: 80px;
}

.portfolio_container {
    width: 100vw;
}

.portfolio_container .portfolio_hero_container {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    overflow: hidden;
}

.portfolio_container .portfolio_hero_container .portfolio_title_part {
    position: absolute;
    z-index: 3;
    top: 40%;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 40%;
    height: 40%;
    padding: 0 0 0 10rem;
    background: #008080;
    border-radius: 0 50px 50px 0;

}

.portfolio_container .portfolio_hero_container .portfolio_title_part .portfolio_line_1 {
    font-size: 1.75rem;
    color: #fff;

}

.portfolio_container .portfolio_hero_container .portfolio_title_part a {
    margin-top: 0.5rem;
}

.portfolio_container .portfolio_hero_container .portfolio_title_part a button {
    cursor: pointer;
    background-color: #F4A300;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #008080;
    border: none;
    transition: 0.5s;
}

.portfolio_container .portfolio_hero_container .portfolio_title_part a button:hover {
    box-shadow: 2px 2px 10px #ffffff;
}


.portfolio_container .portfolio_hero_container .portfolio_image_part {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.image-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.portfolio_div {
    width: 100vw;
    padding: 2rem 10rem;
    display: flex;
    flex-direction: column;
}

.portfolio_div .portfolio_heading {
    margin: 1rem 0;
}

.portfolio_div .portfolio_heading h2 {
    background: #008080;
    color: #F4A300;
    padding-left: 1rem;
    border-radius: 10px;
}

.porfolio_items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.porfolio_items .portfolio_item {
    margin: 1rem 0;
    width: 48%;
    height: 50vh;
    overflow: hidden;
    border-radius: 16px;
}

.porfolio_items .portfolio_item img {
    width: 100%;
    height: 85%;
    overflow: hidden;
    transition: 0.5s;
}

.porfolio_items .portfolio_item img:hover {
    transform: scale(1.1);
}

.porfolio_items .portfolio_item h3 {
    font-size: 1.5rem;
    color: #008080;
    margin-bottom: 8px;
    z-index: 5;

}

.preview_picture {
    display: none;
    /* backdrop-filter: blur(10px); */
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 3rem 10rem;
}

.preview_picture span {
    padding: 5px;
    height: 20px;
    width: 20px;
    background: #008080;
    border-radius: 50%;
    float: right;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview_picture img {
    height: 80vh;
    width: 100%;
}


@media (max-width: 991px) {

    .portfolio_container .portfolio_hero_container {
        height: 50vh;
    }

    .portfolio_container .portfolio_hero_container .portfolio_title_part {
        width: 80%;
        height: 30%;
        border-radius: 0 15px 15px 0;
        padding: 0 0 0 1rem;
    }

    .portfolio_container .portfolio_hero_container .portfolio_title_part .portfolio_line_1 {
        font-size: 1rem;
        color: #fff;
    }

    .portfolio_container .portfolio_hero_container .portfolio_title_part .portfolio_line_1 span {
        font-size: 1.1rem;
        color: #F4A300;
        font-weight: bold;
    }

    .portfolio_container .portfolio_hero_container .portfolio_title_part a {
        margin-top: 0.25rem;
    }

    .portfolio_container .portfolio_hero_container .portfolio_title_part a button {
        font-size: 0.5rem;
    }


    .portfolio_div {
        padding: 2rem 1rem;
    }

    .porfolio_items {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .porfolio_items .portfolio_item {
        margin: 1rem 0;
        width: 48%;
        height: 45vh;
        overflow: hidden;
        border-radius: 16px 16px 0 0;
    }

    .porfolio_items .portfolio_item img {
        height: 65%;
        margin: 0;
    }

    .porfolio_items .portfolio_item h3 {
        font-size: 1rem;
        color: #008080;
        margin-bottom: 8px;
        z-index: 5;

    }

    .preview_picture {
        padding: 30% 1rem;
    }


    .preview_picture img {
        height: 40vh;
        width: 100%;
    }


}