@import url("https://fonts.googleapis.com/css?family=Lato");

:root {
  --color-yellow: #ffd000;
  --color-pink: #f463e6;
}


::-moz-selection { /* Code for Firefox */
  /* color: red; */
  /* background: #f463e6; */
}

::selection {
  /* background: #f463e6; */
  /* background: red; */
  /* background: rgba(244, 99, 230, 1); */
}

*:-moz-focus {
  outline: none;
  background-color: var(--color-yellow);
}

*:focus {
  outline: none;
  background-color: var(--color-yellow);
}

body {
  font-family: 'Lato', sans-serif;
  /* background-color: black; */
  background-color: rgb(11, 11, 11);
  color: white;
  margin: 0;
}

/*                LOGO                */

.header {
  display: block;
  height: 50vh;
  /* margin: auto; */
  margin-left: 120px;
  position: relative;
  /* border: 1px solid #555555; */
}

@media only screen and (min-width: 800px) {
  .header {
    margin-left: 0;
  }
}

.logo {
  display: block;
  max-width: 50vw;
  max-height: 40vh;
  margin: auto;
  position: absolute;
  /* padding-left: 30vw;
  padding-right: 30px; */
  top: 50%;
  left: 50%;
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  /* background-color: red; */
}

/*                SLIDER                */

.bottom {
  height: 50vh;
  /* position: absolute;
  bottom: 0; */
}

.slider {
  height: 50vh;
  /* margin-bottom: 0 !important; */
  /* margin: auto 30px; */
  /* width: calc(100vw - 90px); */
  /* bottom: 0; */
  /* position: relative; */
}

.slider-el {
  /* padding: 15px; */
  /* height: 40vh; */
}

.slider-el-container {
  position: absolute;
  z-index: 5;
}

.title {
  position: relative;
  color: var(--color-yellow);
  text-align: center;
  text-transform: capitalize; 
  margin: 0;
  font-size: 30px;
  transform: 
    translateY(calc(50vh - 50px))
    translateX(25px);
}

.new {
  font-size: 12px;
  -webkit-animation: new-color-change 1.11s infinite;
  -moz-animation: new-color-change 1.11s infinite;
  -o-animation: new-color-change 1.11s infinite;
  -ms-animation: new-color-change 1.11s infinite;
  animation: new-color-change 1.11s infinite;
}

@-webkit-keyframes new-color-change {
  0% { color: white; }
  50% { color: yellow; }
  100% { color: white; }
}
@-moz-keyframes new-color-change {
  0% { color: white; }
  50% { color: yellow; }
  100% { color: white; }
}
@-ms-keyframes new-color-change {
  0% { color: white; }
  50% { color: yellow; }
  100% { color: white; }
}
@-o-keyframes new-color-change {
  0% { color: white; }
  50% { color: yellow; }
  100% { color: white; }
}
@keyframes new-color-change {
  0% { color: white; }
  50% { color: yellow; }
  100% { color: white; }
}

.photo {
  /* width: 30vw; */
  /* position: relative; */
  height: calc(50vh - 10px);
  margin: auto;
}

/*                STRIPE                */

@-webkit-keyframes SLIDE-LOGOS {
	from {
		-webkit-transform: translateY(0);
	}
	to { 
		-webkit-transform: translateY(-115vh);
	}
}

@keyframes SLIDE-LOGOS {
	from {
		transform: translateY(0);
	}
	to { 
		transform: translateY(-115vh);
	}
}

.stripe-container {
  height: 100%;
  /* background-color: tomato; */
  width: 120px;
  max-width: 33%;
  position: absolute;
  top: 0;
  overflow: hidden;
  margin: 0 0 0 15px;
  z-index: 1;
}

.stripe {
  position: absolute;
  height: 230vh;
  left: 0;
  right: 0;
  top: 0;
  bottom: -150px;

  background-image: url(assets/emka-pasek.svg);
  background-repeat: no-repeat repeat;
  
  -webkit-animation-name: SLIDE-LOGOS;
  -webkit-animation-duration: 4s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;

  animation-name: SLIDE-LOGOS;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* TODO: sprawdz czy wystarczy sam wiekszy pasek, zamiast ustawien pod mobile view */
@media only screen and (min-width: 800px) {
  @-webkit-keyframes SLIDE-LOGOS {
    from {
      -webkit-transform: translateY(0);
    }
    to { 
      -webkit-transform: translateY(-115vh);
    }
  }
  
  @keyframes SLIDE-LOGOS {
    from {
      transform: translateY(0);
    }
    to { 
      transform: translateY(-115vh);
    }
  }
  
  .stripe-container {
    margin: 0 0 0 60px;
    width: 190px;
    max-width: 33%;
  }

  .stripe {
    height: 230vh;
    left: 0;
    right: 0;
    top: 0;
    bottom: -100px;  
  }

  /* .stripe {
    position: absolute;
    height: 100vh;
    left: 0;
    right: 0;
    top: 0;
    bottom: 100px;
    background-repeat: no-repeat repeat;

    -webkit-animation-name: SLIDE-LOGOS;
    -webkit-animation-duration: 4s;

    animation-name: SLIDE-LOGOS;
    animation-duration: 4s;
  } */
}