body {
    background-color: rgb(45, 103, 153);
    width: 1000px;
    max-width: 80%;
    margin: auto;
    padding: 30px;
}

footer {
    justify-self: center;
    margin-top: 30px;

    > a {
        color: white;
        font-size: 16px;
        font-family: "Courier New";
    }
}

header {
    display: flex;
    margin: 20px 0 20px 0;
    height: 50px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    justify-self: center;

    > #title {
        color: white;
        text-decoration: none;
        font-size: 36px;
        font-family: "Courier New";
    }
}

.hide {
    display: none;
}

.btn {
    text-decoration: none;
    font-family: Roboto;
    font-size: 20px;
    margin-left: 5px;
    margin-right: 5px;
    background-color: white;
    color: rgb(45, 103, 153);
    border-radius: 5px;
    border: 1px solid white;
    width: 150px;
    text-align: center;
    align-self: flex-end;
    padding: 10px 20px 10px 20px;
}

.btn:hover {
    background-color: rgb(45, 103, 153);
    color: white;
    border: 1px solid white;
}

#error_box {
    color: white;
    visibility: hidden;
    text-align: center;
    font-size: 18px;
    font-family: "Courier New";
}

#error_box::before {
    content: "Error: ";
}

.empty_gallery {
    display: none;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: "Courier New";
    justify-self: center;
    margin-top: 30px;
}

.form_input {
    margin: 10px;
    padding-left: 10px;
    height: 40px;
    border: 3px rgb(45, 103, 153) solid;
    border-radius: 5px;
    font-size: 20px;
    font-family: "Courier New";
    color: rgb(45, 103, 153);
}

.form_input:focus {
    outline: none;
}

.form_input::placeholder {
    color: rgb(45, 103, 153);
}

.form_title {
    color: black;
    font-family: "Courier New";
    font-size: 24px;
    align-self: flex-start;
    margin: 10px;
}

.gallery_post {
    display: flex;
    justify-content: center;
}

.gallery_window {
    display: flex;
    justify-content: center;
    height: 612px;
}

.gallery_nav_button {
    height: 75px;
    width: 40px;
    text-align: center;
    align-self: center;
    background-color: white;
    border-radius: 5px;
    border: 3px black solid;
    padding: 10px 20px 10px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    margin: 0 10px 0 10px;
}

.gallery_nav_button:hover {
    background-color: rgb(45, 103, 153);
}

.left {
    background-image: url("../media/left-arrow.png");
}

.right {
    background-image: url("../media/right-arrow.png");
}

.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    background-color: rgb(141, 180, 230);
    border-radius: 10px;
    border: 3px black solid;
    width: 520px;
    height: 100%;
}

.post_image {
    width: 500px;
    height: 500px;
    border: 3px black solid;
    background-color: rgb(110, 155, 205);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.post_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.post_author {
    color: black;
    font-family: "Courier New";
    font-size: 24px;
    align-self: flex-start;
    margin: 10px;
}

.post_delete {
    height: 35px;
    width: 35px;
    background-color: rgb(141, 180, 230);
    background-image: url("../media/delete.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    margin-right: 20px;
}

.post_delete:hover {
    background-image: url("../media/delete-hover.png");
}

.post_description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.post_title {
    color: black;
    font-family: "Courier New";
    font-size: 18px;
    margin: 20px;
}

#login_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_buttons {
    color: white;
    margin: 10px
}

.login_input {
    width: 400px
}