@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* Yleisasetukset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

/* Videotausta */
.banner {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.video-background {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

.video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#video {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Navigointipalkki */
.navbar {
  width: 85%;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  color: #f3c306;
  font-size: 1.2rem;
  font-weight: bold;
  font-style: italic;
  padding: 3rem 0.5rem;
  cursor: pointer;
}

/* Navigointilinkit */
.navbar ul li {
  list-style: none;
  margin: 0 20px;
  display: inline-block;
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar ul li::after {
  content: '';
  height: 3px;
  width: 0;
  background: #f3c306;
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: width 0.5s;
}

.navbar ul li:hover::after {
  width: 100%;
}

/* Hero-sisältö (keskusteksti videon päällä) */
.content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  color: #eceae1;
  padding: 0 1rem;
}

.content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
  color: #f3c306;
}

.content p1 {
  display: block;
  font-size: 1.1rem;
  font-weight: 300;
  color: azure;
  margin: 1.5rem auto;
  line-height: 1.8;
  max-width: 700px;
}

/* Painike */
button {
  width: 200px;
  padding: 15px 0;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #f3c306;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

button span {
  background: #f3c306;
  height: 100%;
  width: 0;
  border-radius: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: width 0.3s ease;
}

button:hover span {
  width: 100%;
}

button:hover {
  color: #161616;
  border-color: transparent;
}
