/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Arial
}

header{
  margin: 0 auto;
  width: 88%
  }
h1{
  background:lightblue;
}

/* Sticky nav
------------------------------*/
.sticky{
  position: fixed;
  top:0;
  background: rgba(238, 238, 238, 0.7);
  width: 100%;
  }


/*navigation bar
------------------------------*/
nav ul{
  list-style:none;
  padding:0;
  display: flex;
  }

nav ul li{
  margin-right: 0.5em;
}

nav ul li a{
  color: white;
  background: pink;
  padding: 0.5em 1em;
  border-radius: 15px;
  text-decoration: none;
  transition:1s;
  }
 
nav ul li a:hover{
  background: red;
}

/*Parallax
------------------------------*/
.parallax, .parallax2,.parallax3,.parallax4,.parallax5,.parallax6,.parallax7{
  height: 60vh;
  background-position: 50% 50%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 60%;
  background-color:#bacbd9;
}

.parallax {
  background-image: url(IMG_3719.jpg);
}


.parallax2 {
  background-image: url(IMG_3720.jpg);
}


.parallax3 {
  background-image: url(cb.webp);
}


.parallax4 {
  background-image: url(IMG_3751.jpg);
}


.parallax5 {
  background-image: url(IMG_3753.jpg);
}


.parallax6 {
  background-image: url(p4.jpg);
}


.parallax7 {
  background-image: url(p2.jpg);
}

/* Transform
---------------------------*/
.rotate{
  transition: 1s;
}

.rotate:hover{
  transform: rotate(360deg);
}
.scale{
  transition: 1s
}

.scale:hover{
  transform:scale(1.2);
}

.skew{
  transition: 1s;
}

.skew:hover{
  transform: skew(-45deg);
}

.flip{
  position:relative;
  transform-style: preserve-3d;
  transition: 1s;
   width: 500px;
  height: 500px;
}

.flip:hover{
  transform: roateY(180deg);
}
.front, .back{
  backface-visibility: hidden;
  width: 500px;
  height: 500px;
}

.back{
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg) scaleX(-1);
}

.image-size{
  width:400px;
  height:400px;
}
/*Cool Button
-------------------------*/

.button{
  background:#31ebc6;
  color: #fff;
  padding: 15px 25px;
  border-radius: 15px;
  border: none;
  font-size: 24px;
  box-shadow: 0 9px #f2c763;
  transition: 0.25s;
  cursor: pointer;

}

.button:hover{
  background: #c1e6d3
}
  
.button:active{
  transform: tramslateY(4px);
  box-shadow: 0 5px #e6bce0;
}


/* Animation
-------------------------------------*/

@keyframes glow-text{
  0%{
      color: red;
  }
100%{
      color: blue;
  }
}
.glow{
    animation-name: glow-text;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes ratate-forever{
  100%{
    transform: rotate(3600deg);
  }
}

.inf-rotate{
    animation-name: glow-text;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction:normal;
    animation-timing-function: linear;
}
















