body,
html {
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 481px) {
    .topbar {
        width: 100%;
        height: 8vh;
        background-color: #FF6A00;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #div-icons {
        width: 50%;
        height: 8vh;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-right: 6.5rem;
    }

    #div-icons svg {
        margin-right: 2vw;
        width: 1vw;
        cursor: pointer;
    }

    .container {
        background-image: url(../../images/cadastro.webp);
        background-size: cover;
        background-position: center;
        width: 100vw;
        height: 92vh;
    }

    .cadastro-input {
        border-radius: 100vw;
        border: 1px solid #FF6A00;
        outline: none;
        box-shadow: none;
        padding: 0.4vw 0.4vw 0.4vw 1.1vw;
        font-size: 1vw;
        display: flex;
        width: 100%;
        margin-bottom: 2vh;
    }

    .container .form {
        position: absolute;
        top: 50vh;
        left: 4vw;
        min-width: 40vw;
        max-width: 40vw;
    }

    .inputs {
        display: flex;
        flex-wrap: wrap;
        gap: 5.5%;
    }

    .container .form input:nth-child(3) {
        width: 43%;
    }

    .custom-select {
        position: relative;
        width: 47%;
    }

    .custom-select select {
        width: 100%;
        border: 1px solid #FF6A00;
        border-radius: 100vw;
        height: 2rem;
        padding: 0 1vw;
        background-color: white;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 1vw;
        color: gray;
    }

    .custom-select::after {
        content: '\25BC';
        position: absolute;
        right: 0.5rem;
        top: 40%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: #FF6A00;
        pointer-events: none;
    }

    .custom-select select:focus {
        outline: none;
    }


    .checkbox-container {
        position: relative;
        display: inline-block;
        padding-top: 2px;
        padding-left: 30px;
        font-size: 0.9rem;
        cursor: pointer;
        user-select: none;
        vertical-align: middle;
    }

    .checkbox-container input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
    }

    .checkbox-container .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 15px;
        width: 15px;
        background-color: #fff;
        border: 2px solid #FF6A00;
        border-radius: 5px;
        transition: background-color 0.3s, border-color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checkbox-container input[type="checkbox"]:checked+.checkmark {
        background-color: #FF6A00;
        border-color: #FF5A00;
    }

    .checkbox-container input[type="checkbox"]:checked+.checkmark::before {
        content: '\2714';
        font-size: 14px;
        color: white;
    }

    .checkbox-container:hover .checkmark {
        border-color: #FF5A00;
    }

    .checkbox-container a {
        color: black;
    }

    .form button:not(:disabled) {
        position: relative;
        border: none;
        border-radius: 2rem;
        font-size: 1rem;
        padding: 0.5rem 8rem;
        color: #FFF;
        background-color: #FF6A00;
        top: 3rem;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .form button:not(:disabled):hover {
        background-color: #FF5A00;
        transition: background-color 0.3s;
    }

    .form button:disabled {
        position: relative;
        border: none;
        border-radius: 2rem;
        font-size: 1rem;
        padding: 0.5rem 8rem;
        color: #FFF;
        background-color: #FF6A00;
        filter: grayscale(30%);
        top: 3rem;
        left: 50%;
        transform: translateX(-50%);
        transition: filter 0.3s, background-color 0.3s;
    }

    #ahref {
        text-decoration: underline;
    }
}

@media screen and (max-width: 480px) {
    .topbar {
        width: 100%;
        height: 8vh;
        background-color: #FF6A00;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #div-icons {
        width: 50%;
        height: 8vh;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-right: 5vw;
    }

    #div-icons svg {
        margin-right: 4vw;
        width: 4vw;
        cursor: pointer;
    }

    #div-icons svg:last-child {
        margin-right: 2vw;
    }

    .container {
        background-image: url(../../images/m-cadastro.webp);
        background-size: cover;
        background-position: center;
        width: 100vw;
        height: 92vh;
    }

    .cadastro-input {
        border-radius: 3rem;
        border: 1px solid #FF6A00;
        outline: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        font-size: 1rem;
        display: flex;
        width: 97%;
        margin-bottom: 1vh;
    }

    .container .form {
        position: absolute;
        top: 58vh;
        left: 50%;
        width: 80vw;
        transform: translateX(-50%);
    }

    .custom-select {
        position: relative;
        width: 100%;
    }

    .custom-select select {
        width: 102%;
        border: 1px solid #FF6A00;
        border-radius: 100vw;
        height: 1.8rem;
        padding: 0 0 0 1rem;
        background-color: white;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        color: gray;
        font-size: 1rem;
    }

    .custom-select::after {
        content: '\25BC';
        position: absolute;
        right: 0.5rem;
        top: 55%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: #FF6A00;
        pointer-events: none;
    }

    .custom-select select:focus {
        outline: none;
    }

    .checkbox-container {
        position: relative;
        display: inline-block;
        padding-top: 2px;
        padding-left: 30px;
        font-size: 0.9rem;
        cursor: pointer;
        user-select: none;
        vertical-align: middle;
        margin-top: 1vh;
    }

    .checkbox-container input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
    }

    .checkbox-container .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 15px;
        width: 15px;
        background-color: #fff;
        border: 2px solid #FF6A00;
        border-radius: 5px;
        transition: background-color 0.3s, border-color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checkbox-container input[type="checkbox"]:checked+.checkmark {
        background-color: #FF6A00;
        border-color: #FF5A00;
    }

    .checkbox-container input[type="checkbox"]:checked+.checkmark::before {
        content: '\2714';
        font-size: 14px;
        color: white;
    }

    .checkbox-container:hover .checkmark {
        border-color: #FF5A00;
    }

    .checkbox-container a {
        color: black;
    }

    .form button:not(:disabled) {
        position: relative;
        border: none;
        border-radius: 2rem;
        font-size: 1rem;
        padding: 0.5rem 8rem;
        color: #FFF;
        background-color: #FF6A00;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .form button:not(:disabled):hover {
        background-color: #FF5A00;
        transition: background-color 0.3s;
    }

    .form button:disabled {
        position: relative;
        border: none;
        border-radius: 2rem;
        font-size: 1rem;
        padding: 0.5rem 8rem;
        color: #FFF;
        background-color: #FF6A00;
        filter: grayscale(30%);
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        transition: filter 0.3s, background-color 0.3s;
    }
}