#main {
    background-color: #111111;
    position: relative;
    height: calc(100vh - 100px);
}

#flex_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

#form{
    width: 40vw;
    height: 40vw;
    position: relative;
}

#spacer{
    margin-top: 2.5vw;
    height: 35vw;
    width: 3px;
    background-color: white;
    border-radius: 1px;
}

#socials{
    width: 40vw;
    height: 40vw;
}

h1{
    font-size: 2vw;
    text-align: center;
    color: white;
    font-weight: normal;
}

input{
    width: 90%;
    padding: 1vw;
    font-size: 1vw;
    margin-bottom: 1vw;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    outline: none;
    border: 2px solid white;
    border-radius: 5px;
    font-family: 'Red Hat Mono';
    transition: all 1s;
}

textarea{
    width: 90%;
    height: 20vw;
    padding: 1vw;
    font-size: 1vw;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    outline: none;
    border: 2px solid white;
    border-radius: 5px;
    font-family: 'Red Hat Mono';
    resize: none;
    transition: all 1s;
}

button{
    width: calc(90% + 2vw + 4px);
    height: 2vw;
    font-size: 1vw;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    outline: none;
    border: 2px solid white;
    border-radius: 5px;
    font-family: 'Red Hat Mono';
    transition: all 1s;
}

button:hover{
    background-color: #21941b;
}

#form{
    display: flex;
    flex-direction: column;
}

label{
    color: white;
    font-family: 'Red Hat Mono';
    font-size: 1vw;
    margin-left: 1vw;
    margin-bottom: -0.5vw;
    background-color: #111111;   
    z-index: 5;
    width: fit-content;
    padding: 0px 7px;
}

#images{
    display: grid;
    grid-template-columns: 17vw 17vw;
    grid-template-rows: 17vw 17vw;
    padding-left: 3vw;
}

#images a {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    background-color: #222222;
    padding: 1vw;
    border-radius: 30px;
    cursor: pointer;
    transition: all 1s;
}

#images a:hover{
    background-color: #333333;
}

@media only screen and (max-width: 1000px){
    #main {
        height: fit-content;
    }
    
    #flex_container {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
        display: flex;
        flex-direction: column;
    }
    
    #form{
        padding-left: 2.5%;
        width: 100vw;
        height: fit-content;
    }
    
    #spacer{
        display: none;
    }
    
    #socials{
        width: 100vw;
        height: fit-content;
    }
    
    input{
        width: 90%;
        border-radius: 2.5vw;
        font-size: initial;
        font-family: 'Red Hat Mono';
        padding: 2vw;
    }
    
    textarea{
        width: 90%;
        height: 280px;
        border-radius: 2.5vw;
        padding: 2vw;
        font-size: initial;
    }
    
    label{
        margin-left: 4vw;
        padding: 0px 2vw;
        font-size: 3vw;
        margin-bottom: -1.5vw;
    }
    
    #images{
        display: flex;
        flex-direction: column;
        padding-top: 10px;
        padding-left: unset;
    }
    
    #images a {
        max-width: 90%;
        max-height: 90%;
        padding: 5vw;
        margin-bottom: 10vw;
    }

    button{
        width: calc(90% + 4vw + 4px);
        border-radius: 2.5vw;
        font-size: 5vw;
        height: fit-content;
    }

    h1{
        font-size: initial;
    }
}