/* Main */
* {
    margin: 0;
    color-scheme: dark;
    position: relative;
    font-family: "Cascadia Code", sans-serif;
    /*--colorred: 0;
    --colorgreen: 255;
    --colorblue: 255;
    --accentcolornav: rgba(var(--colorred), var(--colorgreen), var(--colorblue), 0.2);
    --accentcolor: rgb(var(--colorred), var(--colorgreen), var(--colorblue));*/
    --accentcolornav: rgb(0, 53, 53);
}

body {
    background-color: #101113;
}

#title {
    display: block;
    color: aqua;
    text-shadow: 1px 1px 2px #ffffff8c;
    text-align: center;
    padding: 9px 16px;
    cursor: default;
    font-size: 180%;
    font-weight: bolder;
    cursor: grab;
}

#title span {
    margin-left: 35px;
}

#titleicon {
    position: absolute; 
    top: 6px; 
    left: 6px; 
    cursor: grabbing;
}

#profileicon {
    position: absolute; 
    top: 6px; 
    right: 6px; 
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#profileicon span {
    font-size: 43px;
    top: -3px;
    right: -3px;
}

.profileiconcontainer {
    position: absolute; 
    top: 0px; 
    right: 0px; 
    padding: 0;
    margin: 0;
    border-radius: 100%;
    border: 1px solid white;
    width: 35px;
    height: 35px;
    overflow: hidden;
}

.profileiconcontainer img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.links {
    font-weight: 600;
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--accentcolornav), #101113d7);
    z-index: 10;
    min-height: 60px;
}
  
.links li {
    float: left;
    font-size: 130%;
}
  
.links li a {
    display: block;
    color: white;
    text-align: center;
    padding: 16px 16px;
    text-decoration: none;
}

.links li a:hover {
    cursor: grab;
}

/* Navigation */

#nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    /* filter: opacity(0.2); */
}

#nav li a {
  position: relative;
}

#nav li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #aaa;
  height: 1px;
}

#nav li a:hover:after {
  width: 100%;
}

#nav li a {
  transition: all 2s;
}

#nav li a:hover {
  color: #fff;
  z-index: 1;
}

#nav li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

#nav li a,
#nav li a:after,
#nav li a:before {
  transition: all .5s;
}

/* Age Confirmation */
.blur {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#age-confirm-box {
    background-color: rgb(44, 44, 44);
    width: 80%;
    max-width: 600px;
    height: 40%;
    max-height: 350;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 3px solid rgba(0, 247, 255, 0.548);
    box-shadow: 10px 10px 10px 3px rgb(0, 54, 56);
    text-align: center;
    overflow-y: auto;
    z-index: 10;
}

#age-confirm-box button {
    background-color: rgb(250, 27, 27);
    box-shadow: 10px 10px 10px 3px rgba(97, 56, 56, 0.788);
    border: 1px solid black;
    border-radius: 6px;
    cursor: grab;
    width: 40%;
    max-width: 240px;
    height: 40px; 
    font-size: 1.5em;
    margin-bottom: 10px;
    padding: 0;
}

#age-confirm-box select {
    background-color:rgb(10, 239, 255);
    box-shadow: 8px 8px 8px 3px rgba(10, 165, 255, 0.5);
    border: 1px solid black;
    border-radius: 6px;
    cursor: grab;
    width: 80%;
    height: 40px;
    font-size: 150%;
    padding: 0;
}

.disappear {
    transition: opacity 2s;
    opacity: 0;
}

/* Content */
.options {
   /*  margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 10px; */
    display: flex;
}
.sectioncontainer h1 {
    color: white; 
    margin-left: 20px; 
    margin-top: 5px;
}
.sectioninformation {
    margin-left: 30px; 
    margin-top: 20px; 
    display: inline-block;
}
.sectionsymbol {
    font-size: 300% !important; /* Google Font Default override, bruh */
    margin-left: 20px !important;
}
.sectioncontainer input {
    margin-left: 30px;
    margin-top: 30px;
    display: inline-block;
    font-size: 120%;
}
.sectioncontainer {
    margin-bottom: 60px;
    margin-top: 20px;
}

.filteroption {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    margin-top: 10px;
}

.filterbutton {
    margin-left: 30px;
    margin-top: 40px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.4s;
}

.filterbutton:hover {
    background-color: rgba(128, 128, 128, 0.5);
}

.filteroption::before {
    white-space: nowrap;
    margin-left: 30px;
    display: inline-block;
    font-size: 100%;
}

#showvideos:before {
    content: 'Show Videos';
}

#resizablecontent:before {
    content: 'Resizable Posts';
}

#showfavorites:before {
    content: 'Show Favorites';
}

.favorites {
    display: flex;
}

.feed {
    display: flex;
}

.socialLink {
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 100%;
}

.categoryHeading {
    color: white;
    margin-left: 20px;
    margin-top: 30px;
    font-size: 180%;
}

.collectionHeading {
    color: white; 
    text-decoration: underline; 
    cursor: pointer;
    font-size: 150%;
}

.category {
    display: grid;
    margin-left: 20px;
}

#content img {
    cursor: pointer;	
}

.content a {
    margin-left: 20px;
    height: auto;
}

.textcontent {
    color: white;
    text-align: center;
    margin-top: 40px;

}

.textcontent h1 {
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 50px;
}

#imgview {
    width: 90%;
    max-width: 500px;
    height: 85%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    place-content: center;
    border-radius: 10px;
    border: 2px solid black;
    cursor: grabbing;
    z-index: 10;
}

#footer {
    color: white;
    font-weight: 400;
    /* background-color: rgba(33, 35, 37, 0.843); */
    background: linear-gradient(to top, var(--accentcolornav), #101113d7);
    width: 100%;
    height: 60px;
    text-align: center;
    display: grid;
    place-items: center;
    margin-top: 20px;
    bottom: 0;
}

#footer a {
    display: inline-block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
}

.announcementContainer {
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: auto;
    margin-top: 20px;
}

.announcementContainer button {
    margin-top: 20px;
    margin-bottom: 20px;
}

.announcement {
    border: 2px rgba(255, 255, 255, 0.404) solid;
    border-radius: 10px;
    margin-top: 20px;
}

.announcementInfos {
    font-size: 70%;
    text-decoration: italic;
    color: gray;
    margin: 10px 0px;
}

/* Glow Button */

.glow-on-hover {
    width: 220px;
    max-width: 50%;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, 
    #ff7300, 
    #fffb00, 
    #48ff00, 
    #00ffd5, 
    #002bff, 
    #7a00ff, 
    #ff00c8, 
    #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    transition: 3ms;
    background: transparent;
}

.glow-on-hover:hover:after {
    transition: opacity 0.8s ease-in-out;
    opacity: 0;
}

.glow-on-hover:after {
    transition: opacity 1s ease-in-out;
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Layout */

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    flex-direction: column;
}

.column {
    flex: 100%;
    padding: 0 4px;
}

.column a {
    color: white;
}

.uploadnew {
    border: white dashed thick;
    border-radius: 10px;
    max-height: 349px;
    width: 200px;
    margin-top: 8px;
    display: table;
    cursor: pointer; 
}

.uploadnew div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 210px;
    font-size: 200%;
    height: auto;
}

/*.row img,
.row video, 
#favcontent img, 
#favcontent video,
#owncontent img,
#owncontent video */
.imgcontainer img ,
.imgcontainer video {
    margin-top: 8px;
    vertical-align: middle;
    /* width: 170px; */
    border-radius: 10px;
}

summary::marker {
    display: none;
}

.imgcontainer {
    /* resize: vertical; */ 
    overflow: hidden; 
    width: auto;
    float: left; 
    margin-left: 20px; 
    height: 420px;
}

.imgcontainer img, .imgcontainer video {
    height: 85%;
    object-fit: cover;
    width: 99%;
}

.imgcontainer .bottomline {
    width: 95%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.493);
    margin: auto;
    border-radius: 20px;
}

.imgcontainer a {
    margin-left: 10px;
    margin-top: 15px;
    margin-bottom: 0px;
    display: inline-block;
}

.imgcontainer a span, i {
    font-size: 30px;
}

.imgcontainer span {
    cursor: pointer;
    margin-bottom: 5px;
}

.like {
    position: absolute;
    z-index: 1;
    transform: scale(1.3);
    right: 3px;
    top: 6px;
    cursor: pointer;
}

.collectionActionButton {
    cursor: pointer;
    vertical-align: middle;
    margin-left: 10px;   
    width: 20px;
    height: 20px;
    display: inline-block;
    padding: 10px;
    padding-bottom: 13px;
    padding-right: 13px;
    border-radius: 100%;
}

.collectionActionButton:hover {
    transition: background-color 0.2s;
    background-color: rgba(255, 255, 255, 0.2);
}

.popupDialog {
    position: fixed;
    width: calc(100% - 2px);
    max-width: 700px;
    height: auto;
    max-height: 90%;
    background-color: #232529;
    border-radius: 10px;
    border: 2px solid white;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    display: grid;
    transition: opacity 0.2s;
}

.popupDialog h1 {
    text-align: center;
    font-size: 200%;
    color: white;
    padding: 15px;
}

.popupDialog p {
    text-align: center;
    color: white;
    padding: 10px;
}

.popupDialog input, .popupDialog button, .popupDialog textarea {
    width: 90%;
    background-color: rgb(60, 61, 63);
    padding: 20px;
    margin: auto;
    margin-bottom: 30px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 110%;
}

.popupDialog input[type=checkbox] {
    width: fit-content;
    width: 30px;
    height: 30px;
    padding: 100px;
    margin-right: 10px;
    margin-left: 35px;
}

.popupDialog label {
    vertical-align: 50%;
}

.popupDialog button {
    cursor: pointer;    
}

.unimportantInput {
    padding: 10px !important;
}

.redButton {
    background-color: rgba(255, 0, 0, 0.452) !important;
    color: white;
}

.yellowButton {
    background-color: rgba(211, 197, 0, 0.568) !important;
    color: white;
}

.greenButton {
    background-color: rgba(67, 211, 0, 0.274) !important;
    color: white;
}

summary {
    outline: none;
    padding: 1rem;
    display: block;
    padding-left: 1.5rem;
    position: relative;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}
  
details[open] > summary:before {
    transform: rotate(90deg);
}
  
summary:before {
    content: "";
    border-width: 0.4rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 1.3rem;
    left: 0.2rem;
    transform: rotate(0);
    transform-origin: 0.2rem 50%;
    transition: 0.25s transform ease;
}


/* Media */
@media (max-width: 600px) {
    #title {
        width: 100%;
        text-align: left;
        margin-left: 0;
        left: 0;
    }
    #titleicon {
        margin-left: 0;
        left: 6px;
    }
    #title span {
        text-align: center;
    }
}

@media (max-width: 450px) {
    #title {
        width: 100%;
        text-align: center;
        margin-left: 0;
        left: 0;
        padding: 9px 0px;
    }
    #title span {
        margin-left: 0
    }
    #linkbar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .imgcontainer {
        resize: none;
        width: 100%;
        margin-left: 0;
        height: auto;
    }
    .imgcontainer img, .imgcontainer video {
        height: auto;
        width: 100%;
    }
    .like {
        right: 6px;
    }
    .category {
        display: grid;
        margin-left: 0px;
    }
}


.icon {
    font-size: 400%;
    margin-left: 30px;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
}

#postbtn {
    margin-top: 20px;
    margin-bottom: 30px;
    cursor: pointer;
}

.returnToPageLink {
    color: white;
    display: inline-flex;
    margin-top: 20px;
    margin-left: 35px;
    padding: 5px;
    padding-bottom: 3px;
    padding-right: 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
    text-decoration: none; 
    width: fit-content;
}

.returnToPageLink span {
    font-size: 25px;
    margin-top: -2px;
}

.returnToPageLink:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox {
    width: 30px;
    height: 30px;
    border-radius: 0;
    margin-top: 10px;
}
.errorinformation {
    color: red;
    margin: 30px 0 0 0;
}


/* Image Viewer */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 1;
    /* padding-top: 100px; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

#image-viewer input {
    position: relative;
    z-index: 1;
    left: 0;
    width: 100%;
    height: 40px;
    margin: auto;
    max-width: 1500px;
    animation-name: zoom;
    animation-duration: 0.2s;
    display: none;
}

.modal-content {
    margin: auto;
    margin-top: 100px;
    display: block;
    width: 99%;
    height: auto;
    max-height: 80%;
    object-fit: contain;
    max-width: 1500px;
    animation-name: zoom;
    animation-duration: 0.2s;
    border-radius: 20px;
    border: 1px solid white;
  	
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 99%;
    }
}


.welcomeMessage {
    text-align: center;
    font-size: 300%;
    text-shadow: 0 0 5px #ffffff7c, 0 0 10px #ffffff7a, 0 0 15px #00b8e67e, 0 0 20px #00d7e688, 0 0 25px #00dee6be, 0 0 30px #00b8e6b4;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 900;
}

