html { 
    font-size: 22px; 
}

body { 
    padding: 1rem;
    background: 1d0417ff;
    background-repeat:no-repeat;
    background-position: center top;
}

@font-face {
    font-family: 'YoungSerif-Regular';
    src: url('YoungSerif-Regular.woff2') format('woff2'),

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost-Book';
    src: url('Jost-400-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

img {
    max-width: 100%;
}


  hr {
    border: none;
    border-top: 2px blue;
    margin: 5px 5px; /* General margin for hr */
  }

headline {
    font-family: 'Jost-Book', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -1px;
    text-align: center;
    color: #93defb;
}

headline2 {
    font-family: 'Jost-Book', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -1px;
    text-align: center;
    color: #e997c8;
}

headline3 {
    font-family: 'Jost-Book', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: 65px;
    line-height: 1.2em;
    letter-spacing: -1px;
    text-align: center;
    color: #e997c8;
}

big-quote {
    font-family: 'YoungSerif-Regular', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: clamp(40px, 8vw, 90px); /* Min 12px, preferred 2vw, max 18px */
    line-height: 1.1em;
    letter-spacing: -1px;
    text-align: left;
    color: white;
}

summary {
    font-family: 'YoungSerif-Regular', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: 16px;
    line-height: 1.5em;
    Word-wrap:break-word;
    text-align: justify;
    color: white;
    text-justify: inter-word;
}

a{
    text-decoration:none;
    color: white;
}

a {
    color: black; /* link color */
    text-decoration: none; /* Remove underline */
    }

    /* Hover effect */
    a:hover {
      color: white; /* Text turns white */
      text-decoration: none; /* No underline on hover */
    }
a:visited {
    color: white;
}

/* --------------Generate the Text Grid-------------- */
.card {
    background-color: 1d0417ff;
    color: white;
    padding-left: 0.4rem;
    padding-right: 0.4rem
    padding-top: 1px;
    padding-bottom: 0px;
    height: auto;
}

.cards {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
/* --------------Text Grid Completed-------------- */

nufooter {
    font-family: 'Jost-Book', Arial, sans-serif;
    background-color: black;
    font-weight:normal;
    font-style:normal;
    font-size: 15px;
    line-height: 1.1em;
    }
    .child {
        height: 200px;
        margin: 20px;
        padding:20px;
        background-color: #442176;

    }

* {
        box-sizing: border-box;
}


/* --------------Generate the Footer Grid-------------- */
/* Generate two columns */
.column {
    float: left;
    width: 50%;
    padding: 10px;
}
/* Clear floats  */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/* Responsive  */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
/* --------------Footer Completed-------------- */

banner {
    min-height: 400px;
}

}

tiny {
    font-family: 'YoungSerif-Regular', Arial, sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size: 14px;
    line-height: 1.2em;   
}


/* --------------Top Nav Bar-------------- */
nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: 'Jost-Book';
    font-weight: bold;
    padding: 0 5%;
    height: 70px;
    background-color: black;
    width: 100%;
    display: flex; /* Added to make nav a flex container */
    justify-content: center; /* Center the content (links) */
    align-items: center; /* Vertically center content */
}

nav .logo {
    float: left;
    width: 0%;
    height: 120%;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
}

nav .links {
    /* Removed float: center */
    padding: 0; /* Adjusted padding */
    margin: 0;
    width: 100%; /* Full width to allow centering */
    height: 100%;
    display: flex;
    justify-content: center; /* Center links horizontally */
    align-items: center; /* Center links vertically */
}

nav .links li {
    list-style: none;
}

nav .links a {
    display: block;
    hover: white;
    padding: 1em;
    font-size: 21px;
    font-weight: bold;
    color: #707070;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: white;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

/* Mobile adjustments */
@media screen and (max-width: 1000px) {
    nav .links {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0,0,0,.8);
        overflow: hidden;
        box-sizing: border-box;
        transition: all .5s ease-in-out;
    }

    nav .links a {
        font-size: 20px;
    }

    nav :checked ~ .links {
        bottom: 0;
    }

    nav .icon-burger {
        display: block;
    }

    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }

    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }

    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }
}
