@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0px;
    box-sizing: border-box;
}

html {
    width: 100%;
}

body {
    /* padding: 0px 5vw; */
    width: 100%;
    font-family: "Oswald", sans-serif;
}

.main-picture {
    width: 100%;
    /* height: 100vh; */
    background: #ffcc00;
    padding: 0px;
}

.main-picture-svg {
    margin: 0px auto;
    width: 60%;
    padding-top: 20%;
    padding-bottom: 20%;
}

.main-picture-background {
    background: #101178;
    height: 100%;
    clip-path: polygon(20% 0, 95% 0, 95% 100%, 2% 100%);
}

.main-button__container {
    display: flex;
    justify-content: center;
    position: relative;
}

.main-button__button {
    position: absolute;
    background: #101178;
    padding: 3% 5%;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    transform: skew(-20deg);
    box-shadow: 0.625rem -0.625rem #ffe900;
    bottom: -70px;
    font: normal normal bold 4.5rem Oswald;
    cursor: pointer;
    transition: all 0.2s;
}

.main-button__button:active {
    transform: translateY(-3px);
}

.main-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10%;
    grid-row-gap: 10%;

    /* height: 1350px; */
    /* padding: 40% 8%; */
    /* flex-wrap: wrap; */
}

.main-form-section {
    background: rgb(247, 248, 249, 0.7);
    clip-path: polygon(0 10vw, 100% 0, 100% calc(100% - 10vw), 0% 100%);
    padding: 10% 10vw;
    max-width: 100%;
    margin-top: 10%;
}

.main-form-header-register {
    /* margin-top: 40vh; */
    text-align: center;
    font: normal normal bold 5rem/4.4rem Oswald;
    letter-spacing: 0px;
    color: #00317e;
    text-transform: uppercase;
    margin-bottom: 10%;
}

.main-form-image-container img {
    width: 100%;
    box-shadow: 2.5rem 2.5rem #ffcc00;
}

.main-form-header {
    min-width: 60%;
    /* align-self: flex-start; */
    /* margin-right: 10%; */
}

.main-form-header h1 {
    text-align: left;
    font: normal normal normal 2.25rem/3.125rem Oswald;
    color: #000000;
    padding: 0% 1% 2% 0%;
    /* margin-right: 5%; */
    margin-top: 10%;
    /* max-width: 912px; */
    /* padding: 0px 10%; */
}

.main-form-form-main {
    min-width: 60%;
    margin-bottom: 30vh;
}

.main-form__form {
    position: relative;
    padding: 0px;
    margin: 0px;
    width: 100%;
}

.main-form__form textarea {
    resize: none;
    width: 100%;
    height: 180px;
    border: 1px solid #101178;
    font-size: 2rem;
}

.main-form__form input {
    font-size: 2rem;
    width: 100%;
    height: 60px;
    margin-bottom: 40px;
    border: 1px solid #101178;
}

select {
    display: block;
    font-size: 2rem;
    width: 100%;
    height: 60px;
    margin-bottom: 40px;
    border: 1px solid #101178;
    position: relative;
}

.form-option-default-style {
    width: 60%;
    margin: 0px;
    padding: 0px;
}

.arrow-button-container {
    position: relative;
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1vw;
    display: block;
    content: "";
    background-image: url("../images/svg/md-arrow-dropdown.svg");
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.main-form-button-container {
    width: 55%;
    cursor: pointer;
    padding: 1% 40px;
    background: #00317e;
    color: #ffffff;
    margin-top: 10px;
    height: fit-content;
    text-transform: uppercase;
    font-size: 1.5rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    border: 1px solid rgba(0, 49, 126, 1);
    transition: all 0.2s;
    position: relative;
}
.main-form-button {
    text-align: center;
    font: normal normal normal 25px/25px Oswald;
}
.main-form-button::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00317e;
    top: 0;
    left: 0;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 90% 100%);
}

.main-form-button-container:active {
    transform: translateY(-3px);
}

.main-form-button-container:hover {
    background: #ffffff;
    color: #101178;
    border: 1px solid #101178;
}

::placeholder {
    display: inline-block;
    color: #73a1c2;
    padding: 10px 5%;
    vertical-align: middle;
    font: normal normal medium 1.12rem/1.625rem Oswald;
    text-align: left;
}

input[type="date"]::before {
    padding-left: 5%;
    color: #73a1c2;
    content: attr(placeholder);
}
input[type="date"] {
    color: #ffffff;
}
input[type="date"]:focus,
input[type="date"]:valid {
    color: #73a1c2;
}
input[type="date"]:focus::before,
input[type="date"]:valid::before {
    content: "" !important;
}

.form-option-default-style {
    color: #73a1c2;
    padding: 10px 5%;
    vertical-align: middle;
    font: normal normal medium 1.12rem/1.625rem Oswald;
    text-align: left;
    width: 100%;
    margin-bottom: 40px;
}

select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
}

.unstyled {
    -webkit-appearance: none;
}
.unstyled::-webkit-inner-spin-button,
.unstyled::-webkit-calendar-picker-indicator {
    /* display: none; */
    margin-right: 1%;
    -webkit-appearance: none;
}

@media (max-width: 1200px) {
    .main-form-image-container img {
        box-shadow: 1.5rem 1.5rem #ffcc00;
    }
}

@media (max-width: 900px) {
    .main-button__button {
        font: normal normal bold 3.5rem Oswald;
    }

    .main-form {
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 0%;
        grid-row-gap: 5%;
    }
}

@media (max-width: 700px) {
    .main-button__button {
        font: normal normal bold 2rem Oswald;
        bottom: -6vh;
    }

    .main-form-section {
        margin-top: 25%;
    }
}

@media (max-width: 500px) {
    .main-form-header-register {
        font-size: 3rem;
    }

    .main-form-button-container {
        width: 90%;
    }
}

@media (max-width: 450px) {
    .main-button__button {
        font-size: 1.3rem;
        bottom: -5vh;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 70%;
    }

    .main-button__button {
        bottom: -3vh;
    }
}
