@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
/*--------

MAIN COLOR

--------*/
.ribbon{
  position: relative;
  top: -16px;
  right: -706px;
}
:root{
  --main-background: #0b0c0f;
  --main-fonts-color: #fff;
  --main-decor-color: salmon;
  --main-font-family: verdana;
}

html, body {
  width: auto;
  height:auto;
}

body {
    background: linear-gradient(-45deg, #da5e53, #683b4c, #da5e53);
    background-size: 400% 400%;
    animation: gradient 7s ease infinite;
    width:auto;
    height:auto;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/*-----------------

FLEXPARENTCONTAINER

-----------------*/
.flex_parent_container
{
  display: flex;
  flex-flow: row wrap;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  justify-content:space-around;
}
div.parent{
  justify-content: flex-start;
  flex-wrap:wrap;
}
.box
{
  padding: 10px;
  margin: 10px;
  flex-basis: 3in;
  min-width: 1px;
}

.fbox
{
  padding: 10px;
  margin: 10px;
  flex-basis: 3in;
  min-width: 1px;
}

.box1
{
  order: 1;
  flex-grow:1;
  width: auto;
  height: auto;
  border: 5px solid salmon;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box2
{
  flex-grow: 2;
  order: 2;
  height: auto;
  border: 5px solid salmon;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box3
{
  flex-grow: 1;
  order: 2;
  border: 5px solid salmon;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  text-align:center;
  align-items:center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box4
{
  flex-grow: 1;
  order: 4;
  border: 5px solid salmon;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  text-align: center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box1a
{
  order: 1;
  border: 5px solid salmon;
  flex-grow:1;
  width: auto;
  height: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #242526;
  text-align: right;
  align-items: center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box2a
{
  flex-grow: 2;
  order: 2;
  border: 5px solid salmon;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #242526;
  text-align:left;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box3a
{
  flex-grow: 1;
  order: 2;
  border: 5px solid salmon;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #242526;
  text-align:right;
  align-items: center;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}

.box4a
{
  flex-grow: 1;
  order: 4;
  border: 5px solid salmon;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #242526;
  text-align: left;
  display: flex;
  /*flex-flow: column;*/
  flex-flow: row wrap;
  justify-content: space-around;
}
/*---------

END OF FLEX

---------*/


/*

HR

*/
hr{
  background: var(--main-decor-color);
  margin: 2px;
  height: 3px;
  width: 500px;
    border-radius:5px;
  border: hidden;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

/*-------

Scrollbar

-------*/
::-webkit-Scrollbar{
  width: 10px;
  background: rgba(8,3,5,1);
}
::-webkit-Scrollbar-thumb{
  border-radius: 10px;
  background: var(--main-decor-color);
  box-shadow: inset 0 0 20px var(--main-decor-color);
}

::-webkit-Scrollbar-track{
  margin-top: 80px;
  border-radius: 10px;
}

body{
  overflow-x: hidden;
}

/*────────────────── 
     hamburger
──────────────────*/
.navbar-collapse.in {
    background: RGBA(0,0,0,0.85);
}
.hamburger {
	display: none;
}

.hamburger div{
	width: 30px;
	height: 3px;
	background:#ffffff;
	margin: 5px;
	transition:all 0.3s ease;
  
}

.toggle .line1{
	transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2{
	opacity: 0;
}

.toggle .line3{
	transform: rotate(45deg) translate(-5px,-6px);
}

@keyframes navLinkFade{
	from{
		opacity:0;
		transform: translatex(50px);
	}
	to{
		opacity: 1;
		transform:translatex(0px);
	}
}

/*────────────────── 
    responsive
──────────────────*/



@media only screen and (max-width: 1484px) and (min-width: 1214px) {
	.work{
        padding:20px 20%;
    }
}
@media only screen and (max-width: 1214px) and (min-width: 1000px) {
	.work{
        padding:20px 12%;
    }
}
@media only screen and (max-width: 500px) {

	#home, #projects, #contact{
        overflow-x: hidden;
	}
	header{
		background-color: white;
	}
	.logo{
		position:absolute;
		top: 2px;
		left: 30px;
	}
	.nav-show{
		opacity: 0;
	}	 
	.nav-bar{
		position:absolute;
		top: 0px;
		right:0;
		width:60%;
		height: 100vh;
		display:flex;
		flex-direction: column;
		justify-content:space-evenly;
		transform:translatex(100%);
		transition: transform 0.5s ease-in;
		z-index: -1;
    text-align: right;
    background-image: url(../images/DemonWallpaper.jpg);
	}
	.hamburger{
		position:absolute;
		top: 35px;
		right: auto;
		display: block;
		cursor:pointer;
		z-index: 5;
    background-image: url(../images/DemonWallpaper.jpg);
	}	
	.nav-bar li{
		opacity:0;
	}
}

.nav-active{
	transform:translatex(0%);
}

* {box-sizing:border-box}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  margin-left:75em;
  padding: 20px;
  color: blue;
  font-weight: bold;
  font-size: 100px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*------------------

END OF RESPONSIVNESS

------------------*/

/*----------

TEXT OPTIONS

----------*/
h4{
  font-family:verdana;
  font-size: 1.75rem;
  color: #fff;
}
p
{
  color:white;
  font-family:'Poppins', sans-serif;
  font-size:35px;
}

h5{
  text-align:left;
  font-style:italic;
}
b{
  font-size: 1.5rem;
}
u{
  color:#fff;
}

u1{
  color:salmon;
}
h2{
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 2rem;
  color: #fff;
}
h1{
  font-family: 'Press Start 2P';
  font-weight: normal;
  font-style:normal;
  font-size: 2rem;
  text-align: center;
  color: #ffffff;;
  text-shadow: 5px 5px 10px salmon;
  width: auto;
  height: auto;
}
h3{
  padding-bottom: 15px;
  letter-spacing: normal;
  font-family: Verdana;
  font-style: normal;
  font-size: 1.25rem;
  color: #fff;
}

body{
  font-size: 20px;
  width:auto;
  height:auto;
  color:black;
}

main{
  padding: 0;
  width: auto;
  height: auto;
  background: var(--main-background);
}

a{
  color: salmon;
}

h6{
  font-family: 'Press Start 2P';
  font-weight: normal;
  font-style:normal;
  font-size: 1.75rem;
  text-align: center;
  color: #ffffff;;
  text-shadow: 5px 5px 10px salmon;
  width: auto;
  height: auto;
}
/*-----------------

END OF TEXT OPTIONS

-----------------*/

/*----

HEADER

----*/
header{
  margin: 0 auto;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  position: fixed;
  top: 0;
  transition: 0.3s;
  z-index: 5;
  background-image: url(../images/DemonWallpaper.jpg);
  
}



.logo img{
  padding-top: 5px;
  height: 50px;
  cursor: pointer;
}
/*--------

NAVIGATION

--------*/
li:last-child
{
 border-right:0px;
}
li
{
 width:auto;
 height:auto;
 padding:10px;
 line-height:35px;
 border-right:1px solid #A4A4A4;
}
li:hover a
{
 font-size:23px;
 color:#424242;
 -webkit-transform: rotate(360deg);
 -ms-transform: rotate(360deg);
 transform: rotate(360deg);

 -webkit-transition: all 200ms linear;
 -ms-transition: all 200ms linear;
 transition: all 200ms linear;
}
.nav bar{
  list-style:none;
  position: relative;
  display: inline-flex;
}

li{
  display: inline;
  font-size: 1rem;
}

a.nav-link{
  margin:2px;
  padding: 5px 10px;
  text-decoration: none;
  color: var(--main-fonts-color);
  font-family: var(--main-font-family);
  cursor: pointer;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-link:hover{
  color: #000000;
  background: salmon;
}

.nav-show{
  opacity: 0;
}

.active{
  background: var(--main-decor-color);
}


/*--

BODY

--*/

img.jimbo{
  width:1%;
  height:1%;
  margin-left:auto;
  margin-right:auto;
  padding:12px;
}
body{
  background-color:#000;
}

img.center
{
  display:block;
  margin-left:auto;
  margin-right:auto;
  width: 100%;
  height: auto;
  border: solid white;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
}

img.center2
{
  display:block;
  margin-left: auto;
  margin-right: auto;
  width:80%;
}

video.center{
  width:100%;
  height: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
}

video{
  width:100%;
  height:auto;
  -moz-border-radius: 10px;
  border-radius:50px;
  -khtml-border-radius: 10px;
}
/*----

FOOTER

----*/

footer{
  width: auto;
  height:auto;
  background-color: #242526;
  border: darkgrey;
  color:white;
  text-align: left;
  padding: 12px;
}

.footerImage{
  height: 5px;
}