/* PAGE-HEADER */
#page-header {
    position: relative;
    background: var(--highlight);
    height: 400px;
    min-height: 400px;
}
body.homepage #page-header {
    height: calc(100vh - 100px);
}
body:has(video).homepage #page-header {
    height: auto;
    width: 100%;
    aspect-ratio: 64 / 27;
}
body:has(video).homepage #page-header video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#page-header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1000ms;
}
#page-header img.show {
    opacity: 0.8;
}
#page-header-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    z-index: 2;
}
#page-header-content h1 {
    color: #fff;
}
#page-header .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(16 83 171) 0%, #fff0 100%);
    z-index: 1;
}
#page-header .arrow-down {
    position: absolute;
    left: 50%;
    bottom: 0px;
    z-index: 5;
    width: 100px;
    height: 100px;
    background: var(--color);
    transform: translateX(-50%);
    overflow: hidden;
}
#page-header .arrow-down img {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    animation-name: example;
    animation-duration: 2s;
    animation-iteration-count: infinite;   
}
@keyframes example {
  0%   {margin-top: -80px;}
  50%  {margin-top: 0px;}
  100%  {margin-top: 80px;}
}

#page-header:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(/images/raster.png);
    z-index: 1;
}


@media screen and (max-width: 1100px) {

    #page-header {
        height: 300px;
        min-height: 300px;
    }
    body.homepage #page-header {
        height: calc(100vh - 70px);
    }
    #page-header-content h1 {
        font-size: 2em;
    }
    #page-header .arrow-down {
        width: 50px;
        height: 50px;
    }
    #page-header .arrow-down img {
        width: 30px;
        height: 30px;
    }
}