/* ///// All ///// */

body {
    background-color: rgb(204, 217, 239);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a {
    text-decoration: none;
}

.navBar {
    height: 3rem;
    outline: solid thin;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.2rem;
}

/* ///// Index ///// */

.index-container {
    display: grid;
    grid-template-columns: 1fr;
}

.left-container {
    display: none;
}

.right-container {
    display: grid;
    /* grid-template-rows: 30% 30% 40%; */
    grid-template-rows: 200px auto 200px;
}

.right-container > h1 {
    justify-self: center;
    align-self: center;
}

.login-form-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.login-container > * {
    margin: 5px;
    width: 100%;
}
.login-container > input{
    height: 2rem;
}

#sample-user-login-form {
    font-size: 1.4rem;
    height: 2rem;
}

.button-container-container {
    /* justify-self: center; */
    /* align-self: center; */
    display: grid;
}
.button-container {
    justify-self: center;
    align-self: center;
}

.register-button {
    display: flex;
    justify-content: end;
    width: clamp(300px, 70%, 400px);
}

.button-container > a {
    height: 2rem;
    /* width: 4rem; */
    padding: 3px 50px 3px 50px;
    /* padding: 3px; */
    background-color: rgb(226, 225, 225);
    border: thin solid;
    border-color: black;
    color: black;
    text-decoration: none;
}

/* ///// Register ///// */

.register-container {
    display: grid;
    grid-template-columns: 1fr;
}

.register-left-container {
    display: none;
}

.register-right-container {
    display: grid;
    grid-template-rows: 30% 70%;
}

.register-right-container > h1 {
    justify-self: center;
    align-self:flex-end;
}

.register-form-container {
    display: flex;
    justify-content: center;
    align-items:flex-start;
}

.form-line {
    margin: 3px;
    /* width: max(300px, 70%); */
    width: clamp(300px, 70%, 400px);
    /* display: grid; */
    /* grid-template-columns: 200px auto; */
    display: flex;
    justify-content: space-between;
}

.form-sex {
    width: 130px;
    /* justify-content: start; */
}

/* ///// Profile ///// */

.profile-picture {
    display: flex;
    justify-content: center;
}

#about-me > div {
    display: flex;
    justify-content: center;
}

.profile-left-container {
    margin: 0 20px;
}

.about-me-button {
    width: 10rem;
}

.friends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* align-content:center; */
    /* margin-top: -10px; */
    margin: 0 20px 0 20px;
}

.friends {
    /* width: max(600px); */
    display: grid;
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-content: space-between;
}

.friend-card {
    margin: 3px;
    /* display: inline-block; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.friend-card > img {
    height: 70px;
}

.post, .friends-container {
    border: solid thin;
    /* background-color: ; */
    background-color: rgb(162, 190, 242);
    border-radius: 10px;
    box-shadow: 10px 10px;
    padding: 5px;
    margin: 25px;
}

.comments {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.comment {
    width: 80%;
    border: thin solid;
    background-color: rgb(137, 173, 241);
    border-radius: 10px;
    box-shadow: 5px 10px;
    padding: 5px;
    margin: 25px;
}

.comment-form {
    margin: 25px;
}

.like-button {
    width: 4rem;
}

.comment-button {
    width: 5rem;
}

@media screen and (min-width: 480px) {
    .navBar {
        font-size: 1.8rem;
    }

    .index-container {
        grid-template-columns: 1fr 1fr;
    }

    .left-container {
        display: flex;
        /* height: 60vh; */
        width: 200px;
        height: 200px;
        justify-self: center;
        align-self: center;
        /* justify-content: center; */
    }
    
    .login-container {
        width: 60%
    }

    .friend-card > img {
        height: 120px;
    }
}

@media screen and (min-width: 700px) {
    .navBar {
        font-size: 2rem;
    }

    h1 {
        text-align: center;
    }
    
    .register-container {
        grid-template-columns: 1fr 1fr;
    }

    .register-left-container {
        display: flex;
        justify-self: center;
        align-self: center;
        /* height: 60vh; */
        height: 200px;
        width: 200px;
    }
    
    .register-right-container {
        height: 60vh;
    }

    .register-right-container > h1 {
        justify-self: flex-start;
    }


    .register-form-container {
        justify-content: start;
    }

    .profile-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .profile-left-container {
        height: 800px;
    }

    .profile-wall-header {
        margin: 0 30px 20px 30px;
    }

    .profile-wall-contents {
        height: 1000px;
        overflow: scroll;
    }

    .friend-card > img {
        height: 160px;
    }
}