*,
*::before
*::after{
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}


html{
  font-family: 'Arial', sans-serif;
  font-size: 10px;

}

a{
  text-decoration: none;
}

ul{
  list-style: none;
}

p{
  font-size: 1.6rem;
  margin: 5rem;
}

.row{
  margin: 0;
}
section{
  padding: 5rem 0;
}
body{

  background-image: url("Media/sternenhimmel.jpg");

  background-attachment: fixed;
  background-position: POSITION;
  background-repeat: repeat settings;

}


.col_left{
  background-color: green;
  opacity: 0;
}

.col_main{
  background-color: tan;
}

.col_right{
  background-color: green;
  opacity: 0;
}


img{
  width: 50%;
  max-width: 75%;
  height: auto;
}

.navbar-brand{
  width: 2.5%;
  max-width: 75%;
  height: auto;
}

nav{
  width: 102%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 5;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.nav-brand{
  width: 1.5rem;
}


.nav-item{
  margin: 2rem 0;

}

.nav-link{
  font-size: 1.6rem;
  text-transform: uppercase;
  color: rgba(0,0,0,.7);
}

ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  font-family: "Arial";
  font-size: 2rem;;
  color: #ecf0f1;
  text-transform: uppercase;
  margin-left: 2rem;
  margin-right: 2rem;
  padding: 4px 0;
  transition: 0.5s;
}
ul li a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 3px;
  top: 100%;
  left: 0;
  background: #ff7000;
  transition: transform 0.5s;
  transform: scaleX(0);
  transform-origin: center;
}
ul li a:hover {
  color: white;
}
ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: right,left;
}
h1{
  font-size: 10rem;
}
h1::after{
  color:black;
  transition: transform 0.5s;
  transform: color;
}
h1:hover{
  color: tan;
}
h1:hover::after{
  color: black;
}

@media screen and (max-width:1600px){

.navbar-brand{
  width: 4%;
}
h1{
  font-size: 6rem;
}
}

@media screen and (max-width:1200px){

img{
  width: 50%;
}
.navbar-brand{
  width: 6%;
}
h1{
  font-size: 6rem;
}

}
@media screen and (max-width:800px){

nav{
  width: 103%;
}
button{
  position: fixed;
  top: .7%;
  left: 90%;
  color: white;
}
button::after{
  color: #ff7000;
  transition: transform 0.5s;
  transform: color;
}
button:hover{
  color: #ff7000;
}
button:hover::after{
  color: white;
}
h1{
  font-size: 5rem;
}

  img{
    width: 60%;

  }
.navbar-brand{
  width: 6%;
}
  body{
    background-color: tan;
    background-image: no
  }
  ul li a::after{
    transform-origin: right;
    width: 9%;
  }
  ul li a:hover::after {
    transform-origin: left;
  }
}


@media screen and (max-width:500px) {

nav{
  width:103.2%;
}
.navbar-toggler{
  position: fixed;
  left: 90%;
}
  img{
    width: 75%;

  }
.navbar-brand{
  width: 4.5%;
}
  body{
    background-color: tan;
    background-image: none;
  }
ul li a::after{
  transform-origin: right;
  width: 13%;
}
ul li a:hover::after {
  transform-origin: left;
}
p{
  margin-left: 2rem;
  margin-right: .5rem;
}
}
