
* { box-sizing: border-box; }

html,body{height:100%;}
body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  color:#f5f5f5;
  background: #ffffff;
  -webkit-font-smoothing:antialiased;
  overflow: hidden;
}

main{
  position:relative;
  min-height:calc(100vh - 80px);
}

.home-paal{
  position:fixed;
  top:52px;
  height:calc(100vh - 60px);
  width:auto;
  max-width:170px;
  z-index:10;
  pointer-events:none;
  user-select:none;
}

.home-paal--left{left:55px;}
.home-paal--right{right:55px;}


.content-section{
  position:absolute;
  left:50%;
  top :18vh;
  transform:translate(-50%,-50%);
  z-index:1;

  width:min(720px, calc(100% - 32px));
  margin:0;
  text-align:center;
  color:#111;
}
.content-section h1{
  margin:0 0 12px;
  font-size:3rem;
  font-weight:800;
}
.content-section p{
  margin:0;
  font-size:25px;
  line-height:1;
}
.page-header {
  background: #000;
  color: #BEBEBE;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
}
.header-inner {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo {
  height: 64px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.header-nav a {
  color: #BEBEBE;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 6px;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}
.Background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/background.png');
  background-size: 110% 100%;
  background-position: center calc(50% + 80px);
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;

}
.button-container{
  position:absolute;
  left:50%;
  top:calc(33vh + 40px);
  transform:translate(-50%,-50%);
  z-index:1;

  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:48px;
  margin-top:0;
  width:min(1100px,100%);
  padding:0 16px;
}
.button-container button,
.button-container a{background:#E01717;color:#fff;border:none;padding:18px 34px;font-size:1.1rem;border-radius:12px;cursor:pointer;min-width:220px;text-decoration:none;display:inline-block;text-align:center}
.button-container button:hover,
.button-container a:hover{background:#c41313}

#tram{
position: relative;
left: -150%;
top: -3%;
width: 150px;
height: 300px;
}

#tram img {
  width: 1900px;
  height: auto;
  display: block;
}
.yellow-background {
  position: absolute;
  top: 350px;
  left: 0%;
  width: 2000px;
  height: 50px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1024px){
  .home-paal{max-width:140px;}
  .home-paal--left{left:70px;}
  .home-paal--right{right:70px;}
  .home-paal { display: none; }

  .button-container {
    gap: 32px;
    width: min(700px, 100%);
  }
  .button-container button,
  .button-container a {
    padding: 12px 22px;
    font-size: 1rem;
    min-width: 150px;
    .page-header {
      height: 64px;
    }
    .header-inner {
      max-width: 95vw;
      gap: 10px;
      padding: 0 8px;
    }
    .logo {
      height: 44px;
      max-height: 52px;
    }
    .header-nav a {
      font-size: 16px;
      padding: 6px 8px;
    }
    .header-nav {
      gap: 12px;
    }
    border-radius: 10px;
  }
}

@media (max-width: 780px){
  .home-paal{max-width:110px;}
  .home-paal--left{left:40px;}
  .home-paal--right{right:40px;}

  .button-container {
    gap: 16px;
    width: min(400px, 100%);
    padding: 0 4px;
  }
  .button-container button,
  .button-container a {
    padding: 8px 10px;
    font-size: 0.8rem;
    min-width: 100px;
    border-radius: 8px;
    .page-header {
      height: 48px;
    }
    .header-inner {
      max-width: 100vw;
      gap: 4px;
      padding: 0 2px;
      grid-template-columns: 1fr;
      justify-items: center;
    }
    .logo {
      height: 32px;
      max-height: 36px;
    }
    .header-nav {
      gap: 6px;
    }
    .header-nav a {
      font-size: 13px;
      padding: 4px 4px;
    }
  .content-section h1 {
    font-size: 2rem;
  }

  }
  .content-section h1 {
    font-size: 2rem;
  }
  .content-section p {
    font-size: 16px;
  }
}

.home-osso{
  position:absolute;
  left:-70px;
  top:-300px;
  width:380px;
  height:auto;
  z-index:1;
  pointer-events:none;
  user-select:none;
}

@media (max-width: 780px){
  .home-osso{display:none;}
}

@media (max-width: 450px) {
  .header-inner {
    gap: 40px;
    padding: 0 1px;
  }

  .header-nav {
    gap: 2px;
  }
  .header-nav a {
    font-size: 15px;
    padding: 2px 2px;
  }
}
