@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;700&display=swap');

body {
    background-color: black;
    font-family: 'Oswald', sans-serif;
    font-size: xx-large;
}

form {
    color: white;
}


nav {
    background-color: rgb(216, 216, 216);
    font-size: xx-large;
    padding: 5px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;

}

li {
    color: white;
}

hr {
    background-color: rgb(148, 17, 17);
}

nav a {
    color: black;
    padding: 5px;
}

nav a:hover {
    color: rgb(148, 17, 17);
    text-decoration: none;
}

.center {
    text-align: center;
}


/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
    width: 100%;
    height: 800px;
    aspect-ratio: 16/9;
    background-color: black;
    overflow: hidden;
}

/* Hide the images by default */
.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(148, 17, 17, 0.8);
}

/* The dots/bullets/indicators */
/* .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgb(216, 216, 216);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: rgba(255, 255, 255, 0.644);
} */


/*form validation */
.error-message {
    color: rgb(148, 17, 17)
}

#success {
    background-color: black;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: large;
}


.white-background {
    background-color: white;
    color: black;
}

.white-background h1 {
    color: black;
    text-decoration: underline rgb(148, 17, 17);
    text-underline-offset: 10px;
}

.red-background {
    background-color: rgb(148, 17, 17);
    color: white;
}

.red-background h1 {
    color: white;
    text-decoration: underline white;
    text-underline-offset: 10px;
}

.grey-background {
    background-color: rgb(216, 216, 216);
}

.bold {
    font-size: 24px;
}

.about-box {
    background-color: rgb(216, 216, 216);
    color: rgb(148, 17, 17);
    border-top: 5px solid rgb(148, 17, 17);
    border-left: 5px solid rgb(148, 17, 17)
}

.about-box h1 {
    color: rgb(148, 17, 17);
    text-decoration: underline rgb(148, 17, 17);
    text-underline-offset: 10px;

}

.space {
    padding-top: 100px;
    padding-bottom: 100px;
}

.textbox {
    border-radius: 20px;
    padding: 10px;
    width: 35%;
}

.submit-button {
    background-color: white;
    color: black;
    height: 40px;
    width: auto;
    padding-bottom: 50px;
}

.submit-button:hover {
    color: rgb(148, 17, 17);
    background-color: rgba(255, 255, 255, 0.644);
}

.justify-right {
    justify-items: right;
}

.img-text-left {
    background-color: rgba(255, 255, 255, 0.349);
    color: black;
    position: absolute;
    top: 0%;
    height: 100%;
    width: 40%;
}

.img-text-right {
    background-color: rgb(0, 0, 0);
    color: black;
    position: absolute;
    top: 0%;
    right: 0%;
    height: 100%;
    width: 40%;
}

.container-text-overlay {
    position: relative;
    text-align: center;
    color: white;
}

img {
    border: 5px solid rgb(148, 17, 17);
    border-radius: 20px;
}

h1 {
    color: white;
    text-decoration: underline rgb(148, 17, 17);
    text-underline-offset: 10px;
    padding-bottom: 15px;
}

h2 {
    color: white;
}

p {
    color: white;
}

table {
    margin: 15px;
}

td {
    padding: 5px;
}

tr {
    border-bottom: 3px solid rgb(148, 17, 17);
}

textarea {
    border-radius: 20px;
    padding: 15px;
    margin: 5px;
    width: 71%;
}

button {
    background-color: rgb(148, 17, 17);
    border: rgb(148, 17, 17);
    color: white;
    float: right;
    margin-right: 10px;
}

button:hover {
    background-color: rgba(148, 17, 17, 0.699);
}

.form-style {
    background-color: rgba(148, 17, 17, 0.50);
    color: white;
    padding: 15px;
    margin: 80px;
    border-radius: 20px;

}

.topnav .icon {
    display: none;
  }

/* When the screen is less than 800 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 800px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 800px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }
