* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #d5c485;
}

::-webkit-scrollbar-thumb {
    background: #f4bf02;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f4bf02;
}

ul,
ol {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: Montserrat;
    color: black;
}

header {
    width: 100%;
    background-color: #f4bf02;
    border-bottom: 1px solid white;
    height: 100px;
    position: fixed;
}

.active{
    background-color: black !important;
    color:#f4bf02 !important;
}
.not-active{
    background-color: #f4bf02  !important;
    color:black !important;
}

header nav {
    width: 1168px;
    margin: 0 auto;
}
header nav .header-navigation {
    position: relative;
}

header nav .header-navigation .language {
    position: absolute;
    border: 1px solid #ffffff;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 500;
    font-size: 20px;
    padding: 5px 15px;
    background-color: #f4bf02;
    top: 30px;
}

header nav .header-navigation .language .languages-list {
    display: none;
    margin-top: 10px;
}

.open-languges {
    height: 100px;
}

header nav .header-navigation .language div .language-pointer {
    transform: rotate(-90deg);
    display: inline-block;
    transition: 0.3s;
}

.language-pointer-rotate {
    transform: rotate(90deg) !important;
}

.languages-list-open {
    display: block !important;
}

main {
    width: 100%;
    padding-top: 100px;
}

.map{
    padding-top: 30px;
    background-color: #f5f4f2;
    width: 100%;
}

main .about {
    width: 100%;
    color: #0f0f0f;
    margin: 0 auto;
    padding-top: 57px;
    padding-bottom: 137px;
    background: linear-gradient(180deg, #f2bd00 0%, #ffca10 31.49%, #fff1c1 100%);
}

main .about .about-first {
    width: 1168px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

main .about-second {
    text-align: center;
    color: #f5f4f2;
    font-size: 1px;
    background-color: #f5f4f2 !important;
    display: flex;
    padding-bottom: 30px;
}

main .about .about-first .about-text {
    display: flex;
    flex-direction: column;
}

main .about .about-first .about-text .first-title {
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    width: 425px;
    opacity: 0.99;
}

main .about .about-first .about-text .registration-ref {
    background-color: #222222;
    border-radius: 20px;
    padding: 20px 30px;
    width: fit-content;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #222222;
    text-transform: uppercase;
    color: #ffffff;
    transition: 0.3s;
}

main .about .about-first .about-text .registration-ref:hover {
    background-color: transparent;
    color: black;
}
main .about .about-first .about-image {
    display: flex;
    flex-direction: row;
    width: 520px;
    gap: 20px;
}
main .about .about-first .about-image img {
    width: 250px;
    border-radius: 20px;
}
main .registration-section {
    background-color: #f5f4f2;
    width: 100%;
    padding: 60px 0;
}

.form-container {
    margin: 0 auto;
    width: 510px;
}

.form-container .register-now {
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-top: 0;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 12px;
    text-align: center;
}

.form-container .instant-registration {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #0f0f0f;
    text-align: center;
    margin-top: 20px;
}

.form-container .choose-registration-form {
    width: 100%;
    display: grid;
    grid-template-columns: 33.333% 33.333% 33.333%;
    margin-top: 20px;
}

.form-container .choose-registration-form button {
    width: 100%;
    background-color: #facb26;
    padding: 10px;
    text-align: center;
    font-weight: 900;
    font-size: 100%;
    border: none;
}

.form-container .choose-registration-form button:nth-child(1) {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: black;
    color: #facb26;
}

.form-container .choose-registration-form button:nth-child(2) {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.form-container .choose-registration-form button:nth-child(3) {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.section-title {
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-top: 0;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.register-form-label {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 8px;
    margin-top: 30px;
    color: #0f0f0f;
}

#taxi-form {
    display: block;
}

#auto-delivery-form {
    display: none;
}

#moto-delivery-form {
    display: none;
}

.taxi-form {
    animation: showForm 1 0.5s linear;
}

@keyframes showForm {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.taxi-form h1 {
    text-align: center;
    padding-top: 30px;
    font-size: 30px;
}

.taxi-form input {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #fff;
    color: #161616;
    background: #ffffff;
    box-shadow: 4px 4px 8px #f5f5f5;
    border-radius: 20px;
    outline-color: #f4bf02;
}

.select-color {
    width: 98%;
    outline: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    height: 100%;
    background-color: transparent;
    display: inline-block;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.select-color-con {
    display: flex;
    align-items: center;
    height: 66px;
    width: 100%;
    border: 2px solid #fff;
    color: #161616;
    background: #ffffff;
    box-shadow: 4px 4px 8px #f5f5f5;
    border-radius: 20px;
}

.reg-form-agree {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.reg-form-agree span {
    color: #f4bf02;
}

.taxi-form .registration-submit {
    background-color: #222222;
    border-radius: 20px;
    padding: 20px 30px;
    width: fit-content;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #222222;
    text-transform: uppercase;
    display: flex;
    color: #ffffff;
    transition: 0.3s;
    margin: 0 auto;
    margin-top: 30px;
    cursor: pointer;
}

.taxi-form .registration-submit:hover {
    background-color: transparent;
    color: #222222;
}

.congratulation-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.congratulation {
    background-color: green;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    width: 400px;
    height: 300px;
    padding: 20px;
}

.congratulation-container p {
    font-size: 32px;
    color: white;
}

.congratulation-container button {
    padding: 20px 30px;
    color: white;
    background-color: black;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid white;
}

.g-recaptcha {
    margin-top: 20px;
}

@media (max-width: 1200px) {
    header nav {
        width: 680px;
    }

    main .about {
    }

    main .about .about-first {
        flex-direction: column;
        gap: 30px;
        width: 680px;

    }

    main .about .about-first .about-text {
        align-items: center;
    }

    main .about .about-first .about-text .first-title {
        width: 300px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    header nav {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    main .about .about-first {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
    main .about-text {
        align-items: center;
    }
    main .about .about-first .about-image {
        width: 300px;
        justify-content: center;
    }
    main .about .about-first .about-image img {
        width: 40%;
    }

    .form-container {
        margin: 0 auto;
        width: 400px;
    }

    main .registration-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 520px) {
    header {
        height: 60px;
    }
    header nav .header-navigation {
        width: 100%;
    }

    header nav .header-navigation .language {
        top: 11px;
    }

    main{
        padding-top: 60px;
    }

    .map{
        padding-top: 0px;
    }

    main .about {
        padding-bottom: 50px;
        padding-top: 30px;
    }
    

    main .about .about-first .about-text .first-title {
        width: 100%;
    }

    main .about .about-first .about-text .logo {
        width: 100%;
    }

    main .about .about-first .about-text .registration-ref {
        width: 100%;
        font-size: 18px;
        padding: 18px 10px;
        text-align: center;
    }

    main .about .about-first .about-text .reg-form-agree {
        width: 100%;
    }
    main .about .about-first .about-image {
        width: 100%;
    }
    .form-container {
        width: 100%;
    }

    main .registration-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    header nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    main .about {
        padding-left: 20px;
        padding-right: 20px;
    }

    .congratulation {
        width: 80%;
        height: 60%;
        padding: 20px;
    }

    .congratulation-container p {
        font-size: 28px;
    }
}
