@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
/*--------

MAIN COLOR

--------*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
:root{
  --main-background: #0b0c0f;
  --main-fonts-color: #fff;
  --main-decor-color: salmon;
  --main-font-family: verdana;
}

html, body {
  width: 100%;
  height:100%;
}

body {
    background: linear-gradient(-45deg, purple, black, purple);
    background-size: 700% 700%;
    animation: gradient 10s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/*-----------------

FLEXPARENTCONTAINER

-----------------*/
img.center
{
  
}
.flex_parent_container
{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
}

.container
{
  position:relative;
  overflow: hidden;
  width: 100%;
}

.box img
{
  height:300px;
  width:auto;
}

.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;
  border: 5px solid salmon;
  flex-grow:1;
  width: auto;
  height: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #000;
  text-align:center;
}

.box2
{
  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: #000;
}

.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: #000;
  }

.box4
{
  flex-grow: 1;
  order: 4;
  border: 5px  #596f85;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #000;
}

.box1a
{
  order: 1;
  border: 5px solid purple;
  flex-grow:1;
  width: auto;
  height: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;
  
}

.box2a
{
  flex-grow: 1;
  order: 2;
  border: 5px  solid purple;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;

}

.box3a
{
  flex-grow: 1;
  order: 3;
  border: 5px  solid purple;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;

}

.box4a
{
  flex-grow: 1;
  order: 4;
  border: 5px solid purple;
  height: auto;
  width: auto;
  -moz-border-radius: 10px;
  border-radius: 50px;
  -khtml-border-radius: 10px;
  background-color: #161616;
  align-items:center;
}
/*

END OF FLEXPARENTCONTAINER

/*

HR

*/
hr{
  background: var(--main-decor-color);
  margin: 2px;
  height: 3px;
  width: 150px;
    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: grey;
  box-shadow: inset 0 0 20px grey;
}

::-webkit-Scrollbar-track{
  margin-top: 80px;
  border-radius: 10px;
}

body{
  overflow-x: hidden;
}

/*--------

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;
    background: var(--main-header-background);
    transition: transform 0.5s ease-in;
    z-index: -1;
    text-align: right;
    background-image: url(../images/galaxy.jpg);
  }
}

/*----------

TEXT OPTIONS

----------*/
h5{
  text-align:left;
  font-style:italic;
}
b{
  font-size: 1.5rem;
}
u{
  color:#fff;
}
h2{
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--main-fonts-color);
  text-align:center;
}
h1{
  font-family: 'Press Start 2P';
  font-size: 2rem;
  text-align:center;
  color: #ffffff;;
  text-shadow: 5px 5px 10px  purple;
  width: auto;
  height: auto;
}
h3{
  padding-bottom: 15px;
  letter-spacing: normal;
  font-family: Verdana;
  font-style: normal;
  font-size: 1.15rem;
  color: var(--main-fonts-color);
} 

h6{
  font-family: 'Press Start 2P';
  font-weight: normal;
  font-style:normal;
  font-size: 2rem;
  color: #ffffff;;
  text-shadow: 5px 5px 10px purple;
  width: auto;
  height: auto;
  }

body{
  width:auto;
  height:auto;
  color:black;
}

main{
  padding: 0;
  width: auto;
  height: auto;
  background: var(--main-background);
}

a{
color: purple;
}
/*----

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;
  text-align: center;
  background-image: url(../images/galaxy.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:purple;
 -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: purple;
}

.nav-show{
  opacity: 0;
}

.active{
  background: var(--main-decor-color);
}
/*────────────────── 
     hamburger
──────────────────*/
.navbar-collapse.in {
    background: RGBA(0,0,0,0.85);
}
.hamburger {
	display: none;
  background-image: url(../images/galaxy.jpg);
  position:absolute;
		top: 35px;
		right: auto;
		display: block;
		cursor:pointer;
		z-index: 5;
}

.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);
	}
}
/*--

BODY

--*/
body{
  background-color:#000;
}

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;
}

.left{
  justify-content:center;
}