html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    font-family: Muli, sans-serif;
    font-size: 16px;
    background-image: url(deep-field-min.png); /* fallback */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.788) .01%, rgba(0,0,0,0)), url(deep-field.png);
    background-attachment: fixed;
    background-size: cover;
}

h1 {
    font-family: "Space Mono", monospace;
    font-size: 46px;
    margin: 0;
}

h2 {
    font-family: "Space Mono", monospace;
    font-size: 30px;
}

@media only screen and (max-width: 1000px) {
    h1 {
        font-size: x-large;
    }

    h2 {
        font-size: large;
    }
}

a {
    font-family: Muli, sans-serif;
    color: white;
    text-decoration: none;
}

.logo-top-center {
    position: fixed;
    z-index: -1;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);

    max-width: 300px;
  }

#title-box {
    z-index: -1;
    position: fixed;

    top: 15%;

    left: 50%;

    width: 30%;
    min-width: 300px;
    transform: translate(-50%, -10%);

    opacity: 1;
    width: 50%;
    min-width: 350px;
    height: fit-content;
    padding: 0;

    
    text-align: center;
    color: white;

}


#title-box > p {
    z-index: inherit;
    border-top: 5px solid rgb(158, 58, 0);
    padding-top: 3%;
    margin: 0;

}

@media only screen and (max-width: 1000px) {
    #title-box > p {
        font-size: small;
    }
}


#submission-bar {
    z-index: 1;
    position: fixed;
    bottom: 0;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 54px;
    margin:auto;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0,0,0,1) 90%);
}

#submission-bar > a {
    width: 50%;
    text-align: center;
    color: white;

    
}

#submission-bar > div {
    width: 50%;
    text-align: center;
    color: white;
    
}

@media only screen and (max-width: 1000px)  {
    #submission-bar > div {
        font-size: small;
    }
}

/* force link to be clickable on the whole div */
.submission-bar > a > div {
    display: block;
    position: relative;
    /* top: -15px; */
    left: 0;
    /* padding-top: 15px; */
    width: 100%;
    /* height: 150%; */
}

/* END submission bar */

.twitter-background {
    width: 60%;
    height: fit-content; 
    margin: 50px auto 0 auto;
    padding: 0;

    color: black;
    background-color: white;
    border-radius: 15px 15px 0 0;
}

@media only screen and (max-width: 1000px) {
    .twitter-background {
        width: auto;
        max-width: 100%;
        margin: auto;
    }
}

.facebook-title-bar {
    display: flex;
    flex-direction: row;

    max-width: 100%;
    width:auto; 
    height:fit-content; 
    padding:0% 10%;
    background-color: #4267B2;
    border-radius: 15px 15px 0 0;
}

@media only screen and (max-width: 1000px) {
    .facebook-title-bar {
        width: auto;
        max-width: 100%;
        margin: auto;
    }

    #facebook-search-bar {
        display: none;
    }
}


.source-flex-container {
    display: flex;
    margin: 0 15%;
    padding-bottom: 70px;

    flex-shrink: 0;
    flex-direction: column;
    justify-items: center;
    align-items:flex-start;
    text-align: left;
    box-shadow: 0px 2px 2px 0px #0000007a;
}

.source-flex-container > div {
    padding: 2%;
    width: fit-content;
}

.source-flex-container > div > span {
    text-align: left;
    font-size: x-large;
}

@media only screen and (max-width: 1000px) {
    .source-flex-container {
        margin: 0;
    }
    .source-flex-container > div > span {
        font-size: large;
    }
    
    .source-flex-container > div {
        padding: 5%;
    }
}

#profile-flex {
    display: flex;
    position: relative;

    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
} 

#twitter-profile-pic {
    
    width: 70px;
    height: 70px;

    background-image: url(twitter-profile.png);
    background-size: cover;
    border-radius: 15px;
}

#facebook-profile-pic {
    
    width: 70px;
    height: 70px;

    background-image: url(Karen.png);
    background-size: cover;
    border-radius: 35px;
}

#twitter-rounded-image-preview {
    
    width: 250px;
    height: 250px;
    margin: auto auto 2% auto;

    background-image: url(void-min.jpg);
    background-size: cover;
    border-radius: 15px;
}

#facebook-rounded-image-preview {
    
    width: 90%;
    height: 250px;
    margin: auto auto 2% auto;

    background-image: url(micromachines-13-00501-g001.png);
    background-size: cover;
    border-radius: 15px;
}

@media only screen and (max-width: 1000px) {
    #twitter-rounded-image-preview {
        max-width: 300px;
        width: 90%;
        height: 300px;
    }
}

/* modal not vissible by default */
#modal {
    display: none;
    z-index: 2;
    position: fixed;
    margin: 0 auto 0 auto;

    width: 100%;
    height: 100%;

    background-color: rgba(87, 87, 87, 0.6);
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
    color: white;
    text-align: center;
    width: 1000px;
    height: fit-content;
    margin:0 auto auto auto;


    border-radius: 0 0 15px 15px;
    background-color: rgba(0, 0, 0, 0.95);
}

@media only screen and (max-width: 1000px) {
    .modal-content {
        top: 35%;
        width: auto;
        max-width: 95%;
        margin: auto;
        border-radius: 15px;
    }
}

/* force link to be clickable on the whole div */
#submission-container > div > a {
    display: block;
    position: relative;
    /* top: -15px; */
    left: 0;
    /* padding-top: 15px; */
    width: 100%;
    height: 150%;
}

#submit-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin:0;
    border-radius: 15px;

}

#submit-container > a {
    width: 50%;
    height: 50px;
    text-align: center;
    color: white;
}

.submit-container > a > div {
    display: block;
    position: relative;
    top: -15px;
    left: 0;
    padding-top: 15px;
    width: 100%;
    height: 150%;
}

.submit-button {
    line-height: 50px;
    transition: background-color .4s, border-bottom .2s;
    background-color: rgb(158, 58, 0);
    border-right: 1px solid black;
    border-radius: 0 0 0 15px;
}

.submit-button:hover {
    background: linear-gradient(to top, rgba(158, 58, 0, 0.75), rgba(0,0,0,1));
    border-bottom: 3px solid white;
    border-radius: 0 0 0 15px;
}

.submit-button-2 {
    line-height: 50px;
    transition: background-color .4s, border-bottom .2s;
    background-color: rgb(158, 58, 0);
    border-radius: 0 0 15px 0;
}

.submit-button-2:hover {
    background: linear-gradient(to top, rgba(158, 58, 0, 0.75), rgba(0,0,0,1));
    border-bottom: 3px solid white;
    border-bottom: 3px solid white;
    border-radius: 0 0 15px 0;
}

.submit-button-flat {
    height: 100%;
    line-height: 50px;
    background-color: rgb(158, 58, 0);
    transition: background-color .4s, border-bottom .2s;
}

.submit-button-flat:hover {
    background: linear-gradient(to top, rgba(158, 58, 0, 0.75), rgba(0,0,0,1));
    border-bottom: 3px solid white;
}

/* use for JS selection of elements  */
.selected {
    border: 4px solid rgb(0, 132, 255);
    border-radius: 15px;
    margin: 4px auto;
    line-height: 150%;
}

.show {
    display: block;
}

/* GAME EXPLAINED */
.explanation {

    width: auto;
    height: fit-content;
    padding: 1%;
    margin-bottom: 5%;
    
    align-self: center;

    background-color: rgb(170, 0, 0);
    color: white;
    box-shadow: inset 0px 3px 3px 0px rgba(0, 0, 0, 0.5);

}

.explanation-green {

    width: auto;
    height: fit-content;
    padding: 1%;
    margin-bottom: 5%;
    
    align-self: center;

    background-color: rgb(0, 140, 0);
    color: white;
    box-shadow: inset 0px 3px 3px 0px rgba(0, 0, 0, 0.5);

}

/* GAME 2 TREE OCTOPUS */
.center		{text-align: center;}
.outline	{border: 1px solid #262;}
.divide		{border-top: 2px solid #6a6;}
.fine		{font-size: .8em;}

.indent		{padding: 2%;}
.indent p	{text-align: justify;}

.body {
    position: relative;
    top: 50px;
    width: 65%;
    margin: auto ;
	background-color: #010;
	border: solid #6a6 2px;
    color: white;
	padding: 4px 4px 110px 4px;
	border-radius: 15px 15px 0 0;
}

.body h3	{font-family: Duarte Centenario; font-size: 1.3em; border-bottom: 1px solid #373; padding-left: 6px;}
.body h4	{font-family: Duarte Centenario; font-weight: normal;}
.body dt	{font-weight: bold; border-bottom: 1px solid #6a6;}
.body dd	{margin: 10px;}

@media only screen and (max-width: 1000px) {
    .body {
        width: auto;
        max-width: 100vw;
        margin: auto;
    }
}
.photo {

	margin-bottom: 4px auto;
	padding: 1px;
	background-color: #262;
	font-size: .8em;
	text-align: right;
	/* float: right; */
}

/* game 3 acne */
#block-mainpagecontent{
    position: relative;

    width: 65%;
    height: fit-content;
    margin: auto;
    padding: 2% 2% 100px 2%;

    background-color: white;
    border-radius: 15px;
}

@media only screen and (max-width: 1000px) {
    #block-mainpagecontent {
        width: auto;
        max-width: 100vw;
        margin: auto;
    }
}