@font-face {
  font-family: 'Valorant'; /*a name to be used later*/
  src: url('ValorantFont.ttf'); /*URL to font*/
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend Zetta', sans-serif;
}

body{
    background: #111;
    color: #FFF;
}

header{
    display: flex;
    align-items: center;
    height: 120px;
    box-shadow: #000 0 0 50px;
    padding-left: 10%;
    padding-right: 10%;
    justify-content: space-between;
    margin-bottom: 30px;
}

header h4{
  font-size: 2rem;
  font-style: italic;
  animation: colorRotate 5s linear 0s infinite;
}

footer{
  position: relative;
  top: 20px;
  display: flex;
  align-items: center;
  height: 120px;
  box-shadow: #000 0 0 50px;
  padding-left: 10%;
  padding-right: 10%;
  justify-content: center;
  margin-top: 30px;
}

footer h4{
  font-size: 2rem;
  font-style: italic;
  animation: colorRotate 5s linear 0s infinite;
}

h2{
  letter-spacing: -5px;
  font-size: 20px;
  justify-self: start;
  align-self: start;
}

p{
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  align-self: start;
  justify-self: start;
}

main{
  margin-left: 25vw;
  margin-right: 25vw;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
}

#valorez-preview{
  flex-direction: column;
  gap: 0px;  
  margin-bottom: 40px;
}

#valorez-preview h1{
  position: relative;
  top: 20px;
  font-size: 9vw;
  background: -webkit-linear-gradient(#a30707, #111);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 -2.8vw;
  font-family: 'Valorant';
  color: red;
  transition: 1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ########################## */
/*        PRESENTATION        */
/* ########################## */

#presentation{
  flex-direction: column;
  gap: 40px;  
}

#presentation h1{
  top: 20px;
  font-size: 8vw;
  background: -webkit-linear-gradient(#fff, #111);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 -2.2vw;
  transition: 1s cubic-bezier(0.77, 0, 0.175, 1);
}

#presentation p{
  font-size: 1vw;
  line-height: 1.5vw;
}

#presentation h2{
  font-size: 3vw;
}


/* ########################## */
/*          DOWNLOAD          */
/* ########################## */

#download{
  flex-direction: column;
  gap: 40px;  
}

#download h1{
  top: 20px;
  font-size: 8vw;
  background: -webkit-linear-gradient(#fff, #111);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 -2.2vw;
  transition: 1s cubic-bezier(0.77, 0, 0.175, 1);
}


.btn {
  border: none;
  width: 15em;
  height: 5em;
  border-radius: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #1C1A1C;
  cursor: pointer;
  transition: all 450ms ease-in-out;
  margin-top: 70px;
}

.sparkle {
  fill: #AAAAAA;
  transition: all 800ms ease;
}

.text {
  font-weight: 600;
  color: #AAAAAA;
  font-size: medium;
}

.btn:hover {
  background: linear-gradient(0deg,#f37c7c,#ea3f3f);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
  inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
  0px 0px 0px 4px rgba(255, 255, 255, 0.2),
  0px 0px 180px 0px #ff1717;
  transform: translateY(-2px);
}

.btn:hover .text {
  color: white;
}

.btn:hover .sparkle {
  fill: white;
  transform: scale(1.2);
} 

.button-container{
  display: flex;
  gap: 50px;
}

:root {
  --image-comparison-slider-width: min(80vw, 1026px);
  --image-comparison-slider-handle-width: 50px;
}
#image-comparison-slider {
  position: relative;
  width: var(--image-comparison-slider-width);
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0;
  cursor: col-resize;
}

#image-comparison-slider:hover {
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, rgba(230, 0, 0, 0.35) 0 0 20px 5px,
    rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #fff 0 0 0 0px;
}

#image-comparison-slider img {
  display: block;
  width: var(--image-comparison-slider-width);
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
#image-comparison-slider .img-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0); /* This is in order to fix a Firefox bug, related to the 3D tilt effect */
  transition: 0.25s cubic-bezier(.03,.98,.52,.99); 
}
#image-comparison-slider .img-wrapper img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}
#image-comparison-slider .label {
  position: absolute;
  top: 1rem;
  z-index: 3;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.33);
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 1px;
  user-select: none;
  opacity: 0;
  transition: 0.25s cubic-bezier(.68,.26,.58,1.22);
}
#image-comparison-slider:hover .label {
  opacity: 1;
}
#image-comparison-slider .label.label-before {
  left: 1rem;
}
#image-comparison-slider .label.label-after {
  right: 1rem;
  background-color: red;
}
#image-comparison-slider .handle {
  position: absolute;
  top: 0;
  left: calc(50% - var(--image-comparison-slider-handle-width)/2);
  width: var(--image-comparison-slider-handle-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
  z-index: 2;
  transition: 0.25s cubic-bezier(.03,.98,.52,.99);
}
#image-comparison-slider .handle-line {
  width: 2px;
  flex-grow: 1;
  background-color: #fff;
}
#image-comparison-slider .handle-circle {
  width: var(--image-comparison-slider-handle-width);
  height: var(--image-comparison-slider-handle-width);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: rgba(0,0,0,0.5);
}

/* Splash screen */

.intro{
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #080808;
    box-shadow: #080808 0 60px 60px;
    transition: 1s;
    font-size: 5vw;
    font-weight: 900;
    font-style: italic;
    display: flex;
    letter-spacing: -1vw;
}

.logo-header{
    position: absolute;
    top: 46%;
    left: 48%;
    transform: translate(-50%, -50%);
    color: #000;
}

.logo{
    position: relative;
    display: inline-block;
    bottom: -100vh;
    opacity: 0;
}

.logo.active{
    bottom: 0;
    opacity: 1;
    transition: 1.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.logo.fade{
    bottom: 100vh;
    opacity: 0;
    transition: 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro span {
    animation: colorRotate .75s linear 0s infinite;
  }
  
  @keyframes colorRotate {
      0%,100%  {
        color: #e87d7d;
        text-shadow: #e87d7d 0 0 20px;
      }
      10% {
        color: #e8bd7d;
        text-shadow: #e8bd7d 0 0 20px;
      }
      20% {
        color: #d3e87d;
        text-shadow: #d3e87d 0 0 20px;
      }
      30% {
        color: #92e87d;
        text-shadow: #92e87d 0 0 20px;
      }
      40% {
        color: #7de8a8;
        text-shadow: #7de8a8 0 0 20px;
      }
      50% {
        color: #7de8e8;
        text-shadow: #7de8e8 0 0 20px;
      }
      60% {
        color: #7da8e8;
        text-shadow: #7da8e8 0 0 20px;
      }
      70% {
        color: #927de8;
        text-shadow: #927de8 0 0 20px;
      }
      80% {
        color: #d37de8;
        text-shadow: #d37de8 0 0 20px;
      }
      90% {
        color: #e87dbd;
        text-shadow: #e87dbd 0 0 20px;
      }
  }

/* Card VALORez */
.container {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
}

.cardWrap {
  margin: 0px;
  -webkit-transform: perspective(800px);
  transform: perspective(800px);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  cursor: pointer;
}

.cardWrap:hover .cardBg {
  -webkit-transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, rgba(230, 0, 0, 0.35) 0 0 20px 5px,
    rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #fff 0 0 0 0px;
}

.cardWrap:hover .card {
  -webkit-transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.card {
  position: relative;
  -webkit-box-flex: 0;
  width: 400px;
  height: 410px;
  border-radius: 10px;
  /*box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0;*/
  -webkit-transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition: 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.cardBg {
  opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  background-image: url('valorez_app.png');
  -webkit-transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95),
    opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95),
    opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  pointer-events: none;
}

ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}


.card-download{
  display: flex;
  flex-shrink: 0;
  padding: 36px;
  width: 100%;
  height: 300px;
  border-radius: 30px;
  background: #111;
  box-shadow: 15px 15px 30px rgb(10, 10, 10),
              -15px -15px 30px rgb(26, 26, 26);
  margin-bottom: 30px;
  gap: 2vw;
 }

.card-download img {
  display: block;
  width: 400px;
  height: auto;
  border-radius: 30px;
  flex-shrink: 0;
}

.card-download h2 {
  font-size: 30px;
}

.download-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.download-content .btn{
  margin: 0;
  margin-left: auto;
  width: 5em;
  flex-shrink: 0;
}

.download-content p{
  font-size: larger;
}

.text-card {
  font-weight: 600;
  color: #AAAAAA;
  font-size: medium;
  display: none;
}


/* Responsive */

@media only screen and (max-width:1815px) {
  .card-download{
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .download-content{
    align-items: center;
    flex-direction: column-reverse;
  }

  .download-content .btn{
    margin: 0;
  }

  .download-content .btn{
    width: 15em;
  }

  .text-card {
    display: block;
  }

  #presentation p{
    font-size: 20px;
    line-height: 30px;
  }
  
  #presentation h2{
    font-size: 32px;
  }
}

@media only screen and (max-width:880px) {
  main{
    margin-left:  20px;
    margin-right: 20px;
  }

  :root {
    --image-comparison-slider-width: 90vw;
  }

  #valorez-preview h1{
    font-size: 72px;
    top: 0;
  }
}

@media only screen and (max-width:489px) {
  header{
    flex-direction: column;
    justify-content: space-evenly;
  }

  .button-container {
    flex-direction: column;
    justify-content: space-evenly;
    gap: 0px;
  }

  .btn {
    margin-top: 30px;
  }

  h2{
    align-self: center;
  }
}

