* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}

:root {
    /* COLORS */
    --blue: #4D55F5;
    --dark-blue: #2F37D7;
    --purple: #CA7FFE;
    --black: #222320;
    --white: #ffffff;
}

body {
    background: rgba(252, 253, 247, 1);
    color: #222320;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.top_ad {
    width: 100%;
    text-align: center;
    padding: 50px 0;
    background: white;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
}

.top_ad p {
    font-weight: 500;
    font-size: 16px;
}



/* Header */

.header {
    padding: 70px 20px;
    /* overflow: hidden; */
}

.header_top_subtitle {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    padding-bottom: 155px;
}

.header_top_subtitle p {
    font-weight: 500;
    font-size: 16px;
}

.header_about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.header_logo {
    text-align: center;
    font-weight: 800;
    font-size: 26px;
    color: var(--black);
}

.header_title {
    padding: 40px 0;
    position: relative;
    text-align: center;
}

.header_title h1 {
    max-width: 720px;
    font-weight: 800;
    font-size: 42px;
    line-height: 49.31px;
    color: var(--black);
}

.header_title_bg {
    position: absolute;
    width: 944px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.header_title_sun {
    position: absolute;
    z-index: -1;
    top: -70px;
    left: -113px;
}

.title_circle {
    position: absolute;
    right: 164px;
    top: 100px;
    z-index: -1;
}

.header_subtitle {
    font-weight: 500;
    font-size: 14px;
    line-height: 16.44px;
    color: var(--black);
    max-width: 944px;
    text-align: center;
    padding-bottom: 12px;
}

.header_form {
    width: 100%;
}

.form_generate {
    display: flex;
    width: 100%;
    gap: 14px;
}

.form_generate_input {
    display: flex;
    align-items: center;
    padding: 20px;
    width: 100%;
    height: 70px;
    border-radius: 20px;
    border: none;
    outline: none;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
}

.form_generate_btn {
    padding: 25px 47px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 18.78px;
    cursor: pointer;
    transition: .1s linear;
}

.form_generate_btn:hover {
    background: var(--dark-blue);
}

.form_generate_content {
    width: 100%;
    position: relative;
}

.form_generate_svg {
    color: #D5D5D5;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: .1s linear;
}

.form_generate_svg:hover {
    color: var(--blue);
}

.form_settings {
    margin-bottom: 40px;
    padding: 40px;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
    border-radius: 20px;
    background: var(--white);

    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

.settings_img_1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -150px;
    z-index: 99;
}

.settings_img_2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -150px;
}

.form_settings_name {
    font-weight: 700;
    font-size: 18px;
    line-height: 21.13px;
    color: var(--black);
}

.form_settings_items {
    display: flex;
    gap: 40px;
}

.form_settings_item {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.form_settings_input {
    cursor: pointer;
}

.form_settings_item_p {
    font-weight: 500;
    font-size: 16px;
    line-height: 18.78px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="checkbox"]:after{
    font-family: "Font Awesome 5 Free";
    content: '\f00c';
    font-weight: 800;
    font-size: 12px;
    display: none;
    color: var(--blue);
}

input[type="checkbox"]:hover {
    border: 2px solid var(--blue);
}

input[type="checkbox"]:checked {
    border: 2px solid var(--blue);
}

input[type="checkbox"]:checked::after {
    display: block;
}

.form_settings_length {
    display: flex;
    align-items: center;
    gap: 28px;
}

.form_settings_length_p {
    font-weight: 700;
    font-size: 16px;
    line-height: 18.78px;
    color: var(--black);
    padding: 10px 27px;
    border: 1px solid #676767;
    border-radius: 10px;
}

.form_settings_length_input {
    width: 100%;
}

.form_lane_input {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}


/* Custom Input Range */

.line {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 4px;
    background-color: var(--blue);
    position: absolute;
}

input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    cursor: pointer;
    height: 4px;
    background-color: #EBECE6;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    background: url("../img/_.svg") no-repeat;
    -webkit-appearance: none;
    appearance: none;
    height: 17px;
    width: 17px;
    cursor: pointer;
    background-color: transparent;
}







.main_ad_content {
    margin: 0 10px;
}

.main_ad {
    padding: 125px 0;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
    max-width: 1240px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.main_ad p {
    font-weight: 500;
    font-size: 16px;
}


/* Info */

.info {
    padding: 120px 20px 90px 20px;
}

.info_title {
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    line-height: 37.57px;
    color: var(--black);
    padding-bottom: 55px;
}

.info_about {
    display: flex;
    align-items: center;
    gap: 30px;
}

.info_about_p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--black);
}

.info_items {
    display: flex;
    padding-top: 86px;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.info_item {
    padding: 14px 18px;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
    text-align: center;
    border-radius: 10px;
    position: relative;
    width: calc(50% - 50px);
}

.info_item:nth-child(3) .info_item_name {
    width: 80%;
}

.info_item:nth-child(4) .info_item_name {
    width: 60%;
}

.info_item_name {
    padding: 10px 16px;
    background: var(--purple);
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    border-radius: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -32px;
}

.info_item p {
    font-weight: 500;
    font-size: 14px;
    line-height: 16.44px;
    color: var(--black);
}


.footer_ad {
    padding: 50px 0;
    text-align: center;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
    font-weight: 500;
    font-size: 16px;
    line-height: 18.78px;
    color: var(--black);
}
.footer {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 100px;
    border-top: 1px solid #F2F2F2;
}
.footer a {
    font-weight: 500;
    font-size: 14px;
    color: #8B8B8B;
    text-decoration: none;
}
.footer a:hover {
    color: var(--blue);
}


/* Error 404 */

.error_body {
    background: var(--white);
}

.error {
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100vh;
}

.error_content {
    position: relative;
}

.error_name {
    font-weight: 800;
    font-size: 120px;
    line-height: 140.88px;
    color: var(--black);
    padding-bottom: 32px;
}

.error_title {
    font-weight: 700;
    font-size: 18px;
    line-height: 21.13px;
    padding-bottom: 45px;
}

.error_btn {
    padding: 18px 47px;
    background: var(--blue);
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 18.78px;
    color: var(--white);
    text-decoration: none;
    transition: .1s linear;
}

.error_btn:hover {
    background: var(--dark-blue);
}

.error_img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.error_bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.lang img {
    border-radius: 4px;
    width: 100%;
    width: 44px;
    height: 29px;
    cursor: pointer;
    box-shadow: 0px 0px 4px 0px #0000001F;
}
.lang {
    position: relative;
}
.lang_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0px 0px 4px 0px #0000001F;
    z-index: 2;
    top: 40px;
    transition: .2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.lang_content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}
.lang_item img {
    box-shadow: 0px 0px 4px 0px #0000001F;
}
.lang_item:hover {
    background: #F5F5F5;
    color: #4D55F5;
}



/* Media */

@media screen and (max-width:1024px) {
    .info_item:nth-child(3) .info_item_name {
        width: 100%;
    }
    .info_item:nth-child(4) .info_item_name {
        width: 60%;
    }
}

@media screen and (max-width:768px) {
    .header {
        overflow: hidden;
    }
}

@media screen and (max-width:480px) {
    .header {
        padding: 50px 20px;
        overflow: hidden;
    }
    .header_top_subtitle {
        flex-direction: column;
        text-align: center;
    }
    .header_top_subtitle {
        gap: 20px;
        padding-bottom: 110px;
    }
    .header_title_sun {
        left: -30px;
    }
    .header_title h1 {
        font-size: 32px;
        line-height: 37.57px;
    }
    .header_subtitle {
        padding-bottom: 60px;
    }
    .form_generate {
        flex-direction: column;
    }
    .form_settings_items {
        flex-direction: column;
        gap: 24px;
    }
    .info_about {
        flex-direction: column;
        gap: 35px;
    }
    .info_item {
        width: 100%;
    }
    .info_item .info_item_name {
        width: 100% !important;
    }
    .footer {
        padding: 50px 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}