

/* Global */
html, body{
    width:100%;
    margin:0;
    min-height: 100%;
    
}

body{
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #5a0086; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #77478e; 
}
#page-container{
         width:100%;
    margin:0;
    background-color:#000;
   background-image: url("../img/background.jpg");
   background-size:cover;
    background-position:center;
   background-repeat:no-repeat;
    background-attachment: fixed;
    font-family: arial;
    color:whitesmoke;  
   
}

header{
   display:flex;
 
    align-content: center;
    color: white;
     background: rgb(0 0 0 / 55%);

box-shadow: 0 6px 20px rgb(0 0 0 / 40%);

border-bottom: 1px solid rgb(10 245 255 / 74%);
    
}
nav{
    text-align: center;
    color: white;
    background-color: #222;
    border-top-color: grey;
    border-top-width: 3px;
    border-top-style: groove;
    height: 50px;
    display: flex;
    justify-content: center;
    flex-flow: nowrap;
    gap: 5%;
}

footer{
    width:100%;
    height:250px;
    background: rgb(0 0 0 / 55%);

box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border-top: 1px solid rgb(10 245 255 / 74%);
    margin-top:30px;
    display:flex;
    align-content:center;
    
}

nav a{
    
    font-size: 25px;
    text-decoration: none;
    color: white;
    line-height: 44px;
    padding: 0px 10px 0px 10px;
}
    
nav a:hover{
  background-color: #66267c94;
}


.login input{
    display:block;
    margin-bottom:20px;
    width:60%;
    line-height:50px;
    margin-left:auto;
    margin-right:auto;
    
}

#logo {
    margin-left:auto;
    margin-right:auto;
    margin-bottom:15px;
    max-width: 50%;
    
}

#logo img{
    display:block;
    width:75%;
    margin-left:auto;
    margin-right:auto;
}

#menu{
margin-left:20px;
    margin-top:20px;
    font-size: 40px;
    
}

#settings{
    font-size: 30px;
    margin-top: 24px;
    margin-bottom: auto;
        margin-right: 20px;
   

}

#about{
display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap:2%;  
}

#main {
  max-width:90%;
    margin-left:auto;
    margin-right:auto;
        background-repeat:repeat;
  min-height: 528px;
    flex:1;

}

#main-container{
   background: rgb(0 0 0 / 55%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgb(10 245 255 / 74%);
  
     transition: margin-left .5s;
  padding: 20px;
  margin-top:30px;
    display: flex;
    flex-flow: column;
    min-height: 50vh;
}

#main-content{
    display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap:2%;
     margin-bottom: 30px;
   
}

#news-section{
width:100%;
    background-color:black;
    margin-top: 25px;
}

#login-container{
    
     background: rgb(0 0 0 / 24%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
    
     transition: margin-left .5s;
  width:50%;
  margin-top:30px;
   
margin-left:auto;
    margin-right:auto;
    width: 60%;
    text-align:center;
    height:500px;
}

.center-box{
    margin-top:20px;
    padding-top:20px;
    display: flex;
    gap:1%;
width:95%;
    margin-left:auto;
    flex-wrap:wrap;
    align-content: center;
}

.quarter{
   
    width:23%;
    
    margin-bottom: 10px;
}

.half{
    
    width:48%;
    
    margin-bottom: 10px;
}

.tripcolumns{
       display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3%;
}
    


.third{

    width:30%;
   margin-bottom: 10px;
    padding-top: 5px;
}

.feed{

    width:30%;
   margin-bottom: 10px;
    padding-top: 5px;
}

.store-third{

    width:30%;
   margin-bottom: 10px;
    margin-left:20px;
    margin-top: 30px
}

.thumb{
    width:90%;
    margin-left: 5%;
    margin-right: auto;
    border-radius: 16px;
}

.art-thumb{
   width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px; 
}

.main-thumb{
   width: 90%;
    margin-left: 5%;
    margin-right: auto;
    border-radius: 16px; 
}

.content-cell{
    
    padding-top:5px;
    margin-bottom:10px;
}

.store-section{
    width:90%;
    background-color: black;
    display: flex;
    margin-left:auto;
    margin-right:auto;
    gap:2%;
    overflow-x: scroll;
    white-space:nowrap;
}
.affil-section{
    width:90%;
  
    display: flex;
    margin-left:auto;
    margin-right:auto;
    gap:2%;
   margin-top:20px;
    white-space:nowrap;
}

.about-img{
    width:100%;
}

#copyright{
    width:50%;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    margin-top:200px;
    
}
/*---------profile-----------------*/
#prof-head{
 width: 100%;
    display: flex;   
}

#avatar-container{
 width: 30%;   
}

#avatar-container img{
    width:50%;
}

#nametag{
    display:block;
}

#bio{
  margin-top:50px;
  border-top:1px solid white;
  padding-top:50px;
}

/* -------------------------------social feed------------*/
.feed-container{
    max-height:75vh;
    overflow-y:scroll;
    overflow-x:clip;
     background-color:black;
    border-color:white;
    border-style:solid;
    border-width:1px;
    text-align:left;
   
   
}
.feed-item{
 margin-right: auto;
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-bottom: 20px;
    border-bottom: 1px inset white;
    padding-bottom: 15px;
}

.ico{
    width: 25%;
    align-items: flex-start;
    display: flex;
}

.ico img{
    height:60px;
    border-radius: 20px;
}
.feed-text{
    margin-left:50px;
    width:75%;
}

.feed-button{
    width: 50%;
    height: 50px;
    font-size: 20pt;
    background-color:black;
    color:white;
}

.act{
    background-color:#2f7c6f;
    color:black;
}

#public{
display:block;    
}

#private{
    display:none;
}

.feed-post{
    width:100%;
    background-color:black;
    display:flex;
    flex-flow:column;
}

#pub-post{
display:flex;    
}

#priv-post{
    display:flex;
}


.feedpost-button{
    width:50%;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:20px;
    margin-top:20px;
    height:50px;
}
.post-text{
 height:100px;
 width:100%;
 color:white;
 background-color:black;
 border-color:white;
}

#member-post{
  width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;  
}

.mem-header{
       display: flex;
    border-bottom: 1px solid;
    height: 100px; 
}

.mem-name{
     margin-left: 20px;
    margin-top: 50px;   
}

.check-container{
  margin-top: 20px;
    border-bottom: 1px solid;
    padding-bottom: 20px;  
        display: flex;
    flex-flow: column;
}

.check-date{
  margin-bottom: 20px;  
}

#replys{
    
}

#rep-controls{
        display: flex;
    flex-flow: column;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

#response{
        height: 200px;
    margin-bottom: 25px;
    border-color: white;
    background-color: black;
}

#rep-button{
        height: 50px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#msg-popup{
 max-height:55vh;
 overflow:scroll;
}

.follow{
    height: 20px;
    margin-top: 50px;
    margin-left: 50px;
}

.edit-box{
      height: 200px;
    margin-bottom: 25px;
    border-color: white;
    background-color: black;
    width:90%;
    color:white;
}

#uptext{
    background-color:black;
    color:white;
    width:200px;
    margin-left:auto;
    margin-right:auto;
    height:40px;
}
/*-------------------------------*/
.login-button{
    width:6%;
    height:50px;
    color:white;
    background-color:#5a0086;
    border-style: groove;
    border-color:rgba(10, 245, 255, 1);
    font-family:Tahoma;
    margin-right:20px;
        margin-top: auto;
    border-radius: 20px;
    margin-bottom: auto;
    
}

.logout-button{
    width:100%;
    height:50px;
    color:white;
    background-color:#5a0086;
    border-style: groove;
    border-color:white;
    font-family:Tahoma;

    
}

.logout-form{
    width:6%;
    margin-right:20px;
    margin-top:13px;
}

.article-block{
width: 90%;
    display: flex;
    flex-flow: column;
}

/* navigation */
.sidenav {
  height: 100%; 
  width: 0; 
  position: fixed; 
  z-index: 1; 
  top: 0; 
  left: 0;
   background: rgb(0 0 0 / 55%);
max-width:250px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);

  overflow-x: hidden;
  padding-top: 60px; 
  
   
}


.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
    background-color: #66267c94;
}


.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


.navbar {
  overflow: hidden;
  background-color: #333;
    width: 100%;
    display: flex;
}

.nav-links{
    margin-left:auto;
    margin-right:auto;
    display:flex;
}

.nav-links a{
  font-size: 20px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 20px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
  background-color: #66267c94;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Community Page */

#forum-container{
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap:2%;
    
}

#forum-nav{
    
}

#forum-menu{
border-color: white;
    border-width: 1px;
    border-style: solid;
    display: flex;
    flex-flow: column;
}

#forum-menu a{
    margin-left:20%;
    margin-top:20px;
    font-size:25px;
}

#topics-container{
  width: 100%;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    display: flex;
    flex-flow: column;
}

#side-stats{
     width:100%;
    border-color:white;
    border-width:1px;
    border-style: solid; 
    margin-bottom:25px;
}

#online-box{
     width:100%;
    border-color:white;
    border-width:1px;
    border-style: solid; 
}

.topics-header th{
   
}


.topics-header{
    width:100%;
   background: rgb(2,0,36);
background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(14,88,58,1) 70%, rgba(5,133,110,1) 100%);
padding-top:10px;
    padding-bottom:10px;
}
.topic-line{
    width:100%;
    text-align: center;
  
}

.topic-line a{
    text-decoration: none;
    color: white;
  
}

.head-label{
    line-height: 50px;
}

table, th, tr{
  border: 1px solid grey;
    border-collapse: collapse;
}

.message-container{
 background-color:black;
    border-color:white;
    border-style:solid;
    border-width:1px;
    border-radius:30px;
}

.sub{
text-align: center;    
}

.topictext{
        width: 80%;
    display: flex;
    flex-flow: column;
   margin-bottom:20px;
    margin-top:25px;
    word-break: break-word;
    margin-left: 10%;
}

.reactions{
        display: flex;
    gap: 5%;
    margin-left: 15px;
}

.reply{
    cursor: pointer;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


.slide-down{
    display:none;
}

.slide-down table{
 width:100%;
}

.sub-slide-down{
    display:none;
}

.sub-slide-down table{
 width:100%;
}

/* Messages */

#friend-list{
  border:2px groove #333;  
    width:15%;
}

.fname{
    
}

#recent-messages{
display: flex;
    width:80%;
 border-left: 1px solid #333;
    border-right: 1px solid #333;
    justify-content: center;
    flex-flow:column;
}

.msg{
border-bottom:1px;
border-bottom-color: #cccccc7a;
    border-bottom-style:solid;
margin-bottom:20px;    
}

.msg-box{
display: flex;
    flex-flow: wrap;
    width:95%;
    border-top:1px solid #333;
    padding-bottom: 25px;
    padding-left: 20px; 
    cursor: pointer;
}

.m-textbox{
        height: 250px;
    width: 75%;
    margin-left: 12.5%;
    margin-bottom: 20px;
    background-color: black;
    border: 2px groove white;
    border-radius: 20px;
    color: white;
    padding: 10px;
}

.usr-img {
   width: 7%;
    
    margin-top: 12px;
        margin-left: 20px;
}

.usr-name {
    width: 80%;
    object-fit: scale-down;
}

.usr-img img{
       
        border-radius: 50%;
    width: 100%;
}

.msg-text{
width:100%;  
margin-left: 7%;
}


/* Text Editor */
.rte-container {
  background-color: #000;
  width: 80%;
  padding: 50px 30px;
 color:white;
  margin-left: auto;
    margin-right: auto;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(7, 20, 35, 0.2);
}
.options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.rte-container button {
  height: 28px;
  width: 28px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: none;
  background-color: #000;
  outline: none;
  color: #fff;
}
.rte-container select {
  padding: 7px;
  border: 1px solid #fff;
  border-radius: 3px;
}
.options label,
.options select {
  font-family: "Poppins", sans-serif;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rte-container input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  width: 40px;
  height: 28px;
  border: none;
  cursor: pointer;
}
.rte-container input[type="color"]::-webkit-color-swatch {
  border-radius: 15px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
}
.rte-container input[type="color"]::-moz-color-swatch {
  border-radius: 15px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
}
#text-input {
  margin-top: 10px;
  border: 1px solid #dddddd;
  padding: 20px;
  height: 50vh;
    overflow-y:scroll;
}
.active {
  background-color: #ccc;
}

.postbutton{

    color: #fff;
    height:50px;
    line-height: normal;
    width:175px;
    text-shadow: none;
    display: block;
    text-align: center;
    align-items:center;
    cursor: default;
    box-sizing: border-box;
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(14,88,58,1) 70%, rgba(5,133,110,1) 100%);
    margin: 0em;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: #fff;
   margin-left: auto;
    margin-right:auto;
}

.postbutton:active{
    border-style: inset;
}

/* The Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}


.modal-content {
  background-color: #000;
  margin: 5% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* screen size adjustments */
@media screen and (max-width: 992px){
    nav{
    gap: 0;
}


    #logo{
        margin-left: 13%;
  margin-right: auto;
  margin-bottom: 15px;
  max-width: 50%;
  margin-top: auto;
    }
    
   #main {
  width:90%;

}
    
  #main-content{
    order:0;
}
    #featured{
       display: grid;
    order: -1;

    }
    .third{
        width:80%;
    }
    
    
    .half{
        width:80%; 
    }
    
    .quarter{
        width:80%
    }
    
    #login-container{
    
    
  width:90%;
  
}
    
    
    .login-button{
    width:15%;

}


.logout-form{
    width:15%;

}
    .logout-button{
    margin-top:19px;
}
    
    .usr-img {
    width: 15%;

}

.msg-text {
    width: 100%;
    margin-left: 15%;
}

    #friend-list{
  border:2px groove #333;  
    width:25%;
}

#recent-messages{
    width:70%;

}
    nav a {
    font-size: 15px;
}

.sidenav a {
  font-size: 20px;
}

#avatar-container{
 width: 50%;   
}
#avatar-container img{
    width:90%;
}

.dropdown .dropbtn {
    font-size: 11px;
    padding: 23px 10px;
}
    
    .nav-links a {
    font-size: 12px;
    padding: 23px 10px;
}

#copyright{
    width:95%;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    margin-top:200px;
    
}

.art-thumb{
   width: 90%;
  
}

.feed{
width:100%;
   
}
        
}

