html {
    color: white;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    position: relative;

}
/* Default nav link color */
.nav-link {
    color: gray;
    transition: color 0.3s;
}

/* Highlight the nav link when its section is targeted */
#home:target ~ nav .nav-home,
body:not(:has(:target)) nav .nav-home {
    color: white;
}

#aboutus:target ~ nav .nav-about {
    color: white;
}

#videos:target ~ nav .nav-videos {
    color: white;
}

#socials:target ~ nav .nav-socials {
    color: white;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}


h1 {
    text-align: center;
    margin-top: 70vh;
    font-size: 650%;
}

h2 {
    text-align: center;
    font-size: 300%;
    padding-bottom: 20px;
}

#home {
    background: url('images/hatter1920.jpg') no-repeat;
    background-position: top;
    background-size: 100%;
    height: 100vh;
    overflow: auto;
    padding-top: 80px;
}

#aboutus {
    text-align: justify;
    margin-top: 100px;
    max-width: 100vh;
    justify-content: center;
    align-items: center;
}

#videos {
    background-color: black;
    margin-top: 100px;
}

#socials {
    margin-top: 100px;
    margin-bottom: 200px;
}

footer {
    text-align: center;
    margin: 0;
}

.textbox {
    max-width: 800px;
    min-width: 360px;
    font-size: 0.8rem;
}

img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.aboutus img {
    min-width: 370px;
    margin-left: auto;
    margin-right: auto;
}

.videobox iframe {
    width: 100%;
    height: auto;
    max-width: 800px;
    padding-top: 25px;
}

.videobox {

    max-height: 450px;
    display: flex;
    justify-content: center;
    aspect-ratio: 16 / 9;

}

.link-label {
  margin-top: 8px;
  font-size: 20px;
  color: white;
  font-weight: 500;
  font-family: Arial, sans-serif;
}

.navbar-nav.ms-auto {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
}

a {
  text-decoration: none; /* removes underline */
  color: white;          /* keeps text white */
  cursor: pointer;

}

@media (max-width: 576px) {
  .link-label {
    display: none;
  }
}

@media (max-width:992px) {
    #home {
        font-size: 50%;
        height: auto;
    }

    h1 {
        margin-top: 30vh;
        font-size: 450%;
    }

    h2 {
        text-align: center;
        font-size: 200%;
    }
}
