.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.content_wrapper {
    height: 100%;
    width: 100%;
    max-width: 1920px;
    max-height: 1080px;
    margin: auto;
}

.contents {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
}

.content_grid:nth-child(2) {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content_grid:nth-child(2) img {
    aspect-ratio: 1/1;
    width: 70%;
}

.content_grid:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px 1fr;
}

.login_grid:nth-child(1) {
    display: flex;
    align-items: center;
}

.login_grid:nth-child(1) img {
    height: 80px;
}

.login_grid:nth-child(2) {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.input_wrapper {
    height: 70%;
    width: 50%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px 1fr;
}

.input_wrapper .grid:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input_wrapper .grid h1 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
}

.input_wrapper .grid h4 {
    font-weight: var(--normal);
}

.input_wrapper .grid:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input input {
    height: 60px;
    border: solid 1px var(--bg-tertiary);
    border-radius: 5px;
}

.input:nth-child(2) {
    position: relative;
}

.input:nth-child(2) a {
    text-align: end;
    text-decoration: none;
    color: var(--bg-primary);
}

#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.input:nth-child(3) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.input:nth-child(3) button {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    background-color: var(--bg-primary);
    width:100%;
}

.input:last-child {
    margin-top: auto;
    margin-bottom: 20px;
}

.input:last-child h6 {
    font-weight: var(--normal);
}

.intro {
    background-color: #fdfdfd;
    overflow: hidden;
}

body {
    overflow: hidden;
}
#intro-video {
    width: 100%;
    height: 70%;
    overflow: hidden;
}

@media screen and (min-width: 1100px) and (max-width: 1437px) {
    .input_wrapper {
        height: 90%;
        width: 70%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 100px 1fr;
        gap: 50px;
    }
}

@media screen and (min-width: 700px) and (max-width: 1099px) {
    .input_wrapper {
        height: 90%;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 100px 1fr;
        gap: 50px;
    }

    .intro {
        background-color: #fdfdfd;
    }
}

@media screen and (max-width: 699px) {
    .contents {
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 1fr;
    }

    .content_grid:nth-child(2) {
        display: none;
    }

    .login_grid:nth-child(2) {
        padding-left: 0px;
        justify-content: center;
    }

    .input_wrapper {
        height: 90%;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 100px 1fr;
        gap: 50px;
    }

    .input_wrapper .grid:nth-child(1) {
        gap: 5px;
    }

    .intro {
        background-color: #fdfdfd;
    }

    #intro-video {
        width: 100%;
        height: 70%;
    }
}
