/* Base layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: white;
  color: white;
  height: 100vh;
  overflow: hidden;
  border: 20px solid white;
  position: relative;
}

/* Video background */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Centered content */
.center-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Typewriter title */
.center-text {
  font-size: 3rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid white;
  animation: typing 4s steps(30, end), blink-caret 0.75s step-end infinite;
  font-family: "Corben", serif;
}

/* Animations */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}

/* Paragraph styling */
p {
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-top: 10px;
  color: white;
}

/* Social buttons */
.socialbutton {
  display: inline-block;
  margin: 10px 5px;
}

.socialbutton img {
  width: 30px;
  height: auto;
  display: block;
}

.socialbutton:hover {
  opacity: 0.6;
}

/* Footer */
footer {
  position: fixed;
  bottom: 30px !important;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Open Sans', sans-serif;
  color: #999;
}

/* Links */
a {
  text-decoration: none;
  color: peru;
}

a:hover {
  color: darkgrey;
  border-bottom: 1px dotted darkgrey;
}

/* Responsive title size */
@media (max-width: 767px) {
  .center-text {
    font-size: 1.5rem;
  }
}
