/* Basics */

@font-face {
  font-family: 'Tanker-Regular'; 
  src: url('../font/Tanker-Regular.woff2') format('woff2'),
       url('../font/Tanker-Regular.woff') format('woff'),
       url('../font/Tanker-Regular.ttf') format('truetype'); 
  font-weight: 400; 
  font-display: swap; 
  font-style: normal; 
}

:root {
  --color-blue: #32384A;
  --color-darkblue: #1C2132;
  --color-orange: #F58356; 
  --color-white: #FFF; 
}

*{
  margin: 0px; 
  padding: 0px; 
}


/* Structure */

body{
  background: var(--color-blue); 
  color: var(--color-white); 
  font-family: 'Tanker-Regular', sans-serif; 
}

header{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-darkblue);
  padding: 20px;
  box-sizing: border-box;
}
footer p{
  text-align: center;
}

.wrapper{
  width: 100%;
  max-width: 1080px;
  padding: 80px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wrapper.text{
  padding: 180px 20px;
}

.text-image-container{
  padding: 80px 0 20px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}

@media (max-width: 920px) {
  .text-image-container{
    flex-direction: column;
    gap: 0;
  }
}

h1{
  font-size: 42px;
}

h2{
  font-size: 32px;
}

h3{
  font-size: 24px;
}

h1, h2, h3{
  color: var(--color-orange);
  letter-spacing: .02em;
}

p{
  font-size: 18px;
  line-height: 36px;
  letter-spacing: .04em;
}

a.current-version{
  font-size: 24px;
  line-height: 60px;
}

a{
  text-decoration: none;
  color: var(--color-white);
}

a.contact-big-so-unity-finds-it{
  font-size: 5vw;
  color: var(--color-white);
  position: relative;
  margin: 15vw 0;
}
a.contact-big-so-unity-finds-it span{
  color: var(--color-orange);
}
a.contact-big-so-unity-finds-it .arrow{
  position: absolute;
  width: 10vw;
}
a.contact-big-so-unity-finds-it .arrow.arrow-lm{
  top: 60%;
  left: -5%;
  transform: translate(-100%, -50%);
}
a.contact-big-so-unity-finds-it .arrow.arrow-lb{
  top: 105%;
  left: 40%;
  transform: translate(-100%, 0%);
}
a.contact-big-so-unity-finds-it .arrow.arrow-rt{
  top: 10%;
  left: 80%;
  transform: translate(0%, -100%);
}
a.contact-big-so-unity-finds-it .arrow.arrow-rb{
  top: 105%;
  left: 100%;
  transform: translate(0%, 0%);
}


a:hover{
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
}

ul{
  list-style: disc;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: .06em;
}

li{
  margin-left: 15px;
}

li.todo{
  opacity: 0.5;
}

::selection{
  color: var(--color-white);
  background: var(--color-orange);
}


/* Content */

nav{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
nav ul{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--color-darkblue);
  box-sizing: border-box;
  border-radius: 10px;
}
nav ul li{
  list-style: none;
  margin: 0 20px;
}
@media screen and (max-width: 540px) {
  nav{
    left: 20px;
    transform: translateX(0);
    scale: 0.8;
    transform-origin: left top;
    margin: 0 !important;
  }
  nav ul li{
    margin: 0 10px;
  }
}

.icon.lang{
  width: 24px;
  height: 24px;
  translate: 0 0;
  margin: 0 0 0 20px;
}

header .logo{
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  padding: 80px;
}

footer .logo{
  width: calc(100vw - 40px);
  max-width: 180px;
  max-height: 180px;
  margin: 60px 0;
}

.wrapper>p, .wrapper>h1{
  text-align: center;
  margin-bottom: 20px;
}

.screenshot{
  max-height: 240px;
  border-radius: 10px;
  margin-top: 15px;
}

.text{
  width: 420px;
  max-width: 100%;
}

.text p{
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: .06em;
}



/* Cards */

.card-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  gap: 20px;
}

.card{
  width: 400px;
  max-width: calc(100vw - 80px);
  aspect-ratio: 1/1;
  border-radius: 10px; 
  transition: background-position 0.8s, background-size 0.8s;
  overflow: hidden;
  box-shadow: 0 70px 60px -60px #000000;
  display: flex;
  justify-content: center;
  align-items: center; 
  position: relative; 
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding: 10px;
  box-sizing: border-box;
}

.card:hover{
  background-position: left center;
  background-size: auto 200%; 
}

.card .border{
  height: 100%;
  width: 100%;
  background: transparent; 
  border-radius: 10px;
  transition: border-color 1s; 
  position: relative; 
  border: 2px solid; 
  border-color: var(--color-white); 
}
  
.card:hover .border{
  border-color: var(--color-orange); 
}

.card .content{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover .content{
  opacity: 1; 
}

.card .content h2{
  color: var(--color-white);
  letter-spacing: 0;
}


/* Icons */
.icon{
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 15px 15px 0 0;
  translate: 0 13px;
}
.icon svg{
  width: 100%;
  height: 100%;
}
.icon svg path{
  fill: var(--color-white);
  transition: fill 0.25s;
}
a.icon:hover svg path, a:hover .icon svg path{
  fill: var(--color-orange);
}




/* Background Animation */

.circles{
  position: fixed; 
  pointer-events: none; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  overflow: hidden;
  z-index: -1;
}

.circles li{
  position: absolute; 
  display: block; 
  list-style: none; 
  width: 20px; 
  height: 20px; 
  background: rgba(255, 255, 255, 0.2);
  animation: animation-floatingsquares 25s linear infinite; 
  bottom: -150px; 
  border-radius: 10px; 
}

.circles li:nth-child(1){left:25%; width:80px; height:80px; animation-delay:0s}
.circles li:nth-child(2){left:10%; width:40px; height:40px; animation-delay:2s; animation-duration:12s}
.circles li:nth-child(3){left:70%; width:40px; height:40px; animation-delay:4s}
.circles li:nth-child(4){left:40%; width:60px; height:60px; animation-delay:0s; animation-duration:18s}
.circles li:nth-child(5){left:65%; width:40px; height:40px; animation-delay:0s}
.circles li:nth-child(6){left:75%; width:110px; height:110px; animation-delay:3s}
.circles li:nth-child(7){left:35%; width:150px; height:150px; animation-delay:7s}
.circles li:nth-child(8){left:50%; width:25px; height:25px; animation-delay:15s; animation-duration:45s}
.circles li:nth-child(9){left:20%; width:15px; height:15px; animation-delay:2s; animation-duration:35s}
.circles li:nth-child(10){left:85%; width:150px; height:150px; animation-delay:0s; animation-duration:11s}
@keyframes animation-floatingsquares{
  0%{transform:translateY(0) rotate(0deg); opacity:1}
  100%{transform:translateY(-1000px) rotate(720deg); opacity:0}
}

/* @keyframes animation-arrowcolors{
  0%{fill: var(--color-color-darkblue);}
  25%{fill: var(--color-white);}
  50%{fill: var(--color-orange);}
  75%{fill: var(--color-white);}
  100%{fill: var(--color-color-darkblue);}
} */