@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");

* {
    user-select: none;
}

html, body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 5px;
    row-gap: 10px;
    font-family: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::after {
    content: '';
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    /*background-image: linear-gradient(to right, rgba(0, 225, 255) 25%, rgb(255, 97, 97));*/
    background-image: url(images/IMAGE.jpg);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.language-options {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.flag {
    width: 30px;
}

.img-logo {
    width: auto;
    height: 40px;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-around;
    align-items: center;
    z-index: 99999;
}

ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

ul > li {
    text-transform: uppercase;
    list-style: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 300ms ease;
}

ul > li > a {
    text-decoration: none;
    color: #000000;
}

a#support {
    color: #2EA3F2;
}

ul > li:hover {
    cursor: pointer;
    opacity: 0.7;
}

select {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    border-radius: 5px;
    border: 2px solid #0000FF;
    cursor: pointer;
}

.form-container {
    width: 90%;
    max-height: 90%;
    border: 2px solid #000000;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.customer-section, .vehicle-section, .request-section, .button-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.customer-info, .vehicle-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    width: 90%;
    justify-content: center;
    margin-top: 20px;
}

.vehicle-info {
    row-gap: 10px;
}

.button-submit {
    margin-top: 20px;
}

.request-info {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
}

.files-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 30px;
}

.file-span-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

h1 {
    letter-spacing: 2px;
    color: #00237a;
    text-shadow: 3px 3px 5px #FFFFFF;
}

input[type="text"], input[type="number"], input[type="email"] {
    width: 30%;
    height: 30px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    letter-spacing: 1px;
    word-spacing: -2px;
    padding-left: 5px;
    font-family: 'Open Sans', sans-serif;
    transition: all 300ms ease;
    border-bottom: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.769);
}

input[placeholder="Numero tool"]::placeholder {
    font-weight: 600;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, textarea:focus {
    border-bottom: 2px solid #3e9ee9;
    outline: none;
    box-shadow: 3px 3px 5px #555555;
    background-color: rgba(255, 255, 255,1);
}

textarea {
    resize: none;
    border-radius: 10px;
    font-size: 15px;
    border: none;
    padding: 7px;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    transition: all 300ms ease;
    border-bottom: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.769);
}

button {
    cursor: pointer;
    width: 150px;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    background-color: #00237ad2;
    color: #FFFFFF;
    transition: all 300ms ease;
    margin-bottom: 10px;
}

button:hover {
    background-color: #00237a;
}

span {
    color: #00237a;
    font-weight: 600;
    font-size: 15px;
}

.back-icon {
    cursor: pointer;
    font-size: 22px;
    margin-right: 5px;
    transition: all 300ms ease;
}

.back-icon:hover {
    color: rgb(58, 71, 255);
}

#check-menu {
    display: none;
}

label[for="check-menu"] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    display: none;
}

label[for="check-menu"] span {
    width: 20px;
    height: 2px;
    background-color: #000000;
}

span.advertisement {
    color: #df1414;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.verify {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 1126px) {
    header, ul {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 1024px) {
    html, body {
        overflow-y: auto;
        height: auto;
        overflow-x: hidden;
    }

    .form-container {
        width: 100%;
        max-height: 200%;
    }

    .customer-info, .vehicle-info {
        flex-direction: column;
    }

    input[type="text"], input[type="number"], input[type="email"] {
        width: 80%;
    }

    .request-info, .files-section, .file-span-input {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

    textarea {
        width: 90%;
        height: 90%;
    }

    .files-section {
        margin-top: 10px;
    }

    .button-submit {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 820px) {
    header {
        gap: 30px;
    }

    header, ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    label[for="check-menu"] {
        display: flex;
        margin-left: 40px;
        cursor: pointer;
    }

    #check-menu:checked ~ ul {
        display: flex;
    }

    ul {
        display: none;
        flex-wrap: wrap;
    }
}