@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lexend:wght@100..900&display=swap');

.content{
    min-height: 100vh; padding: 30px; max-width: 900px; box-sizing: border-box; color: white; padding: 96px 128px;
}

@media screen and (max-width: 700px) {
    .content{
        padding: 64px 30px;
    }
}

h1,
h2,
h3 {
    font-family: "DM Sans", sans-serif;
    margin: 0 0 18px 0;
}

h4 {
    margin: 0 0 14px 0;
}

h5 {
    margin: 0 0 10px 0;
}

h6 {
    margin: 0 0 6px 0;
}

h4,
h5,
h6,
p,
a {
    font-family: "DM Sans", sans-serif;
}

h1 {
    font-weight: 600;
    font-size: 48px;
}

h2 {
    font-weight: 600;
    font-size: 42px;
}

h3 {
    font-weight: 600;
    font-size: 36px;
}

h4 {
    font-weight: 400;
    font-size: 24px;
}

h5 {
    font-weight: 500;
    font-size: 20px;
}

h6 {
    font-weight: 500;
    font-size: 16px;
}

p {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 20px;
}

button,
.button,
input[type=file]::file-selector-button {
    border: none;
    color: inherit;
    line-height: 46px;
    font-size: 16px;
    padding: 0 16px;
    font-family: "DM Sans", sans-serif;
    transition: 0.3s;
    font-weight: 400;
    cursor: pointer;
    flex-shrink: 0;
    background-color: rgb(0, 92, 230);
    color: white;
}

button:hover:not(button:disabled),
.button:hover:not(.button:disabled) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
}

button:active:not(.btn-filled:disabled) {
    transform: scale(0.95);
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea,
select {
    background-color: transparent;
    min-height: 46px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(138, 138, 138, 0.4);
    border-radius: rgb(0, 92, 230);
    line-height: 28px;
    font-size: 16px;
    padding: 0 8px;
    margin: 5px 0 6px 0;
    font-family: "DM Sans", sans-serif;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border: 1px solid rgb(0, 92, 230);
    outline: 1px solid rgb(0, 92, 230);
    margin-bottom: 6px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.463);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.modal.open{
    display: flex;
}

.modal-content {
    animation-name: modal;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background-color: rgb(0, 16, 85);
    box-sizing: border-box;
    border-radius: 20px;
    color: white;
}

.modal-content > button{
    float: right;
}

.modal-content > h2{
    margin: 0 0 20px 0;
}

@keyframes modal {
    0% {
        opacity: 0.0;
        transform: scale(0.0) translateY(1000px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}