refraction / Style Sheets / style.css
style.css
Raw
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@font-face {
    font-family: kayak;
    src: url(images/kayak.otf);
}


body {
    background: #000;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto";
}

.logoanimate {
    width: 100%;
    padding: 0;
    margin: 0;

}

.bganimate {
    width: 180%;
    padding: 0;
    margin: 0;
    left: 0;
    position: absolute;
    animation: fadeIn 3s ;
    animation-delay: 7s;
    animation-fill-mode: backwards;
}

.logo {
    width: 42%;
    top: 25.55vw;
    position: absolute;
    left: 32vw;
    animation: fadeInOne 1s;
    animation-delay: 6.7s;
    animation-fill-mode: backwards;
}

@keyframes fadeIn{
    0% {opacity:0;}
    100% {opacity: 1;}
}


@keyframes fadeInOne{
    0% {opacity:0;}
    30% {opacity: 1;}
    100% {opacity: 1;}
}





.about {
  padding-bottom: 10vw;
}


.abt_one {
  width: 100%;
}


.about p {
  color: #9e9e9e;
  font-weight: 100;
  font-size: 1.5vw;
  line-height: 2.5vw;
  padding: 0 4vw;

  
}

.headline {
  flex: 1;
  color: #fff;
  font-family: kayak;
  font-size: 5vw;
  padding-left: 4vw;
  margin: 0;
  padding-top: 12vw;
  padding-bottom: 1vw;
}











::-webkit-scrollbar {
  /* Webkit */
  width: 0;
  height: 0;
}

.hs {
  display: flex;
  overflow-x: scroll;
  justify-content: space-between;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}
.hs__header {
  display: flex;
  align-items: center;
  width: 100%;
}
.hs__headline {
  flex: 1;
  color: #fff;
  font-family: kayak;
  font-size: 5vw;
  padding-left: 4vw;
}

.hs__item {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 20vw;
  margin: 1vw;
  display: flex;

  flex-direction: column;
  position: relative;
}

.hs__item:last-child:after {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  right: calc(2vw * 2 * -1);
}
.hs__item:first-child {
  margin-left: calc(2vw * 2);
}

.hs__item__image__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  margin-bottom: 1.5vw;
}
.hs__item__image {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}



/* Base Styling */

.container {
  width: 100%;
  background: #000000;
  mix-blend-mode: invert;
  position: relative;
}
.container:after {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: -1;
}

.hs__item__subtitle {
  font-size:1.2vw ;
  display: block;
  padding-top: 1vw;
  line-height: 2vw;
  color: #9e9e9e;
  font-weight: 300;
}

.hs__item__title {
  font-size: 1.7vw;
  color: #fff;
  font-weight: 500;
}

.hs__item__worktitle {
  display: block;
  padding: 0.1vw;
  padding-top: 1.5vw;
  color: #505050;
  font-size: 1.2vw;
  font-weight: 300;
}

ul {
  padding: 0;
  margin: 0;
}

.hs__item a {
  text-decoration: none;
  color: white;
  padding: 0.8vw 1.8vw;
  border: 1px solid white;
  display: inline-block;
  margin-top: 1.5vw;
  font-size: 1vw;
  margin-bottom: 5vw;
  font-family: "Roboto";

}

.end p {
  color: #fff;
}



footer{
	padding-top: 2vw;
	background: url(images/footer.jpg) center center;
	background-size: cover;
	height: 27vw;
	text-align: center;
	padding: 70px 0;
	box-sizing: border-box;
	color: white;
	display: block;
  overflow: hidden;
  position: relative;
	
   

}
/* ==========infos inside footer============= */
.inner_footer{
	display: block;
	margin: 0 auto;
	width: 100%;
	
  }
  /* ==========logo inside footer============= */
  .inner_footer .logo_container{
	width: 35%;
	float: left;
	display: block;
	
  }
  .inner_footer .logo_container img{
	width: 10vw;
  }
  /* ========== section============= */
  .inner_footer .footer_third{
	width: calc(21.6666666667% - 0.75vw);/* I calculated this so that 
	the colums of information dont overlap each other and fit 100% of
	the footer */
	margin-right: 0.6vw;
	float: left;
	height: 100%
  }
  .inner_footer .footer_third:last-child{
	margin-right: 0;
  }
  /* ==========Small heading for the different sections of the footer============= */
  .minititle{
  font-size: 1vw;
  font-family: kayak;
	color: white;
	display: block;
	text-align: left;
  }
  /* ==========text for section and the location============= */
  .minitext {
	font-size: 1vw;
	color: white;
	display: block;
	font-weight: 200;
	text-align: left;
  }
  .minitext a{
	text-decoration: none;
	color: white;
	font-family: 'Roboto';
	font-size: 1vw;
	display:inline-block;
	margin-right: 1vw;
	margin: 0;
	width: 60%;
	height: 100%;
	text-align: left;
	padding-top: 0.5vw;
  }
  .minitext li{
	list-style: none;
  }

  /* ==========Back to navigation links section============= */
  .links2 a{
	text-decoration: none;
	color: white;
	font-size: 1vw;
	display:inline-block;
	margin-right: 1vw;
	margin: 0;
	width: 60%;
	height: 100%;
  text-align: left;
  }
  .links2 li{
	list-style: none;
  }
  .b-footer {
	text-align: center;
	color: rgb(255, 255, 255);
	padding-top: 1.5vw;
  }
  
  footer .copyright p {
    width: 100%;
    position: absolute;
    bottom: 0;
    font-weight: 100;
    font-size: 1vw;
    letter-spacing: 0.05vw;
  }

  footer .copyright a {
    text-decoration: none;
    color: #fff;
  }

.teaser-section {
  height: 60vw;
}

.flexible-container {
  width: 50%;
  margin: auto;
  position: relative;
  padding-bottom: 50vw;
  height: 0;
  overflow: hidden;
}


.flexible-container video
 {  
   padding-top: 5vw;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
}

.end {
  margin: auto;
  width: 50%;
  padding-bottom: 10vw;
}

.end p{
  text-align: center;
  color: #9e9e9e;
  font-weight: 100;
  line-height: 2vw;
  font-size: 1.3vw;
}





.loader_centre{
  border: 0 soild transparent;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  position: absolute;
  top: calc(50vh - 75px);
  left: calc(50vw - 75px);
}
.loader_centre:before, .loader_centre:after{
  content: '';
  border: 1em solid #ffffff;
  border-radius: 50%;
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  left: 0;
  animation: loader 2s linear infinite;
  opacity: 0;
}
.loader_centre:before{
  animation-delay: .5s;
}

@keyframes loader{
  0%{
      transform: scale(0);
      opacity: 0;
  }
  50%{
      opacity: 1;
  }
  100%{
      transform: scale(1);
      opacity: 0;
  }
}






@media only screen and (max-width: 1024px) {


  .headline {
    font-size: 6vw;
  }

  .about p {
    font-size: 2vw;
    line-height: 3.5vw;
  }

  .hs__headline {
    font-size: 6vw;
  }

  .hs__item {
    flex-basis: 25vw;
  }

  .hs__item__subtitle {
    font-size:1.5vw ;
    line-height: 2.5vw;

  }
  
  .hs__item__title {
    font-size: 2vw;
  }
  
  .hs__item__worktitle {
    font-size: 1.5vw;
  }

  .teaser-section .headline {
    padding-bottom: 5vw;
  }
  
  .flexible-container {
    width: 90%;
    padding-top:2vw;

  }
  
  
  .flexible-container video
   {  
     padding-top: 0vw;
      height: 100%;
  }

  .end {
    padding-top: 20vw;
    padding-bottom: 10vw;
  }
  
  .end p{

    line-height: 3.5vw;
    font-size: 2vw;
  }

footer {
  padding-bottom: 23vw;
}






}





  

@media only screen and (max-width: 414px) {


  .headline {
    font-size: 6.5vw;
    margin-left: 4vw;
  }

  .about p {
    font-size: 5vw;
    line-height: 8vw;
    padding-left: 8vw;
    padding-right: 8vw;
  }


  .hs__item__image__wrapper {
    margin-bottom: 8vw;
  }

  .hs__headline {
    font-size: 6.5vw;
    margin-left: 4vw;
  }

  .hs__item {
    flex-basis: 75vw;
    margin: 4vw;
  }

  .hs__item__subtitle {
    font-size:4vw ;
    line-height: 7vw;
    padding-top: 3vw;
  }
  
  .hs__item__title {
    font-size: 6vw;
  }
  
  .hs__item__worktitle {
    font-size: 3.5vw;
  } 

.hs__item a {
  padding: 2vw 4.5vw;
  margin-top: 4vw;
  font-size: 4vw;

}

.hs__item:last-child:after {
  right: calc(4vw * 2 * -1);
}
.hs__item:first-child {
  margin-left: calc(4vw * 2);
}



.end {
  width: 90%;
  padding-top: 40vw;
  padding-bottom: 5vw;
}

.end p{

  line-height: 8vw;
  font-size: 5vw;
}

footer {
  padding-bottom: 65vw;
}

.inner_footer .logo_container{
  display: none;
}
.minititle{
  font-size: 3vw;
}

.minitext {
  font-size: 3vw;
  line-height: 5vw;
}

.minitext a {
  font-size: 3vw;
}

.inner_footer .footer_third{
	width: 20vw;
  margin-right: 4vw;
  margin-left: 8.5vw;

  }


  footer .copyright p {
    font-size: 2.5vw;
  }




}