/* Extra Small Device */
@media only screen and (max-width: 430px) {
    
}

/* Mobile Device. */
@media only screen and (min-width: 575px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}

/* Small Device :550px. */
@media only screen and (min-width: 576px) {
    .container {
        width: 540px;
        padding: 0 12.5px;
    }

    .fs-2 {
        font-size: 4.8rem !important;
    }

    .about__thumb {
        height: 40rem;
    }
    .about__content {
        padding: 5rem;
    }
}

/* Medium Device. */
@media only screen and (min-width: 768px) {
    .container {
        width: 720px;
    }

    .fs-1 {
        font-size: 7.2rem !important;
    }
    .fs-2 {
        font-size: 5.4rem !important;
    }

    .logo {
        max-width: 12.5rem;
    }
    .hero {
	    padding: 9rem 0;
    }
    .hero__para {
        font-size: 1.8rem;
    }
    .hero__pretitle {
        font-size: 2.6rem;
    }
    .hero__pretitle__icon {
        max-width: 4.4rem;
        margin-right: -3rem;
        margin-bottom: -0.2rem;
    }
    .hero__para {
        font-size: 1.8rem;
    }
    .about__thumb {
        height: 55rem;
    }
    .about__pencil {
        max-width: 17rem;
        margin-bottom: -5rem;
    }
    .news {
        padding: 7rem 0;
    }
    .news .section__heading {
        margin-bottom: 50px;
    }
    .news__title {
        font-size: 2rem;
    }
    .news__date {
        font-size: 1.7rem;
    }


    .git-area__woman {
        max-width: 40rem;
    }
    .section-block__img img {
        min-height: 27.0rem;
    }
    .section-block:not(:last-child) {
        margin-bottom: 5.0rem;
    }
    .section-block-area {
        padding: 7rem 0;
    }
    .git-area .container-max {
        padding: 6rem 0 6rem;
    }
    .git-area__woman {
        max-width: 33.0rem;
        z-index: 1;
    }
}

/* LG Device. */
@media only screen and (min-width: 992px) {
    .container {
        width: 960px;
    }
    .fs-1 {
        font-size: 8.8rem !important;
    }

    .hero {
        min-height: 70rem;
    }
    .hero__wrapper {
        max-width: 66rem;
    }
    .hero__pretitle {
        font-size: 3.6rem;
    }
    .hero__pretitle__icon {
        max-width: 5.2rem;
        margin-right: -3.5rem;
        margin-bottom: -0.5rem;
    }
    .main__title {
        line-height: 1;
    }
    .main__title span::before {
        height: 93%;
        border-radius: .6rem;
    }
    .about__row {
        align-items: stretch;
    }

    .about__thumb {
        max-height: 100%;
        height: 100%;
        display: flex;
    }
    .about__thumb, .about__content {
        border-radius: 2rem;
    }



    .section-block__content h2 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    .section-block__content p {
        font-size: 1.5rem;
        margin-bottom: 2.8rem;
        line-height: 2.4rem;
    }
    .section-block {
        --bs-gutter-x: 5rem;
    }


}

/* Large Device :992px. */
@media only screen and (min-width: 1200px) {
    .container {
        width: 1140px;
    }

    .btn {
        min-width: 25.5rem;
        height: 7.1rem;
        font-size: 1.8rem;
        padding: 2.6rem 5.1rem;
        gap: 1rem;
    }
    .btn:hover {
        gap: 1.4rem;
    }

    .logo {
        max-width: 14.5rem;
    }
    .header__wrapper {
        padding: 2rem 0;
    }
    .header__navigation, .header__ul {
        gap: 3rem;
    }
    .hero {
        min-height: 77.5rem;
    }
    .hero__pretitle {
        font-size: 4rem;
    }
    .about__content {
        padding: 7.5rem;
    }
    .about__pencil {
        max-width: 18rem;
        margin-bottom: -5.3rem;
    }
    .news {
        padding: 9rem 0;
    }
    .news .section__heading {
        margin-bottom: 60px;
    }
    .news__title {
        font-size: 2.1rem;
    }



    .section-block {
        --bs-gutter-x: 6rem;
    }
    .section-block-area {
        padding: 12.2rem 0;
    }
    .section-block__content h2 {
        font-size: 3.2rem;
        margin-bottom: 1.4rem;
        line-height: 4.8rem;
    }
    .section-block__content {
        max-width: 51.8rem;
    }
    .section-block__content p {
        margin-bottom: 4rem;
    }
    .section-block:not(:last-child) {
        margin-bottom: 9.0rem;
    }
    .section-block__content h2 br {
        display: block;
    }
    .git-area .container-max {
        padding: 11.6rem 0 11.6rem;
    }
    .git-content__header {
        margin-bottom: 5.4rem;
    }
    .form-box {
        position: relative;
        margin-bottom: 3.4rem;
    }
    .form-control {
        padding: 1.2rem 0;
        font-size: 1.8rem;
    }
    .form-select {
        min-height: 5.2rem;
        font-size: 1.8rem;
    }
    .git-info__box {
        border-radius: 3rem;
        padding: 7rem 4.4rem;
    }
    .git-info__box ul li a {
        padding: 3.4rem 0;
    }
    .git-info__box ul li a span.content {
        font-size: 2.2rem;
        line-height: 4rem;
    }
    .git-info__box ul li a span.icon {
        width: 9.4rem;
        height: 9.4rem;
    }
    .git-area .container-max {
        padding: 11.6rem 0 15.9rem;
    }
    .git-info__box ul li a span.icon svg {
        max-width: 100%;
    }
    .git-info__box ul li a span.content b {
        font-weight: 600;
    }
    .form-submit {
        padding-top: 5rem;
    }
    .git-area__woman {
        z-index: 1;
        max-width: 55.5rem;
    }
    .form-box label {
        font-size: 1.8rem;
    }
    .form-box input:focus~label,
    .form-box input:valid~label {
        top: -0.4rem;
        font-size: 1.2rem;
    }
    .form-box textarea:focus~label,
    .form-box textarea:valid~label {
        top: -0.4rem;
        font-size: 1.2rem;
    }
    .git-info__box-object {
        top: -7rem;
        right: -5.2rem;
        max-width: 8rem;
    }
    .git-area__row {
        --bs-gutter-x: 5rem;
    }
    .footer-widget h5 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .footer-widget__menu li a {
        line-height: 3.4rem;
        padding: 0rem 0px;
    }
    .footer-top {
        padding: 5.0rem 0 6.0rem;
    }

}

/* XL Device :1280px. */
@media only screen and (min-width: 1400px) {
    .container {
        width: 1320px;
    }

    .fs-2 {
        font-size: 6rem !important;
    }

    .logo {
        max-width: 16.5rem;
    }
    .header__navigation, .header__ul {
        gap: 4rem;
    }
    .hero {
        min-height: 82rem;
    }
    .hero__pretitle {
        font-size: 4.5rem;
    }
    .about__content {
        padding: 10rem;
    }
    .about__inner {
        max-width: 60rem;
    }
    .news {
        padding: 11rem 0;
    }

    .section-block {
        --bs-gutter-x: 7rem;
    }

    .git-area__row {
        --bs-gutter-x: 9rem;
    }
    
    .about__pencil {
        max-width: 34rem;
        margin-bottom: -8.7rem;
    }
}
