@import url(default.css);

h1{
    font-size: 3.2rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.5rem;
}
p{
    font-size: 1rem;
}
.nav {
    background: var(--head-bg);
    width: 100%;
    height: 90px;
    position: fixed;
    z-index: 9999;
}
.nav__content{
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 100%;
}
.menu__label, #menu-toggler{
    display: none;
}
.nav a{
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
}
.nav .nav__as a:hover{
    color: var(--text-hover);
}
.nav__as {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
}
.nav__btn {
    outline: none;
    border: 2px solid var(--text-color) ;
    color: var(--text-color);
    padding: 10px 15px;
    font-size: 1rem;
    transition: 0.3s;
    background: var(--bg);
}
.nav__btn:hover{
    border: 2px solid var(--bg);
    background: var(--btn-bg1);
}
.nav__title{
    height: 100%;
    display: flex;
    align-items: center;
}
.nav__title img{
    max-height: 100%;
}
.nav__lang {
    width: 100px;
    position: relative;
}
.nav__li {
    list-style: none;
    height: 35px;
    overflow: hidden;
    margin-bottom: 5px;
}
.nav__li a{
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
}
.nav__li img {
    width: 50%;
    margin-right: 5px;
}
.nav__list {
    height: 0%;
    overflow: hidden;
    transition: 0.5s;
    position: absolute;
    top: 0px;
    display: flex;
    flex-direction: column;
}
.nav__lang>.nav__li:hover .nav__list{
    height: 75px;
    /* backdrop-filter: blur(20px); */
    background: var(--head-bg);
}


.header {
    background: var(--head-bg);
    color: var(--text-color);
}
.header__content{
    display: flex;
    padding: 110px 30px 20px;
    width: 100%;
    height: 80vh;
}
.header__title {
    width: 80%;
}
.header__text {
    width: 80%;
    margin: 20px 0 30px;
}
.header__btn {
    border: none;
    background: var(--btn-bg1);
    color: var(--text-color);
    transition: 0.3s;
    align-self: flex-start;
    margin-left: 10%;
    padding: 10px 15px;
    font-size: 1rem;
}
.header__btn:hover{
    opacity: 0.9;
}
.header__news {
    border-radius: 10px;
    width: 20%;
    overflow: hidden;
    background: var(--news-bg);
    box-shadow: 0 0 15px #fff;
    position: relative;
}
.news__list{
    position: absolute;
    top: 0;
}
.news__item {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 2px solid var(--grey-bg);
}
.news__title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-two);
}
.news__item p{
    font-size: 0.9rem;
}
.news__item a{
    color: #fff;
    margin-top: 1rem;
    margin-left: auto;
    font-style: italic;
    font-size: 0.7rem;
    color: var(--accent-one);
}
.header__preview {
    margin-left: 50px;
    border-radius: 20px;
    box-shadow: 0 0 15px #fff;
    overflow: hidden;
    position: relative;
    width: 70%;
}
.preview__container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    animation: movepreview linear 60s infinite;
}
.preview__item {
    margin: 0 0.4rem 0 0;
    position: relative;
    height: 100%;
}
.preview__item img{
    height: 100%;
    display: block;
}
.preview__caption {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    background: var(--text-hover);
    opacity: 0;
    transition: 0.3s;
}
.preview__item:hover .preview__caption{
    opacity: 0.8;
}


.about{
    background: var(--about-bg);
    padding: 100px 20px;
    color: var(--text-color);
}
.about__container{
    max-width: 1300px;
    margin: auto;
}
.about__container h2{
    text-align: center;
    margin-bottom: 2.5rem;
}
.about__container h3{
    font-size: 1.5rem;
}
.about__container img{
    border-radius: 5px;
    margin-right: 100px;
    box-shadow: 0 2px 10px var(--text-color);
    max-width: 450px;
}
.about__container ul{
    border: 2px solid var(--text-color);
    padding: 5px 7px 20px 35px;
    box-shadow: 10px 10px 25px -7px var(--text-color);
    background: var(--about-ul-bg);
    border-radius: 10px 0;
}
.about__container li{
    margin-top: 1rem;
    font-size: 1.2rem;
}
.about__container p{
    font-size: 1rem;
    line-height: 1.5rem;
}
.about__container a{
    color: var(--accent-two);
}



.doc__main{
    background: var(--about-bg);
    padding: 100px 1rem;
    color: var(--text-color);
    min-height: calc(100vh - 240px);
}
.doc__container{
    max-width: 1300px;
    margin: auto;
    line-height: 200%;
}
.doc__container h1{
    text-align: center;
    margin-bottom: 1rem;
}
.doc__container img{
    margin-right: 2rem;
    border-radius: 0 10px;
    max-width: 500px;
}
.doc__container li{
    margin-left: 1rem;
}
.doc__container a{
    color: var(--accent-two);
}


.services{
    background: var(--serv-bg);
    text-align: center;
    color: var(--text-color);
    padding: 2rem;
}
.services h2{
    font-size: 2.5rem;
    margin-bottom: 60px;
}
.services-cards{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}
.services-cards a{
    width: 30%;
    color: var(--text-color);
    text-decoration: none;
    min-height: 50vh;
    margin-top: 2rem;
}
.services-card{
    width: 100%;
    background: var(--serv-card-bg);
    border-radius: 20px;
    border: 2px solid var(--text-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
    height: 100%;
    transition: 0.3s;
}
.services-card:hover{
    scale: 1.03;
    box-shadow: 0 0 20px var(--text-color);
}
.services-card h3{
    font-size: 1.7rem;
    line-height: 1.7rem;
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-card p{
    margin: 0 auto 15px;
    /* как ограничить ширину p?  */
}
.service-card__props p{
    color: var(--accent-one);
}
.service-card__props p b {
    color: var(--text-color);
}
.services-card img {
    margin: 10px 0;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.service__more{
    font-style: italic;
    text-align: right;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: -15px !important;
}

.service__main {
    background: var(--service-bg);
    color: var(--text-color);
    padding: 100px 50px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: calc(100vh - 260px);
}
.service__container{
    width: 70%;    
    align-self: center;
}
.service__main h1{
    width: 100%;
    text-align: center;
    margin-bottom: 0.5em;
    color: var(--serv-title);
}
.serv__img {
    border-radius: 10px;
    box-shadow: -3px 1px 10px #fff;
    margin-left: 50px;
    width: 20vw;
    object-fit: cover;
}
.service__container> p:first-of-type{
    text-align: center;
    font-size: 1.5rem;
    /* margin: 10px 0 0 5%; */
}
.serv__more{
    display: flex;
    justify-content: space-around;
    margin-top: 30px; 
    align-items: center;
}
.serv__detail{
    font-size: 1.2rem !important;
    font-style: italic;
}
.serv__detail span{
    font-weight: bold;
    color: var(--accent-two);
    display: block;
}
.service__main h2{
    width: 100%;
    margin: 1rem;
    text-align: center;
    color: var(--serv-title);
    font-size: 2.5rem;
}

.serv__folders {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 88px;
}
.serv-folder {
    width: 15vw;
    height: 15vw;
    flex-basis: 20%;
    /* margin: 30px; */
    text-decoration: none;
    color: var(--text-color);
    border-radius: 1vw;
    border: 0.5vw solid var(--accent-two);
    position: relative;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--text-color);
}
.serv-folder:hover{
    scale: 1.05;
    box-shadow: 0 0 20px var(--text-color);
}
.serv-folder figcaption{
    position: absolute;
    top: 0;
    left: 1.5vw;
    transform: translateY(-100%);
    background: var(--accent-two);
    padding: 0.3vw 0.6vw;
    border-radius: 0.5vw 0.5vw 0 0;
}
.serv-folder__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5vw;
}


.portf__example {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}
.portf__item {
    background: var(--example-bg);
    box-shadow: 0 0 10px #000;
    padding: 10px 4px;
    border-radius: 15px 10px;
    overflow: hidden;
    margin: 15px 0;
    max-width: 15%;
    position: relative;
}
.portf__item figcaption{
    text-align: center;
    padding: 0 5px;
}
.service__return {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.3rem;
    position: sticky;
    bottom: 0;
    padding-bottom: 30px;
    transition: 0.3s;
}
.service__return:hover {
    transform: scale(1.05);
    color: var(--text-hover);
}

.portfolio{
    padding: 5rem 7.5rem ;
    background: var(--portf-bg);
    color: var(--text-color);
}
.portf__title {
    text-align: center;
    margin-bottom: 3rem;
}
.portf__service {
    display: flex;
    margin-bottom: 3rem;
}
.service__left{
    overflow: hidden;
    width: 20%;
    height: 30vh;
    flex-shrink: 0;
    margin-right: 20px;
}
.service__left img{
    border-radius: 15px 0;
    box-shadow: 0 7px 15px -5px var(--text-color);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service__left h2 {
    position: relative;
    bottom: 6px;
    transform: translateY(-100%);
    padding: 5px 10px;
    opacity: 0.8;
    backdrop-filter: blur(10px);
    border-radius: 0 30px 0 0;
    width: 65%;
    line-height: 1.5rem;
}
.service__right {
    display: flex;
    flex-wrap: wrap;
}
.service__right .service__left{
    width: 25vh !important;
    height: 25vh !important;
}
.folder{
    border: 0.5vw solid var(--accent-two);
    border-radius: 25px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--text-color);
}
.folder:hover{
    scale: 0.95;
    box-shadow: 0 0 20px var(--text-color);
}
.compact{
    width: 0;
    height: 0;
    overflow: hidden;
    transition: 0.5s;
}
.portf__service input{
    width: 0;
    height: 0;
    opacity: 0;
}
.portf__service input:checked ~ .compact{
    width: 100%;
    height: fit-content;

}
.portf-item {
    display: inline-block;
    margin: 12px;
    position: relative;
    top: 0;
    left: 0;
    min-width: 270px;
    flex-grow: 0;
    /* overflow: hidden; */
    max-width: 360px;
    transition: width 0.9s, max-width 1.6s;
}
.portf-item__full{
    display: inline-block;
    max-width: 90vw!important;
    width: 90vw;
    height: 85vh;
    position: fixed;
    transform: translate(-50%,-50%);
    top: calc(50% + 30px);
    left: 50%; 
    z-index: 1001;
    background: none;
    box-shadow: none;
}
.portf-item__full-bg{
    backdrop-filter: blur(5px);
    background: var(--portf-full-bg);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transform: scale(0);
    transition: 0.2s;
    overflow: hidden;
}
.full__left{
    position: fixed;
    top: calc(50% + 30px);
    left: 1rem;
    transform: translateY(-50%);
    z-index: 10001;
}
.full__right{
    position: fixed;
    top: calc(50% + 30px);
    right: 1rem;
    transform: translateY(-50%);
    z-index: 10001;
}

.portf-item__full-bg-show{
    transform: scale(1) !important;
}
.full__left,.full__right{
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    line-height: 48px;
    border-radius: 50%;
    color: var(--text-color);
    background: var(--portf-full-bg);
    text-align: center;
    scale: 0;
}
.full__show{
    scale: 1;    
    transition: 0.3s 0.7s;
}

.portf-item__img {
    border-radius: 0 15px;
    width: 100%;
    object-fit: contain;
    box-shadow: -3px 3px 8px var(--text-color);
}
.portf-item__full .portf-item__img{
    border-radius: 0;
    height: 100%;
        box-shadow: none !important;
}
.portf-item figcaption, .portf__item figcaption{
    width: max-content;
    max-width: 90%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    text-align: center;
    backdrop-filter: blur(10px);
    padding: 5px 10px;
    opacity: 0;
    transition: 0.3s;
    border-radius: 5px;
    background: var(--portf-full-bg);
}

.portf-item__player{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #222;
    padding: 10px;
    border-radius: 8px;
    color: white;
    width: 300px;
    margin-bottom: 1rem;
}
.portf-item__pause-btn{
    background: var(--audio-bg);
    border: none;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
.portf-item__pause-btn:hover{
    background: var(--audio-hover-bg);
}
.portf__service input[type="range"]{
    width: 100%;
    height: 0.5%;
    opacity: 1;
    
}
.portf__service input[type="range"]::-webkit-slider-thumb{
        -webkit-appearance: none;
        appearance: none;
        background: var(--audio-bg) !important;
    }
.portf-item__progress {
    flex: 1;
    color: #7d6ed4;
}
.portf-item__player ~ figcaption{
    transform: translate(-50%, -105%);
    opacity: 1;
}


.portf-item:hover figcaption, .portf__item:hover figcaption{
    opacity: 0.8;
}
.portf__hr{
    width: 100%;
    height: 4px;
    margin-bottom: 50px;
    background: var(--about-ul-bg);
}


.footer{
    width: 100%;
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 50px 0;
    text-align: center;
}
.footer li{
    list-style: none;
}
.footer a{
    display: block;
    text-decoration: none;
    color: #7d6ed4;
    margin-bottom: 15px;
    transition: 0.3s;
    &:hover{
        color: var(--accent-two);
    }
}
.footer .container{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.footer .container >p{
    width: 100%;
    margin-top: 1rem;
}

.contact__container{
    background: var(--example-bg);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000000;
    backdrop-filter: blur(10px);
    border-radius: 0 20px;
    border: 2px solid var(--text-color);
    box-shadow: 5px 2px 10px var(--text-color);
}
.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    color: var(--text-color);
}
.contact__close-btn{
    background: var(--text-color);
    color: #000 !important;
    border-radius: 50%;
    position: absolute;
    right: 2px;
    top: 2px;
    border: 1px solid #000;
    font-size: 1rem;
    height: 1.5rem;
    width: 1.5rem;
    text-align: center;
    cursor: pointer;
}
.contact__title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--btn-bg1) !important;
}
.contact-form label{
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.contact-form input{
    border: 1.5px solid #000;
    font-size: 0.8rem;
    padding: 2px 0 2px 4px;
    transition: 0.3s;
    margin-bottom: 1.2rem;
    outline-color: var(--btn-bg1);
    &:focus{
        transform: scale(1.03);
    }
}
.contact__btn {
    padding: 10px 30px;
    outline: none;
    border: 2px solid #000;
    font-size: 1rem;
    color: #fff;
    background: var(--btn-bg1);
    transition: 0.3s;
    margin-top: 1rem;
    &:hover{
        transform: scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 10px var(--dark-bg);
    }
}

.main__404{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    min-height: calc(100vh - 270px);
    background: var(--about-bg);
    color: var(--text-color);
}



@keyframes movepreview{
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px){
    
    html{
        font-size: 18px;
    }
    h1{
        font-size: 1.7rem;
    }
    h2{
        margin-bottom: 1rem !important;
        font-size: 1.5rem;
    }

    .nav {
    }
    .nav__content {
        padding-right: 20px;
    }
    #menu-toggler{
        display: block;
        position: fixed;
        z-index: -1;
        opacity: 0;
    }
    .menu__label{
        display: flex;
        align-items: center;
        width: 45px;
        height: 40px;
        position: relative;
        order: 1;
        &::before{
            content: "";
            height: 8px;
            position: absolute;
            top: 0;
            left: 0;
            background: var(--text-color);
            width: 100%;
            transition: 0.3s;
        }
        &::after{
            content: "";
            height: 8px;
            position: absolute;
            bottom: 0;
            left: 0;
            background: var(--text-color);
            width: 100%;
            transition: 0.3s;
        }
    }
    .menu__center{
        height: 8px;
        background: var(--text-color);
        width: 100%;
        transition: 0.3s;
    }
    #menu-toggler:checked ~ .menu__label .menu__center{
        scale: 0;
    }
    #menu-toggler:checked ~ .menu__label::before{
        rotate: 45deg;
        top: 40%;
    }
    #menu-toggler:checked ~ .menu__label::after{
        rotate: -45deg;
        bottom: 40%;
    }
    .nav__title {
    }
    .nav__as {
        flex-direction: column;
        position: fixed;
        top: 87px;
        right: 0;
        background: var(--head-bg);
        padding: 0 15px 20px;
        height: 40vh;
        min-height: 270px;
        justify-content: space-evenly;
        border-radius: 0 0 10px 10px;
        width: fit-content;
        scale: 0;
        transform-origin: top right;
        transition: 0.3s;
    }
    #menu-toggler:checked ~ .nav__as{
        scale: 1;
    }
    .nav__btn {
        border: 2px solid var(--bg);
        background: var(--btn-bg1);
    }
    .nav__lang {
    }
    .nav__li {
    }
    .nav__list {
    }

    .header__content{
        flex-direction: column;
        justify-content: space-between;
    }
    .header__news, .header__preview{
        width: 100%;
        height: 47%;
        margin-left: 0;
    }

    .about__container tr {
    display: flex;
    flex-direction: column;
    }
    .about__container img{
        margin-right: 0;
        max-width: 100%;
    }
    .table h3{
        margin-top: 2rem;
        text-align: center;
    }

    .contact-form label{
        font-size: 0.8rem
    }
    .contact__title{
        font-size: 1.5rem;
    }

    .service__main{
        flex-direction: column;
        padding: 100px 20px;
        flex-wrap: nowrap;
    }
    .service__main h2{
        margin: 1rem 0;
    }
    .service__container{
        width: 100%;
    }
    .service__container p:first-of-type{
        font-size: 1rem;
    }
    .serv__more{
        flex-direction: column;
        margin: 30px 0;
    }
    .serv__detail{
        font-size: 1rem !important;
        line-height: 1.5em;
    }
    .serv__img{
        order: -1;
        align-self: center;
        margin: 0;
        width: 75%;
        max-height: 70vh;
    }
    .services-cards{
        flex-direction: column;
    }
    .services-cards a{
        width: 100%;
    }
    .serv__folders a{
        width: 45%;
    }
    .serv-folder{
        width: 40vw;
        height: 40vw;
        margin: 0 1rem 3.5rem 0.1rem;
    }
    .portf__example{
        flex-direction: column;
        align-items: center;
    }
    /* .full__right,.full__left{
        z-index: 10001;
    } */
    .portf-item{
        margin: 0;
        transition: width 0.4s, max-width 0.9s;
        padding: 1rem 0;
    }
    .portf-item figcaption{
        opacity: 1;
        top: 1rem;
    }

    .portfolio{
        padding: 0 1rem 1rem;
    }
    .portf__service{
        flex-direction: column;
    }
    .service__left, .service__right{
        width: 100%;
    }

    .doc__container{
        max-width: 100%;
        line-height: 200%;
        padding: 1rem;
    }
    .doc__container .table tr{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .doc__container .image img{
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .doc__container .table li{
        margin-top: 0.5rem;
    }
    .doc__container .table td:last-of-type p{
        margin-top: 0.5rem;
    }

    .footer{
        padding: 40px 20px;
    }
}

@media screen and (width: 768px){
    .about__container .image img{
        width: 100%;
    }
    .about__container td:first-of-type{
        width: 37%;
    }
    .about__container tr{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .about__container tr td:last-of-type{
        width: 60% !important; 
        font-size: 1rem;
    }

    .services-cards{
        flex-direction: row !important;
    }
    .services-cards a{
        width: 47% !important;
    }

    .serv__more{
        flex-direction: row;
    }
    .serv__img{
        width: 60%;
    }
    .service__main h1{
        font-size: 2rem;
        margin-top: 1rem;
    }
    .service__container p:first-of-type{
        font-size: 1.2rem;
    }
    .serv__detail{
        font-size: 1.2rem !important;
    }

    .service__left, .service__right{
        justify-content: space-between;
    }
    .portf-item{
        max-width: 360px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait){
    .nav__as a, .nav__btn{
        font-size: 0.8rem;
    }
    
    .header__content{
        flex-direction: row;
        height: 50vh;
    }
    .header__news{
        width: 40%;
        height: 100%;
    }
    .header__preview{
        width: 55%;
        height: 100%;
    }

    .about__container .image img{
        max-width: 34vw;
        margin-right: 2rem;
    }
    .services-cards a{
        width: 45%;
    }

    .service__container> p:first-of-type, .serv__detail{
        font-size: 1rem !important;
    }
    .serv__folders{
        padding-bottom: 1rem;
    }
    .serv-folder{
        width: 20vw;
        height: 20vw;
    }

    .portf-item{
        max-width: 330px;
        transition: width 0.4s, max-width 0.9s
    }

    .portfolio{
        padding: 5rem 2rem;
    }
    .service__left{
        width: 55%;
        margin-bottom: 1rem;
    }
    .portf__service{
        display: flex;
        flex-direction: column;
    }
}


@media screen and (min-width: 1025px) and (max-width: 1400px) and (orientation: landscape){
    .portfolio{
        padding: 5rem 1rem;
    }
    .portf__list > .portf__service > .service__left{
        width: 40%;
        margin-bottom: 1rem;
        height: 35vw;
    }
    .portf__list > .portf__service{
        flex-direction: column;
    }

}



@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape){
    .nav__as a, .nav__btn{
        font-size: 0.8rem;
    }
    
    .header__content{
        flex-direction: row;
        height: 95vh;
    }
    .header__news{
        width: 40%;
        height: 100%;
    }
    .header__preview{
        width: 55%;
        height: 100%;
    }

    .about__container .image img{
        max-height: calc(100vh - 100px);
    }
    .about__container tr{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .about__container tr td:last-of-type{
        width: 52%; 
        font-size: 1rem;
    }

    .services{
        padding: 1rem;
    }
    .service__main{
        padding: 100px 20px 0;
    }
    .services-cards a{
        flex-basis: 280px;
    }
    .services-cards{
        flex-direction: row;
    }
    .service__container> p:first-of-type{
        font-size: 1rem;
    }
    .serv__detail{
        font-size: 1rem !important;
    }

    .portfolio{
        padding: 100px 2rem;
    }
    .portf__service{
        flex-direction: column;
    }
    .service__right .portf__service{
        flex-direction: row;
    }
    .service__left{
        height: 70vh;
        width: 60%;
    }
    .portf__list > .portf__service .service__left{
        margin-bottom: 1rem;
    }
    .service__left h2{
        font-size: 1.5rem;
    }
    .service__right .service__left{
        width: 45vh !important;
        height: 45vh !important;
    }
    .serv-folder figcaption{
        left: 0;
    }
    
    .contact__container h2{
        font-size: 1.5rem;
    }
    .contact__btn{
        margin-top: 0;
    }

    .doc__container{
        max-width: 100%;
        line-height: 200%;
        padding: 1rem;
    }
}