/* ========================== Extra large devices (desktops) min-width: 1200px==============================*/
.portfolio-section, .portfolio-wrapper{
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
}
.portfolio-section{width: 100%;}
.portfolio-wrapper{margin-top: 4em;width: 100%;}
#portfolio-hero-wrapper{flex-direction:column;}
.slider {
position: relative;
    width: 70%;
    height: 71vh;
    //overflow: hidden;
    padding: 2em 1em 5em 1em;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: flex;
}

.left {
    width: 60%;
    height: 100%;
}

.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.right {
    width: 40%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f5f5f5;
border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.right h2 {
    font-size: 30px; margin-top: 10px;
    margin-bottom: 20px; line-height: 36px;
}

.right p {
    font-size: 18px;
    line-height: 1.5;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #000;
    background: rgba(255,255,255,0.7);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: -53px;
}

.next {
    right: -53px;
}

#wrapper-portfolio-tabs{flex-direction:column;}
#portfolio-tabs{}

.portfolio-tabs {
    display: flex;
    column-gap: 1em;
    margin-top: 1em;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
}
.portfolio-container{
width: 80%;
    margin: 2em 0em;
    border-radius: 20px;
    min-height: 10em;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}
.home-carousel-wrapper {
    width: 100%;
    display: none;
}

.portfolio-card {
    width: 48%;
    display: flex;
    flex-direction: column;
    box-shadow: black 0px 0px 2px; border-radius: 10px 10px 10px 10px;
}
.portfolio-card-top{position: relative;
  height: 25em;}
.portfolio-tags{position: absolute;
    top: 5px;
    right: 10px;}
.portfolio-tag{    position: relative;
    background: black;
    color: white;
    padding: 1px 10px;
    border-radius: 5px;}
.portfolio-card img {
    width: 100%; border-radius: 10px 10px 0px 0px;height: inherit;
  object-fit: cover;
}

.portfolio-card-bottom{position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 0px 25px 15px 25px;}
.portfolio-card-bottom h2 {display: flex;
    justify-content: start;
    align-items: start;
    text-align: start;
    font-size: 20px;
    margin-top: 0.5em;
    font-weight: 500;line-height: 25px;
}
.portfolio-card-bottom p {display: flex;
    justify-content: start;
    align-items: start;
    text-align: start;line-height:17px;}
.portfolio-cards-container{
    display: flex;
    column-gap: 2em;
    margin: 1em auto;
    flex-wrap: wrap;
    row-gap: 2em; justify-content: center;
}

.portfolio-cards-wrap-container {
    /* display: flex; */
    column-gap: 2em;
    margin: 1em auto;
    flex-wrap: wrap;
    row-gap: 2em;
    justify-content: center;
    column-count: 3;
    column-gap: 20px;
    row-gap: 20px;
}

.portfolio-card-wrap{
width: 100%;
    display: flex;margin-bottom: 20px;
    flex-direction: column;
    height: fit-content;}
.portfolio-card-top-wrap {
    position: relative;
    /* height: 25em; */
}
.portfolio-card-wrap img {
    width: 100%;
    border-radius: 10px 10px 10px 10px;
    height: inherit; border: 1px solid #939393;
    object-fit: contain;box-shadow: 5px 5px 10px 0px black;
}
.portfolio-tags-wrap{position: absolute;
    top: 5px;
    right: 10px;}
.portfolio-tag-wrap{    position: relative;
    background: black;
    color: white;
    padding: 1px 10px;
    border-radius: 5px;font-size: 12px;}

.portfolio-card-top iframe{width:100%; height:100%; border-radius: 10px 10px 0px 0px;
}

.portfolio-tags-video{margin-top: 10px;}
.portfolio-tag-video{
position: relative;
    background: black;
    color: white;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 13px;}

/* Small devices (phones) */
@media screen and (min-device-width: 350px) and (max-device-width: 767px)
{

.portfolio-section, .portfolio-wrapper{
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
}
.portfolio-section{width: 100%;}
.portfolio-wrapper{margin-top: 4em;width: 100%;}
#portfolio-hero-wrapper{flex-direction:column;}
.slider {
position: relative;
    width: 70%;
    height: 30vh;
    //overflow: hidden;
    padding: 2em 1em 5em 1em;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: flex;
}

.left {
    width: 60%;
    height: 100%;
}

.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.right {
    width: 40%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f5f5f5;
border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.right h2 {
    font-size: 16px; margin-top: 10px;
    margin-bottom: 20px; line-height: 26px;
}

.right p {
    font-size: 8px;
    line-height: 1.5;
}

.nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #000;
    background: rgba(255,255,255,0.7);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: -30px;
}

.next {
    right: -30px;
}

#wrapper-portfolio-tabs{flex-direction:column;}
#portfolio-tabs{}

.portfolio-tabs {
    display: flex;
    column-gap: 1em;
    margin-top: 1em;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
}
.portfolio-container{
width: 80%;
    margin: 2em 0em;
    border-radius: 20px;
    min-height: 10em;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}
.home-carousel-wrapper {
    width: 100%;
    display: none;
}

.portfolio-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: black 0px 0px 2px; border-radius: 10px 10px 10px 10px;
}
.portfolio-card-top{position: relative;
  height: 12em;}
.portfolio-tags{position: absolute;
    top: 5px;
    right: 10px;}
.portfolio-tag{    position: relative;
    background: black;
    color: white;
    padding: 1px 10px;
    border-radius: 5px;font-size: 12px;}
.portfolio-card img {
    width: 100%; border-radius: 10px 10px 0px 0px;height: inherit;
  object-fit: cover;
}

.portfolio-card-bottom{position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 0px 25px 15px 25px;row-gap: 3px;}
.portfolio-card-bottom h2 {display: flex;
        justify-content: start;
        align-items: start;
        text-align: start;
        font-size: 18px;
        margin-top: 0.5em;
        font-weight: 500;
        line-height: 18px;
}
.portfolio-card-bottom p {display: flex;
    justify-content: start;
    align-items: start;
    text-align: start;line-height: 16px;
        font-size: 14px;}
.portfolio-cards-container{
    display: flex;
    column-gap: 2em;
    margin: 1em auto;
    flex-wrap: wrap;
    row-gap: 2em; justify-content: center;
}

.portfolio-cards-wrap-container {
    /* display: flex; */
    column-gap: 2em;
    margin: 1em auto;
    flex-wrap: wrap;
    row-gap: 2em;
    justify-content: center;
    column-count: 3;
    column-gap: 20px;
    row-gap: 20px;
}

.portfolio-card-wrap{
width: 100%;
    display: flex;margin-bottom: 20px;
    flex-direction: column;
    height: fit-content;}
.portfolio-card-top-wrap {
    position: relative;
    /* height: 25em; */
}
.portfolio-card-wrap img {
    width: 100%;
    border-radius: 10px 10px 10px 10px;
    height: inherit; border: 1px solid #939393;
    object-fit: contain;box-shadow: 5px 5px 10px 0px black;
}
.portfolio-tags-wrap{position: absolute;
    top: 5px;
    right: 10px;}
.portfolio-tag-wrap{    position: relative;
    background: black;
    color: white;
    padding: 1px 10px;font-size: 12px;
    border-radius: 5px;font-size: 12px;}

.portfolio-card-top iframe{width:100%; height:100%; border-radius: 10px 10px 0px 0px;
}

.portfolio-tags-video{margin-top: 10px;}
.portfolio-tag-video{
position: relative;
    background: black;
    color: white;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 13px;}

}
