@font-face {
    font-family: "Frutiger";
    src: url("ConsolaMono-Book.ttf");
}

@keyframes backgroundPan {
    from {
        background-position: left center;
    }

    to {
        background-position: right center;
    }
}

body {
  background-image: url("Background.jpg");
  background-size: 120% auto;
  background-repeat: no-repeat;
  
  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  
  animation: backgroundPan 20s ease-in-out infinite alternate;
}

.box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    width: min(800px, 90vw);
    height: min(600px, 75vh);

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.2)
    );
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);

    border-radius: 20px;

    text-align: center;
    
    display: flex;
    flex-direction: column;
}

.navbar {
    height: 50px;
    display: flex;

    overflow: hidden;

    border-radius: 20px 20px 0 0;
}

.navbar button {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    
    border: none;

    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.4) 0%,
      rgba(255,255,255,0.2) 40%,
      rgba(255,255,255,0.05) 41%,
      rgba(255,255,255,0.15) 100%
    );
}

.navbar button.active {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    
    border: none;

    background: rgba(255,255,255,0.4);
}

.content h1 {
   margin: 0;
}

.content p {
    margin-top: 0;
    margin-bottom: 5px;
}

.content {
    display: inline-block;
    
    color: white;
    font-size: 24px;
    font-family: "Frutiger";
    
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

hr {
    border: none;
    height: 1px;

    background: rgba(255,255,255,0.3);

    margin: 15px 0;
}

.socials {
    margin-top: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: white;
    text-decoration: none;

    font-family: "Frutiger";
    font-size: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
}

.btn-text {
    display: inline-block;
    
    color: white;
    font-size: 24px;
    font-family: "Frutiger";
    
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navbar button:hover .btn-text {
    transform: translateY(-4px);
}

.title {
    position: static;

    margin-bottom: 0px;

    white-space: nowrap;

    font-size: 72px;
    font-family: "Frutiger";

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.5),
        rgba(255,255,255,1)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {

    body {
      background-size: cover;
    }
    
    .box {
        width: 95vw;
        height: 80vh;
    }

    .title {
        font-size: 42px;
        top: -70px;
    }

    .social-link {
        font-size: 12px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }
}