html {
    scroll-behavior: smooth;
}

h4 {
    scroll-margin-top: 80px; /* Offset for fixed nav height */
}

body {
    font-family: Helvetica;
    /* background vertical color gradient white/transparent to dark blue to black */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(0, 0, 50, 0.8), rgba(0, 0, 0, 1));
    /* background-color: #eef109; */
    font-size: 20px;
    margin: 0; /* Remove default body margin */
}

p {
    line-height: 1.6;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.portrait {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 15%;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
    margin: 20px auto;
    display: block;
}

#seeBtn {
    background-color: rgba(15, 15, 81, 0.8);
    color: #ffffff;
    border: none;
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    width: 60%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}



#fullResults {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.75s ease, opacity 0.5s ease;
    opacity: 0;
}

.results {
    font-weight: bold;
}

.link {
    color: rgba(36, 36, 123, 0.8);
    text-decoration: none;
}

.link:hover {
    color: rgba(111, 111, 178, 0.8);
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
    width: 90%;
    /* margin: 10px; */
    border-radius: 8px;
    display: block;
    /* margin-left: auto; */
    transition: transform 0.2s;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    margin:auto;
}
.sponsor-logo:hover {
    transform: scale(1.1);
}

.pancho-logo {
    width: 66%;
    /* margin: 10px; */
    display: block;
    /* margin-left: auto; */
    transition: transform 0.2s;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    margin:auto;
}
.pancho-logo:hover {
    transform: scale(1.1);
}

.frames {
    text-align: center;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
}

.contact-form {
    width: 60%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    font-size: 1em;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.contact-form button {
    font-size: 1em;
    padding: 10px;
    border-radius: 4px;
    border: none;
    /* background-color as body background blue to black gradient*/
    color: #ffffff;
    background: rgba(15, 15, 81, 0.8);
    /* background-color: #eef109; */
    cursor: pointer;
}

.footer {
    width: 100vw;         /* Full viewport width */
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin: 0;            /* Remove margin */
    box-sizing: border-box;
}

.footer button {
    background: #222;         /* Match the footer background */
    color: #fff;           /* Match your site background color */
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 10px 18px;
    margin: 0 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.footer button:hover {
    background: rgba(15, 15, 81, 0.8);      /* Invert colors on hover */
    color: #222;
    border: 2px solid #222;
}

/* Top navigation styles */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;         /* Full viewport width */
    background: #222;
    color: #eef109;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 16px 0;
    z-index: 1000;
    margin: 0;            /* Remove any margin */
    box-sizing: border-box;
}

.topnav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: color 0.2s;
}

.topnav a:hover {
    color: rgba(15, 15, 81, 0.8);
}

.header {
    margin-top: 60px; /* add space for the fixed nav */
}

/* Footer logo styles */
.footer-logo {
    /* width: 40px; */
    height: 40px;
    margin: 0 10px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.footer-logo:hover {
    transform: scale(1.15);
}

/* Responsive adjustments for small screens */
@media (max-width: 600px) {
    body {
        font-size: 3.3vw; /* Slightly larger font on small screens */
    }
    .main {
        padding: 10px;
    }
    iframe {
        height: 300px;
    }
    .contact-form {
        width: 95%;
        max-width: 400px;
        padding: 0;
    }
    .contact-form input,
    .contact-form textarea,
    .contact-form button,
    #seeBtn {
        font-size: 1.1em;
    }

    #seeBtn {
        width: 95%;
        max-width: 400px;
    }
}

@media (max-width: 800px) {
    .topnav a {
        font-size: 2.5vw; /* Larger font size for small screens */
    }
}

