.hero {
    height: 50vh;
}

.hero h1 {
    margin-bottom: 0;
}

 .prize {
    display: flex;
    flex-direction: row;
    gap: var(--margin-4);
    justify-content: center;
    margin-top: var(--margin-8);
    flex-wrap: wrap;
    /* background-color: rgba(0, 255, 255, 0.446); */
} 

.prizeimg {
    height: 120px;
    width: auto;
}


#topinfo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--margin-12);
    line-height: var(--margin-6); 
    margin-bottom: var(--margin-20);
}

@media (max-width: 1150px) {
    #topinfo {
        grid-template-columns: 1fr 2fr;
        gap: var(--margin-16);
    }
}

@media screen and (max-width:875px) {
    #topinfo {
        grid-template-columns: 1fr;
    }
}

#topinfo div {
    margin-bottom: var(--margin-4);
}

#topinfo div h2{
    font-family: "Monument", Arial, Helvetica, sans-serif;
    font-size: var(--margin-6);
    text-transform: uppercase;
    margin-bottom: var(--margin-4);
}

a svg {
    fill: white;
}

#credits {
    font-family: "Monument", Arial, Helvetica, sans-serif;
    font-size: var(--margin-6);
    text-transform: uppercase;
    margin-bottom: var(--margin-4);
}

.headerpic {
    width: 100%;
    overflow: hidden;
    margin: 0 0 var(--padding) 0;
    padding: 0 0 0 var(--padding);
}

.headerpic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.headerpic a iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.headerpic a {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.headerpic video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
}

.project-info {
    line-height: var(--margin-6);
    padding-bottom: calc(var(--padding)*2);
}

.project-info h1 {
    line-height: 1em;
}

.project-info h1 a {
    line-height: 1em;
}

.project-info p {
    margin-bottom: var(--margin-4);
}

.project-text {
    margin-bottom: 4em;
}

.project-info dt {
    font-weight: bold;
}

.plyr--full-ui input[type=range] {
    color: #03f;
}

.plyr__control--overlaid {
    background: #03f;
}

.plyr--video .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] {
    background: #03f;
}

.vid {
    aspect-ratio: 16/9;
    min-width: 100%;
    min-height: 100%;
}

iframe {
    aspect-ratio: 16/9;
    width: 100%;
    margin-top: -65px;
}

.headerpic iframe {
    aspect-ratio: 16/9;
    width: 100%;
    margin-top: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.ytp-impression-link {
    display: none !important;
}

.ytp-show-cards-title {
    display: none;
}

.play {
    position: relative;
    display: inline-block;
    min-width: 100%;
    min-height: 100%;
    aspect-ratio: 16/9;
}

.vid {
    object-fit: cover;
}

.grid-item {
    overflow: hidden;
}

.play:after {
    content: url("/assets/img/play.svg");
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    opacity: .5;
    transition: opacity .2s;
}

a.play:hover:after {
    opacity: 1;
    color: #03f;
    transition: opacity .3s;
}


/* .project-gallery ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5em;
} */


/* .project-gallery li:first-child{
    grid-column-start: 1;
    grid-column-end: -1;
} */

.project-gallery img {
    width: 100%;
}

.grid-item {
    width: calc(50% - ((20px*1)/2));
    padding: 0 0 var(--padding) var(--padding);
}

.allprjcts {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 5rem;
    /* opacity: .5; */
}

h1 svg {
    height: 2.5rem;
}

h1 svg:hover {
    fill: #03f;
}

@media screen and (max-width:1150px) {
    .grid-item {
        width: 100%;
        padding: 0 0 var(--padding) var(--padding);
    }
    .project-layout {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 1rem;
    }
    main h1 {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 4rem;
        max-width: 50vw;
    }
    h1 svg {
        height: 2rem;
    }
}

@media screen and (max-width:875px) {
    .headerpic {
        padding: 0 0 0 0;
    }
    .project-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .grid-item {
        width: 100%;
        padding: 0 0 var(--padding) 0;
    }
    .project-info {
        padding-bottom: 3rem;
    }
    main h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 3rem;
        max-width: inherit;
    }
    h1 svg {
        height: 1.5rem;
    }
}


/* LIGHTBOX */

.hb-counter {
    display: none;
}

.hb-left-icon-container {
    left: 1rem;
    top: 50vh !important;
}

.hb-right-icon-container {
    right: 1rem !important;
    top: 50vh !important;
}

.hb-close-icon-container {
    right: 1rem !important;
    top: 1rem !important;
}

html {
    overflow-y: scroll;
}