body {
    background: cornsilk;
    font-family: "MedievalSharp", sans-serif;
    min-height: 1000px;
    margin: 0px;
    padding: 0px;
}

* {
    box-sizing: border-box;
}

/**{
  outline: 1px solid red;
}*/

.banner {
    /*background: grey;*/
    background-image: url("../images/town_background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    padding: 2px 4px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    height: 120px;
}

.logo {
    font-size: 50px;
    padding: 5px;
    border: 5px solid #333;
    text-align: center;
    width: fit-content;
    margin: 1px auto;
    color: darkred;
    background: cornsilk;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    z-index: 800;
}

.fa {
    font-size: 35px;
    color: bisque;
    cursor: pointer;
}

.fa:hover {
    color: goldenrod;
}

.menu {
    display: flex;
    position: sticky;
    width: 100%;
    background: brown;
    top: 0px;
    z-index: 800;
    padding: 5px;
}

.custom-nav {
    display: flex;
    justify-content: center;
}

.menupoint {
    color: bisque;
    padding-right: 24px;
    text-decoration: none;
    font-size: 24px;
}

.menupoint:hover {
    color: goldenrod;
}

.menupoint:focus {
    color: bisque;
}

.dropdown-toggle {
  color: bisque;
  font-size: 25px;
  padding-right: 25px;
}

.dropdown-toggle:hover {
    color: goldenrod;
}

.dropdown-toggle:focus {
    color: bisque;
}

.dropdown-toggle::after {
  margin-left: 0em;
  font-size: 0.9em;
}

.dropdown-item {
    font-size: 20px;
}

.custom-nav {
  display: flex;
  flex-direction: column; /* default: vertical */
}

.magic-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid black;
    margin-bottom: 15px;
}

.title {
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
}

p {
    margin-left: 20px;
    margin-bottom: 50px;
    font-size: 26px;
}

hr {
  width: 60%;
  height: 1.5px;
  background-color: darkred;
  border: none;
  margin: 40px auto;
}

.link {
    color: darkred;
}

.link:hover {
    color: rgb(0, 0, 189);
}

.class-layout {
    display: flex;
    flex-wrap: wrap;    /* Mobile friendly */
    padding-left: 20px;
}

.hero-img {
    width: 40%;
    height: 40%;
    border: 3px solid darkred;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    margin-left: 30px;
}

.table
{   
    margin-top: 25px;
    box-shadow: 5px 5px 8px black;
    width: 50%;
    border: 1px solid black;
    margin: 25px auto;
}

.table th
{
    background: darkred;
    font-weight: bold;
    color: white;
    border-bottom: 5px double gray;
}

.table th, .table td {
    text-align: center;
    border: 1px solid black;
}

.gallery-img {
    width: 100%;
    height: 100%;
    border: 1.5px solid black;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    transition: opacity 0.5s ease;
    opacity: 0.5;
}

.gallery-img:hover {
    box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
    opacity: 1;
}

body.screenshot-page {
    background: rgb(89, 88, 87);
}

.ability-logo {
    border: 3px solid darkred;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    padding: 2.5px;
    text-align: center;
    width: 120px;
    height: 120px;
}

.cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cta-buttons .btn {
  background: darkred;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 8px;
  color: bisque;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-buttons .btn:hover {
  background: goldenrod;
  color: #222;
}

.cta-buttons .btn-beta {
  background: darkred;
  padding: 12px 24px;
  font-size: 36px;
  border: 5px solid orange;
  border-radius: 8px;
  color: bisque;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 5px;
}

.cta-buttons .btn-beta:hover {
  background: goldenrod;
  color: #222;
}

.beta-signup-section {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fffaf0;
  border: 2px solid darkred;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  font-family: "MedievalSharp", serif;
}

.beta-signup-section h2 {
  text-align: center;
  color: darkred;
  margin-bottom: 20px;
}

.beta-signup-section p {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

.beta-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #222;
  border-radius: 6px;
  margin-top: 5px;
  font-size: 16px;
}

.beta-form button {
  margin-top: 30px;
  background-color: darkred;
  color: white;
  font-size: 18px;
  border: none;
  padding: 10px 20px;
  margin: 30px auto;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.beta-form button:hover {
  background-color: goldenrod;
  color: black;
}



@media (min-width: 992px) {
    .menupoint,
    .dropdown-toggle {
        font-size: 27px;
    }
}

@media (min-width: 1300px) {
    .menupoint,
    .dropdown-toggle {
        font-size: 32px;
        margin-right: 30px;
    }
}

@media (min-width: 1500px) {
    .menupoint,
    .dropdown-toggle {
        font-size: 36px;
        margin-right: 32px;
    }
}

@media (max-width: 992px) {
    .menupoint,
    .dropdown-toggle {
        font-size: 22px;
    }
}

@media (min-width: 320px) and (max-width: 876px) {
    .hero-img {
        width: 60%;
        height: 60%;
    }    
}

@media (min-width: 768px) {
    .custom-nav {
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .banner {
        position: sticky;
        top: 0;
    }

    .menu {
        top: 116px;
    }

    .ability-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 520px) {
    .logo {
        font-size: 40px;
    }
    .ability-logo {
        width: 70px;
        height: 70px;
    }

    .cta-buttons .btn{
        padding: 5px 10px;
        font-size: 16px;
        gap: 7px;
    }
}

@media (max-width: 450px) {
    .logo {
        font-size: 30px;
        white-space: normal;
        max-width: 100%;
        width: auto;
    }
    .fa {
       font-size : 30px;
    }
}

@media (max-width: 320px) {
    .hero-img {
        width: 80%;
        height: 80%;
    }    
}

@media (max-width: 200px) {
  body {
    overflow-x: hidden;
  }
}
