@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
html {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

body {
    margin: 0;
}

.container {
    width: 1235px;
    margin: 0 auto;
}

h1 {
    color: #424241;
    font-family: Lato;
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 4.5rem;
    border-bottom: 2px solid #FFB100;
    padding-bottom: 1.5rem;
    width: fit-content;
}

.grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
}

.bg-grey {
    background: #F2F5F7;
}

.two-block {
    background: #fff;
        
}

    .two-block div:first-child {
        margin-top: 3rem;
        border-radius: 2rem 2rem 0rem 0rem;
        overflow: hidden;
    }

.two-block img {
    width: 100%;
}

.text {
    color: var(--, #424242);
    font-family: Lato;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
    /* 160% */
}

.two-block p {
    color: #424242;
    font-family: Lato;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
    padding: 1.5rem 2.5rem 0 2.5rem;
    margin: 0;
}

.upload {
    padding: 3.5rem;
}

.upload .grid {
    padding: 5rem 6.5rem;
    gap: 4rem;
    border-radius: 1.5rem;
    background: #FFB100;
    grid-template-columns: auto 1fr;
}

.upload .grid p {
    color: #FFF;
    font-family: Lato;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2.25rem;
    margin: 0;
    /* 128.571% */
}

.table {
    display: inline-flex;
    padding: 1.5rem 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 1rem;
    background: #FFF;
    box-shadow: 0px 0px 16px 0px rgba(66, 66, 66, 0.10);
}

.table-about {
    display: block;
    padding: 5.5rem 2rem 1.5rem 2rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.625rem;
    flex-shrink: 0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.80);
    margin: -4.5rem 6.5rem 0 6.5rem;
    color: #424242;
    font-family: Lato;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
    /* 160% */
}



.table-about a {
    color: #FFB100;
    text-decoration-line: underline;
    text-transform: uppercase;
    display: inline-flex;
}

.about-block {
    padding: 2rem 0;
}

.about-block p{
    color: #000;
    font-family: Lato;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2rem;
    /* 160% */
}


.grid-header {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 7fr 5fr;
    max-width: 1235px;
    margin: 0 auto;    
}

.heder-section {
    background: #F2F5F7;
    display:flex;
}

.bg-with {
    background: #FFF;
    padding-right: 3rem;
}

.dop, .dop-2 {
    width: 100%;
}

.dop-2 {
    border-radius: 0px 0px 0px 2rem;
    padding-top: 3rem;
}

    .grid-header .bg-with {
        border-radius: 0px 0px 2rem 0px;
        padding-top: 3rem;
    }


.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin-top: 2.5rem;
}

.form-control[type=file] {
    overflow: hidden;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0.2;
    background: #424242;
    margin: 0.25rem 0.25rem 0.25rem -6.5rem;
    border: none;
}

.input-group > .form-control, .input-group > .form-floating, .input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}



.form-control {
    display: flex;
    align-self:center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #707070;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    border: 1px solid #C9C9C9;
    background: #FFF;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control::file-selector-button {
        display: none;
    }

.footer-header {
    color: #FFF;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    padding: 1.5rem 0;
    align-items: flex-start;
    gap: 10px;
    background: #424242;
}

    .footer-header b {
        color: #FFB100;
        font-family: Lato;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        text-decoration-line: underline;
        text-transform: uppercase;
    }

.footer-f {
    color: #FFF;
    font-family: Lato;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    background: #2E2E2E;
    padding: .625rem 0;
}
@media (max-width: 640.98px) {
    .container {
        width: auto;
        padding: 0 1rem;
    }
    .grid-header {
        grid-template-columns: 1fr;
    }
    h1 {
        margin: 1rem 0;
    }
    .bg-with {
        padding: 0;
    }
        .bg-with.dop {
            border-radius: 0px 0px 1rem 0px;
        }

    .grid-header .bg-with {
        border-radius: 0px 0px 0 0px;
        padding-top: 1rem;
        padding-right: 0;
    }

        
    .upload {
        padding: 1rem;
    }

        .upload .grid {
            padding: 1rem;
            gap: 1rem;
            grid-template-columns: 1fr;
        }
    .grid svg {
        max-width: 3rem;
        height: auto;
    }
    .table {
        max-width: calc(100vw - 2rem);
        padding: 1rem;
    }
    .table img {
        width: 100%;
    }
    .table-about {
        padding: 5.5rem 2rem 1.5rem 2rem;
        margin: -4.5rem .5rem 0 .5rem;
    }
}
