body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* The image used */
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), url(images/background2.png); background-size: 100%;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.2);
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    text-decoration: none;
}

header {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left, center, right */
    align-items: center;
    width: 100%;
    padding-top: 40px;
    color: white;
    text-shadow: 0 0 10px #000000;
}


.sponsor {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 20px;
    max-width: 100%;
    flex-wrap: wrap; /* helps stack images on small screens */
}

.sponsor-item {
    display: flex;
    gap: 10px;
    max-width: 100%;
    flex-wrap: wrap;
}

.sponsor img {
    height: auto;
    width: 100%; /* each image takes 100% of its container */
    max-width: 100px; /* cap size to prevent getting too big */
    border-radius: 30px;
}


.main {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sponsor h3 {
    color: white;
    text-align: right;
    padding-right: 5%;
}


nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 195, 255, 0.3);
    border-top: 2px solid rgb(0, 153, 255);
    border-bottom: 2px solid rgb(0, 153, 255);
    max-height: 200px;
}

nav a {
    padding: 14px 20px;
    display: block;
    color: rgb(206, 206, 206);
    text-align: center;
    text-decoration: none;
    font-size: large;
    border-radius: 20px;
}

nav a:hover {
    transition: 0.5s all;
    background-color: rgba(97, 97, 97, 0.5);
    color: rgb(0, 0, 0);
}

.parallax image {
    filter: brightness(0.5);
}

.content {
    padding: 20px;
    padding-bottom: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content hr{
    width: 40%;
    margin-top: -10px;
    margin-bottom: 50px;
}

.content h1 {
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 0 0 10px #00ebf3;
}

.grid-container {
    padding-top: 3%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(200px, 50%));
    gap: 10px;
    margin-bottom: 100px;
}

.grid-item {
    background-color: #0000008a;
    padding: 20px;
    text-align: center;
    border: 5px solid rgb(51, 51, 51); 
    border-radius: 20px;
}

.grid-item h2 {
    color: white;
    margin-top: 0px;
    font-size: 150%;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border: 5px solid rgba(0, 0, 0, 0.212); 
    border-radius: 20px;
    margin-left: -5px;
}

.grid-player {
    background-color: #0000008a;
    padding: 20px;
    text-align: center;
    border: 5px solid rgb(51, 51, 51); 
    border-radius: 20px;
}

.grid-player h2 {
    color: white;
    margin-top: 0px;
    font-size: 150%;
}

.grid-player img {
    max-width: 50%;
    height: auto;
    border: 5px solid rgba(0, 0, 0, 0.212); 
    border-radius: 20px;
    margin-left: -5px;
}
.iframe {
    max-width: 100%;
    height: 55vh;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1259px;
}

.project-item {
    background-color: #0000008a;
    padding: 20px;
    border: 5px solid rgb(51, 51, 51);
    border-radius: 30px;
    color: white;
    text-align: center;
}

.project-item a:hover{
    transition: 0.5s all;
    background-color: rgb(119, 119, 119);
}

.project-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.project-item h2 {
    margin-top: 0;
    text-decoration: none;
    color: white;
}

.project-item p {
    margin-top: -8px;
    text-decoration: none;
    color: white;
}

.disabled-project-item {
    background-color: #0000008a;
    padding: 20px;
    border: 5px solid rgb(51, 51, 51);
    border-radius: 30px;
    color: white;
    text-align: center;
    
}

.disabled-project-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.disabled-project-item h2 {
    margin-top: 120px;
}

.main img {
    margin-bottom:50px;
}

.news-item {
    padding: 20px;
    margin-top: -100px;
    text-align: center;
    width: 100%;
    
    display: column;
    align-items: center;
    justify-content: center;
}
.news-item h2{
    margin-left: -40px;
}
.news-item img{
    border-radius: 100px;
    padding-top: 20px;
    max-width: 100%;
    margin-left: -30px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.controls {
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
}

.controls select,
.controls input {
    margin-top: 5px;
    width: 100%;
}

button {
    margin-bottom: 15px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #cea035d8;
    color: white;
}
.leaderboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    width: 100%;
    padding-bottom: 2%;
    padding-left: 1%;
    padding-right: 1%;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
}
.leaderboard li {
    margin: 5px 0;
    font-size: 30px;
    font-weight: bold;
}

.address:hover span {
  display: none
}

.address:hover:after {
  content: " - 403 N Wasatch Dr, Layton"
}


@media (max-width: 600px) {
    nav a {
        padding: 5px;
        padding-top:10px;
        padding-bottom: 10px;
        /* border-top: 1px solid #444;
        border-bottom: 1px solid #444; */
    }
    .grid-item h2 {
        margin-top: 0px;
        font-size: 100%;
    }
    .content h2 {
        font-size:15px;
    }
    .main h1 {
        font-size: 150%;
    }
    .iframe {
    max-width: 120%;
    height: 25vh;
}
}