/* Attributes */

body {
    height: 100vh;
    width: 100vw;
    background-color:#CCCCCC;
    margin: 0;
}

header {
    height: 50px;
    background-color:#6C6EA0;
    display: flex;
    justify-content: space-between;
    color: white;
    align-content: center;
    padding: 10px;
    border: solid black 2px;
}

ul li {
    list-style: none;
    display: inline-block;
    justify-content: space-between;
    align-content: center;
}

main {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 25px;
}

button {
    border-radius: 1rem;
}

/* Classes */

.icon {
    height: 50px;
    position: relative;
    left: 25px;
}

.search {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 25vw;
    height: 25px;
    padding-top: 10px;
}

.searchbox {
    width: 75%;
}

.leftSideBar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: white;
    border: solid black 2px;
    width: 20vw;
    border-radius: 1rem;
    padding: 5px;
}

.backgroundImg {
    background-image: url('assets/221471.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
}

.leftSideBar a {
    text-decoration: none;
    color: black
}

.mainFeed {
    width: 50vw;
}

.createPost {
    margin: 5px;
    border-radius: 1rem;
    padding: 5px;
    background: white;
    border: solid black 2px;
}

.topLine {
    width: 100%;
    display: inline-flex;
}

.createPostInput {
    margin-left: 5px;
    width:200%;
    height: 100;
    border-radius: 10px;
}

.createIcon {
    height: 50px;
    border-radius: 25%;
}

.line {
    padding: 3px;
    border-bottom: 1px solid black;
}

.inputs {
    padding-top: 3px;
    display: flex;
    justify-content: space-evenly;
}

.feed {
    margin: 5px;
    border-radius: 1rem;
    padding: 5px;
    background: white;
    border: solid black 2px;
}

.myNewsFeed {
    margin: 5px;
    border-radius: 1rem;
    padding: 5px;
    background: white;
    border: solid black 2px;
}

.descriptors {
    margin: 0;
    padding-left: 5px;
}

.postFooter {
    padding-top: 5px;
    display: flex;
    justify-content: space-evenly;
}


.profilePic {
    width: 50%;
    border-radius: 50%;
    position: relative;
    left: 25%;
}

.ads {
    background-color: white;
    border-radius: 1rem;
    width: 90%;
    height:150px;
    margin: 3px;
    padding: 5px;
}

.centered {
    text-align: center;
}

.modal {
    display: none;
    position: absolute;
    z-index: 1; 
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
    
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 3px solid rgb(98, 98, 98);
    border-radius: 10px;
    width: 80%;
    color: rgb(98, 98, 98);
}

.modal-header {
    border-bottom: solid black 1px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.modal-header .close {
    background-color: red;
    height: 25px;
    position: relative;
    left: 55%;
}

.noborder {
    border: none;
    background-color: white;
}

.noborder:hover {
    background-color: #6C6EA0;
    transition: ease-in-out 500ms;
}

.createPostInput {
    background-color: white;
}

.message {
    background-color: #CCCCCC;
    border: solid black 1px;
    padding-left: 5px;
    width: 97%;
    display: flex;
    margin: 5px;
    border-radius: 1rem;
}

.message:hover {
    background-color: white;
}

.message button {
    background-color: red;
    height: 100%;
    position: relative;
    text-align: right;
}

.closePost {
    position: relative;
    left: 50%;
    background-color: red;
}

.profile {
    text-align: center;

}

.profile img {
    width: 25%;
    border-radius: 50%;
}

.postStats{
    display: flex;
    justify-content: space-evenly;
    font-size: smaller;
    color: grey;
    padding: 0px;
    margin: 0px;
}
/* Ids */

#CreatePost .modal-header {
    border: none;
}

#LoginModal {
    display: none;
    position: absolute;
    z-index: 1; 
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-image: url('assets/bigstock-Technology-Background-Modern-388206850-web-768x461.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

#LoginModal button {
    background-color: Blue;
    height: 50px;
    width: 50%;
    color: White;
}

.farRight {
    position:absolute;
    left: 80%;
    font-size: 1.5rem;
}

.comment {
    padding: 5px;
    border: solid 1px black;
    border-radius: 1rem;
    background-color: whitesmoke;
    margin: 5px;
}

.comment button {
    background-color: whitesmoke
}

.card {
    background-color: white;
    margin: 5px;
    border-radius: 1rem;
    padding-left: 5px;
    border: solid black 1px;
}

.personCard {
    border: solid black 2px;
    width: 30%;
    border-radius: 1rem;
    margin: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.personHeader {
    height:60px;
}

.personBody {
    position: relative;
    top: -20%;
}

.personCard .background {
    width: 100%;
    border-radius: 1rem;

}

.personCard .icon {
    position:relative;
    top: -65px;
    border-radius: 50%;
}

.buttons {
    position: relative;
    top: -25%;
    text-align: center;
}

.mightKnow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.myCons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Media */

/* 750px - 1000px */
@media (max-width: 750px) {
    .mainFeed {
        width: 60vw;
    }
    
}

/* >500px */
@media (max-width: 600px) {
    .mainFeed {
        width: 75vw;
    }
    .leftSideBar {
        width: 75vw;
    }

}

/* Phone? horiz and vert */
