/*Set up general coloring and format on my webpage*/

/*Makes dealing with element sizes easier*/
*{
	box-sizing:border-box;
}


/*--GENERAL COLORING--*/
/*Set the background colors*/

.nbColor {background-color: #333;}/*#54585a;}*/
.bgColor, .customSelect option{background-color: #888;}/*#707372;}*/
.darkerBG{background-color: #333;}
.hldrColor, .card, .video-container, .customSelect, .modal-content, .dropdown-content{background-color: #AAA;}/*#b2b4b2;}*/
.btnColor, button, .prev, .next{background-color: #666;}/*#514689;}*/
.btnSelected, button:hover{background-color: #a7a4e0;}/*#c09c0c;}*/

/*Styling rules for the body element*/
body {
	overflow: auto;
	background-color: #555;
	width: 100%;
	height: 100%;
	margin: 0;
	background-image: url('Backgrounds/mainPage_bg.png');/*Attributions: Background image made by Vectonauta and obtained from the website Freepik: https://www.freepik.com/free-vector/dark-gradient-background-with-hexagons_32241114.htm#page=3&query=dark%20hex%20wallpaper&position=41&from_view=search&track=ais*/	
	background-size:cover; 
	background-attachment: fixed;
}

/*Set styling for general page elements*/
.card, .video-container, .customSelect, .modal-content, .dropdown-content{
	box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
	border-radius: 5px;
	padding: 15px;
}

/*Set how buttons generally look*/
button{
	color: white;
	border-radius: 8px;
	border: 0px;
	padding: 14px; /*40px;*/
	margin: 5px;
	
	-webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
}

/*Making a close button(white x in top right corner)*/
.close{
	color: #FFF;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor:pointer;
}

/*Drop down content links*/
.dropdown-content a
{
	border-top: 1px solid #999;
}


/*--VIDEO CONTAINERS--*/
/*Set the video container positioning*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 100%;
}

/*Set how iframes look like inside a video container*/
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	border:none;
}

/*Make sure video images are the right size*/
video[poster]{object-fit:fill}

/*--MODAL STUFF--*/
/*Style the modal background*/
.modal{ /*Modal background*/
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(85,85,85); /* Fallback color */
  background-color: rgba(85,85,85,0.75); /* Opacity */
}

/*Set how content in a modal looks like*/
.modal-content{
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%; 
}

/*Set how an element in a modal looks like*/
.modal-element{
	width: 100%;
	padding: 12px;
	margin: 2.5px;
	resize: vertical;
	border: 1px solid #777;
	border-radius: 4px;
}


/*--SPRITE PAGE STUFF--*/
/*Get rid of list decorations in the sprite list*/
.spriteList
{
	list-style-type: none;
}

/*Put spacing between sprite card elements*/
.spriteList li
{
	margin: 10px;
}

/*Set up the section of the card that holds the sprites*/
.spriteSect
{
	float: left;
	width: 75%;
	background-color: #888;
}

/*Indicate whether a collection of sprites has an associated finished sprite sheet*/
.finalSpriteSect
{
	cursor: pointer;
	border-style: none none none solid;
	border-width: 6px;
	border-color: #514689;
}

/*Set up the section of the card that holds text*/
.textSect
{
	float: left;
	width: 25%;
	text-align: center;
}

div.scroll
{
	overflow-x: hidden;
	overflow-y: auto;
	text-align: center;
	padding: 20px;
}
