/*
Theme Name: OSR
Version: 1.0
Author: @arkanzas75
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&display=swap');

:active,
:hover,
:focus {
    outline: 0;
    outline-offset: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #182A57;
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}

button,
input,
input::placeholder,
select,
textarea,
textarea::placeholder {
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    opacity: 1;
    color: #7C919B;
    background: none;
    border: none;
}

input {
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

button,
input,
select,
textarea {
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}

a {
    text-decoration: none;
    outline: none;
    color: #7C919B;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #222A3F;
    padding: 65px 0 20px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-wrapper .btn-yellow {
    font-weight: 800;
    color: #182A57;
    padding: 10px 35px;
    background: #FDDA5E;
}

#head-section {
    background: #222A3F;
    padding-bottom: 80px;
}

.head-img-text-block {
    position: relative;
    margin-bottom: 70px;
}

.head-img-text-block p {
    font-weight: 800;
    font-size: 20px;
    line-height: 27px;
    padding: 25px 140px 25px 120px;
    background: #FDDA5E;
    max-width: 700px;
}

.head-img-text-block img {
    position: absolute;
    right: -110px;
    top: -70px;
    max-width: 675px;
}

.head-title img {
    margin-bottom: 20px;
}

.head-title h1 {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 55px;
    line-height: 60px;
    color: #FFFFFF;
    max-width: 690px;
}

.head-title h1 span {
    color: #FDDA5E;
    font-weight: 400;
    display: block;
}

#instrument {
    padding: 30px 0;
    background: #FDDA5E;
    position: relative;
}

#instrument::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0 solid transparent;
    border-top-width: 330px;
    border-bottom-width: 0px;
    border-right: 200px solid rgb(255, 255, 255);
}

.instrument {
    display: grid;
    grid-template-columns: 24% 69%;
    gap: 0 7%;
    align-items: center;
}

.instrumnet-left p {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 33px;
    text-transform: uppercase;
    font-stretch: 125;
    padding: 40px 25px 30px 0;
    background: #FFFFFF;
    position: relative;
}

.instrumnet-left p::after {
    content: '';
    position: absolute;
    left: -370px;
    top: 0;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-top-width: 0px;
    border-bottom-width: 202px;
    border-right: 370px solid white;

}

.instrument-right p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 22px;
}

#question {
    padding-top: 30px;
    position: relative;
    overflow: hidden;
}

.question {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.question-left img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    display: block;
    height: 100%;
    max-width: 48vw;
}

.question-left p {
    font-weight: 700;
    font-size: 26px;
    line-height: 35px;
    background: #FDDA5E;
    border-bottom: 1px solid #000000;
    padding: 15px 30px;
    width: max-content;
}

.question-left p:first-child {
    margin-bottom: 30px;
}

.question-left p:nth-child(2),
.question-left p:nth-child(3) {
    margin-bottom: 260px;
    margin-left: 285px;
}

.question-left p:nth-child(4) {
    margin-left: 40px;
}

.question-right ul li {
    list-style: none;
    position: relative;
    padding-left: 1em;
}

.question-right ul li::before {
    content: "\2022";
    color: #182A57;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    position: absolute;
    left: 0;
}

.question-right {
    font-size: 16px;
    line-height: 22px;
    position: relative;
}

.question-right p {
    margin-bottom: 60px;
}

.question-right ul {
    margin-bottom: 30px;
}

#question>img {
    position: absolute;
    top: -150px;
    right: -470px;
}

#community {
    background: #222A3F;
    padding: 35px 0;
    position: relative;
}

#community::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0 solid transparent;
    border-bottom-width: 202px;
    border-top-width: 0px;
    border-right: 250px solid rgb(255, 255, 255);
}

.community {
    display: grid;
    grid-template-columns: 10% 79%;
    gap: 0 11%;
    align-items: center;
}

.community-right h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 40px;
    line-height: 44px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.community-right p {
    font-family: 'Archivo', sans-serif;
    font-size: 40px;
    line-height: 44px;
    color: #FFFFFF;
}

#workers {
    padding: 40px 0 15px 0;
    position: relative;
}

#workers>#workers-bg-pic {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    height: 100%;
    max-width: 25vw;
}

#workers>#workers-bg-line {
    position: absolute;
    left: -400px;
    top: 0;
}

.workers {
    max-width: 930px;
    font-size: 16px;
    line-height: 22px;
}

.workers ul li {
    list-style: none;
    margin-bottom: 20px;
}

.workers ul li:last-child {
    margin-bottom: 0;
}

.workers ul li h3::before {
    content: url('./img/workers-list-item.svg');
    margin-right: 35px;
}

.workers ul li h3 {
    font-family: 'Archivo', sans-serif;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 32px;
    line-height: 35px;

    display: flex;
    align-items: center;
}

.workers ul li div {
    padding-left: 110px;
}

.workers ul li p {
    margin-bottom: 20px;
}

.workers ul li p:last-child {
    margin-bottom: 0;
}

#propose-yellow {
    background: #FDDA5E;
    padding: 20px 0;
    position: relative;
}

#propose-yellow::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0 solid transparent;
    border-top-width: 247px;
    border-bottom-width: 0px;
    border-right: 240px solid rgb(255, 255, 255);
}

.propose-yellow h2 {
    font-size: 42px;
    line-height: 57px;
    margin-bottom: 20px;
}

.propose-yellow h2 span {
    text-transform: uppercase;
    font-weight: 800;
}

.propose-yellow p {
    font-weight: 800;
    font-size: 18px;
    line-height: 25px;
    max-width: 820px;
    margin: 0 0 0 auto;
}

.propose-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr .9fr;
    gap: 0 20px;
    font-size: 18px;
    line-height: 25px;
    position: relative;
}

#propose-info {
    padding: 15px 0 20px 0;
    position: relative;
    background: url('./img/propose-left-line.svg') no-repeat -91% 350%, #fff url('./img/propose-right-line.svg') no-repeat 205% 100%;
}

.propose-info-wrapper div:last-child>b {
    display: block;
    margin-bottom: 20px;
}

.propose-info-wrapper div:last-child {
    text-align: center;
}

.propose-info-wrapper p {
    margin-bottom: 15px;
}

.propose-info-wrapper span {
    font-weight: 800;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 8px 20px;
    background: #182A57;
    display: inline-block;
    margin-bottom: 20px;
    cursor: pointer;
}

.propose-info-wrapper div:first-child img {
    position: absolute;
    left: -250px;
    top: -115px;
}

.propose-info>p {
    line-height: 25px;
    margin-bottom: 25px;
    margin-top: 20px;
    color: #222A3F;
}

.propose-info-photos {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 15px 15px;
    grid-template-areas:
        "img1 img1 img1 img1 img2 img2 img2 img2"
        "img3 img3 img3 img4 img4 img5 img5 img5"
        "img6 img6 img6 img7 img7 img7 img8 img8";
}

.img1 {
    grid-area: img1;
}

.img2 {
    grid-area: img2;
}

.img3 {
    grid-area: img3;
}

.img4 {
    grid-area: img4;
}

.img5 {
    grid-area: img5;
}

.img6 {
    grid-area: img6;
}

.img7 {
    grid-area: img7;
}

.img8 {
    grid-area: img8;
}

.propose-info-photos img {
    width: 100%;
    height: 243px;
    object-fit: cover;
}

.propose-left-line {
    position: absolute;
    left: -25%;
    bottom: -200px;
}

.propose-right-line {
    position: absolute;
    right: -25%;
    top: 0;
}

footer {
    background: #182A57;
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
    padding: 10px 0;
}

.footer-wrapper b {
    display: block;
}

.footer-wrapper p {
    margin-bottom: 15px;
}

.footer-wrapper small {
    font-size: 14px;
}

.head-title-imgs-mob,
.question-right-mob-item {
    display: none;
}

/* MEDIA */

@media (max-width: 1430px) {
    .head-img-text-block img {
        right: 0;
    }

    #instrument::after {
        border-top-width: 335px;
        border-right: 40px solid rgb(255, 255, 255);
    }

    #question>img {
        display: none;
    }

    #community::after {
        border-right: 145px solid rgb(255, 255, 255);
    }

    .workers {
        max-width: 730px;
    }

    #workers>#workers-bg-pic {
        max-width: 35vw;
    }

    #workers>#workers-bg-line {
        left: -600px;
    }

    #propose-yellow::after {
        border-right: 120px solid rgb(255, 255, 255);
        border-top-width: 305px;
    }

    #propose-info {
        background: none;
    }

    .propose-info-wrapper div:first-child img {
        left: -45px;
        top: 0;
        width: 35%;
    }
}

@media (max-width: 1250px) {
    .container {
        max-width: 942px;
    }

    .head-img-text-block p {
        max-width: 100%;
    }

    .head-img-text-block img {
        display: none;
    }

    .head-title-imgs-mob {
        display: block;
    }

    .head-title-imgs {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    .head-img-text-block {
        margin-bottom: 0;
    }

    #instrument::after {
        border-top-width: 350px;
        border-right: 25px solid rgb(255, 255, 255);
    }

    #question>img {
        right: -555px;
    }

    .question-left img {
        max-width: 59vw;
    }

    .question-left p:first-child {
        margin-bottom: 100px;
    }

    .question-left p:nth-child(2),
    .question-left p:nth-child(3) {
        margin-bottom: 495px;
        margin-left: 285px;
    }

    .community-right p,
    .community-right h2 {
        font-size: 30px;
    }

    .workers {
        max-width: 530px;
    }

    #workers>#workers-bg-pic {
        max-width: 40vw;
    }

    .propose-info-photos img {
        margin: 0;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 718px;
    }

    .instrument {
        grid-template-columns: 1fr;
    }

    #instrument {
        padding: 0;
        overflow: hidden;
    }

    .instrumnet-left p::after {
        display: block;
        width: 1000%;
        height: 100%;
        left: -100%;
        background: #fff;
        z-index: -1;
        border: none;
    }

    .instrumnet-left p {
        z-index: 3;
        width: 70%;
        margin: 0 0 0 auto;
    }

    .instrumnet-left {
        margin-bottom: 15px;
        position: relative;
    }

    .instrumnet-left::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border: 0 solid transparent;
        border-bottom-width: 0px;
        border-top-width: 150px;
        border-left: 305px solid #FDDA5E;
        z-index: 999;
        left: -136px;
    }

    #instrument::after {
        border-top-width: 285px;
        border-right: 60px solid rgb(255, 255, 255);
    }

    .question-left {
        display: none;
    }

    .question {
        display: block;
    }

    .question-right-mob-item {
        display: block;
        font-weight: 700;
        font-size: 16px;
        line-height: 22px;
        padding: 6px 0 15px 0;
        background: #FDDA5E;
        z-index: 3;
        position: relative;
        margin-bottom: 10px;
    }

    .question-right-mob-item::after {
        content: '';
        display: block;
        width: 1000%;
        height: 100%;
        position: absolute;
        left: -100%;
        top: 0;
        background: #FDDA5E;
        z-index: -1;
        border-bottom: 1px solid #000000;
    }

    .question-right>b {
        display: none;
    }

    .question-right p {
        margin-bottom: 30px;
    }

    .community-right p,
    .community-right h2 {
        font-size: 21px;
    }

    .community {
        grid-template-columns: 10% 66%;
        gap: 0 5%;
    }

    .community-right p br,
    .community-right h2 br,
    #workers>#workers-bg-pic,
    #workers-bg-line {
        display: none;
    }

    .workers {
        max-width: 100%;
    }

    #propose-yellow::after {
        border-right: 122px solid rgb(255, 255, 255);
        border-top-width: 385px;
    }

    .propose-info-wrapper div:first-child {
        display: none;
    }

    .propose-info-wrapper {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 526px;
    }

    .head-img-text-block p {
        padding: 10px 0;
        position: relative;
        z-index: 3;
    }

    .head-img-text-block p::after {
        content: '';
        position: absolute;
        left: -1000%;
        top: 0;
        width: 10000%;
        height: 100%;
        background: #FDDA5E;
        z-index: -1;
    }

    #head-section {
        overflow: hidden;
    }

    .instrumnet-left p {
        width: 85%;
    }

    .instrumnet-left::before {
        border-top-width: 150px;
        border-left: 200px solid #FDDA5E;
    }

    .community-right p,
    .community-right h2 {
        font-size: 16px;
        line-height: 17px;
    }

    #community {
        padding: 10px 0;
    }

    #propose-yellow::after {
        border-right: 60px solid rgb(255, 255, 255);
        border-top-width: 476px;
    }

    #instrument::after {
        border-top-width: 380px;
        border-right: 20px solid rgb(255, 255, 255);
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    header {
        padding: 10px 0;
    }

    .header-wrapper a:first-child {
        width: 88px;
        height: 88px;
    }

    .header-wrapper .btn-yellow {
        font-size: 10px;
        padding: 2px 1px;
    }

    .head-title h1 {
        font-size: 28px;
        line-height: 30px;
    }

    .head-title-imgs img:first-child {
        width: 25%;
    }

    #head-section {
        padding-bottom: 10px;
    }

    .head-img-text-block p {
        font-size: 16px;
    }

    #instrument::after {
        border-top-width: 420px;
        border-right: 25px solid rgb(255, 255, 255);
    }

    .instrumnet-left::before {
        border-top-width: 45px;
        border-left: 75px solid #FDDA5E;
        left: -15px;
    }

    .instrumnet-left p {
        font-size: 16px;
        line-height: 17px;
    }

    .instrumnet-left p {
        width: 80%;
        padding: 5px 0;
    }

    .instrumnet-left {
        margin-bottom: 5px;
    }

    .instrument-right p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .question-right {
        font-size: 13px;
        line-height: 18px;
    }

    .question-right-mob-item {
        margin-bottom: 5px;
        padding: 10px 0;
    }

    .question-right ul,
    .question-right p {
        margin-bottom: 5px;
    }

    #question {
        padding-top: 10px;
    }

    .workers ul li h3::before {
        transform: scale(.4);
        margin-right: 20px;
        position: absolute;
        left: -25px;
    }

    .workers ul li div {
        padding-left: 0;
    }

    .workers ul li h3 {
        font-size: 16px;
        line-height: 22px;
        position: relative;
        padding-left: 40px;
    }

    .workers ul li p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .propose-yellow h2 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 10px;
    }

    .propose-yellow p {
        font-size: 12px;
        line-height: 16px;
    }

    #propose-yellow {
        padding: 10px 0;
    }

    #propose-yellow::after {
        border-right: 40px solid rgb(255, 255, 255);
        border-top-width: 120px;
    }

    .propose-info-wrapper {
        grid-template-columns: 1fr;
        font-size: 12px;
        line-height: 16px;
    }

    .propose-info-wrapper ul {
        padding-left: 20px;
    }

    .propose-info-wrapper div:nth-child(2) {
        margin-bottom: 15px;
    }

    .propose-info-wrapper div:last-child>b {
        margin-bottom: 5px;
    }

    .propose-info-wrapper p,
    .propose-info-wrapper span {
        margin-bottom: 10px;
    }

    .propose-info>p {
        margin-top: 5px;
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 5px;
    }

    .propose-info-photos {
        display: grid;
        grid-auto-columns: 1fr;
        grid-auto-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 5px;
        grid-template-areas:
            "img1 img1 img1 img1 img1 img1 img1 img1"
            "img2 img2 img2 img2 img2 img2 img2 img2"
            "img3 img3 img3 img3 img3 img4 img4 img4"
            "img5 img5 img5 img5 img5 img5 img5 img5"
            "img6 img6 img6 img6 img6 img8 img8 img8";
    }

    .img7 {
        display: none;
    }

    #propose-info {
        padding: 10px 0 5px 0;
    }

    #workers {
        padding: 15px 0;
    }

    .footer-wrapper {
        font-size: 10px;
        line-height: 14px;
    }

    .footer-wrapper>img {
        width: 26px;
    }

    .footer-wrapper small {
        font-size: 10px;
    }
}

@media (max-width: 315px) {
    .instrumnet-left::before {
        display: none;
    }
}