#forum {
    width: 1280px;
    height: 900px;
    border: 4px solid #AAA;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, .5);
    overflow: auto;
}

.loginForm > input {width: 100%;}
.loginForm > h2 {
    margin-bottom: 20px;
    cursor: pointer;
    transition: all .3s;
}
.loginForm > h2:hover {color: #FFF;}
.blockForm > input {
    margin-bottom: 15px;
}
button {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #AAA;
    background-color: #000;
    border-color: #FFF;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .5s;
}
button:hover {
    color: #FFF;
}
.loginForm {
    width: 280px;
    padding: 20px;
    margin: 0 auto;
}
.loginForm:first-child{margin-top: 300px;}
.blockForm {
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    transition: all 1s;
}
.formActive{
    opacity: 1;
    max-height: 400px;
    pointer-events: all;
}
#forum a {color: #AAA; transition: all .3s;}
#forum a:hover {color: #FFF;}

#forumThreads {
    width: 100%;
}
.createThread {
    text-align: left;
    padding: 20px;
}
#threads {
    padding: 0;
}
.threadLine {
    list-style: none;
    margin: 0;
    height: 80px;
    background-color: rgba(50, 50, 50, .5);
    border: 1px solid #AAA;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: all .3s;
}
.threadLine:hover {
    background-color: rgba(100, 100, 100, .5);
}
.threadLine > a {
    width: 80%;
    height: 100%;
    padding: 20px;
}
.threadLine > form {
    width: 20%;
    height: 100%;
}
.threadLine > form > button {
    border: none;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

#threadPosts {
    height: calc(100vh - 100px);
}
.message {
    background-color: #444;
    padding: 10px 20px;
    text-align: left;
    word-break: break-word;
}
.message:nth-child(2n) {
    background-color: #333;
}
.message > strong {
    color: #FFF;
}
#messageArea {
    width: 100%;
    flex-wrap: wrap;
}
#messageArea > textarea {
    width: 100%;
    margin-bottom: 20px;
}
#threadExit {
    display: block;
    margin-top: 20px;
    color: #AAA;
    padding: 20px 10px;
}

@media screen and (max-width: 1280px) {
    h1 {margin: 20px 0;}
    #forum {
        width: auto;
        height: 75vh;
        border: 1px solid #AAA;
    }
    .loginForm:first-child{margin-top: 20px;}

    .threadLine > a {width: 60%;}
    .threadLine > form {width: 40%;}
}
