header,
footer {
    margin: 0 !important;
}

main {
    display: flex;
    flex-direction: column;
}

.reg-wrapper {
    width: 50vw;
    height: 69%;
    display: flex;
    flex-grow: 1;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    background: rgba(0, 0, 0, .3);
    padding: 5rem;
    box-shadow: 0 0 1.5rem 0.25rem black
}

.reg {
    width: 30rem;
}

.reg-image {
    position: absolute;
    width: 50vw;
    height: 50vw;
    bottom: 0;
    right: -52vw;
}

.reg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 0 1rem black);
}

@media (max-width: 1240px) {
    .reg-image{
        display: none;
    }
    .reg-wrapper{
        width: 100vw;
        padding: 2rem;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .reg {
        width: 100%;
    }
}