@media screen and (min-width: 768px) {
    .jumbotron h1,
    .jumbotron .h1 {
        font-size: 54px;
        padding-top: 0;
    }
}

.jumbotron .center-block {
    width: 100%;
}

/* jumbotron */
.jumbotron,
.header {
    background: var(--pg-blue);
    /* linear-gradient(130deg, var(--color-deep-cerulean), var(--color-seagull)); */
    background-image: url("../img/blue.bck.jpg");
    color: var(--color-white);
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 100px;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 749px) {
    .jumbotron,
    .header {
        padding-top: 0;
    }
}

.jumbotron .jumbotron-subheadline {
    /* font-size: 32px; */
}

.jumbotron .lead {
    font-size: 22px;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .jumbotron {
        padding-top: 0;
        /* padding-bottom: 48px; */
        margin-bottom: 0px;
    }
    .jumbotron-header {
        padding-bottom: 0px;
    }
}

.jumbotron-headline {
    font-weight: 400;
    /* font-size: 275px; */
    margin-top: 0;
    margin-bottom: 20px;
}

.jumbotron .jumbotron-subheadline {
    font-size: 22px;
}

@media screen and (min-width: 768px) {
    .jumbotron-headline {
        /* font-weight: 300; */
        /* font-size: 275px; */
        /* margin-top: 0; */
        margin-bottom: 44px;
    }
    .jumbotron .jumbotron-subheadline {
        font-size: 24px;
        /* padding-right: 50px */
    }
}

.alert-info.alert-jumbotron {
    font-size: 20px;
    padding-left: 0;
    font-weight: 700;
    color: var(--color-white);
    background-color: transparent;
    border-color: transparent;
}

.alert-info-obs {
    font-size: 18px;
    color: var(--color-porcelain-child);
    line-height: 36px;
}

.alert-info-description {
    font-size: 18px;
    line-height: 24px;
    color: var(--color-porcelain-child);
}

.intro-video {
    position: relative;
}

.intro-video .btn {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    color: #d5d5d5;
    background-color: rgba(0, 0, 0, 0.81);
    margin-left: -50px;
    margin-top: -50px;
    top: 50%;
    left: 50%;
    font-size: 50px;
    line-height: 1;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7);
    padding: 0;
    border: none;
}

.intro-video {
    /* position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden; */
}

.intro-video iframe {
    position: absolute;
    top: 0;
    /* left: -0.1% */
    width: 100.15% !important;
    /* height: 117.4% */
}

.intro-video button.close-video {
    position: absolute;
    right: 20px;
    top: -48px;
    background: rgba(0, 0, 0, 0.53);
    border: none;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 4px 4px 0 0;
}

@media (min-width: 1200px) {
    .videoModal .modal-dialog {
        width: 80vw;
    }
}

@media (min-width: 1900px) {
    .videoModal .modal-dialog {
        width: 1500px;
    }
}

.jumbotron-header hr {
    width: 50px;
    border: none;
    height: 1px;
    margin-left: 0;
    margin-bottom: 6px;
    background-color: rgba(250, 250, 250, 0.72);
}

.jumbotron p {
    font-size: 18px;
}

.new-box {
    color: rgba(255, 255, 255, 0.8);
}

.hero-image-row {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .hero-image-row {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media (min-width: 1430px) {
    .hero-image-row {
        margin-left: -80px;
        margin-right: -80px;
    }
}

@media (min-width: 1600px) {
    .hero-image-row {
        margin-left: -10vw;
        margin-right: -10vw;
    }
}

.hero-video-overlay {
    position: absolute;
    background-color: rgba(255, 144, 0, 0.65);
    top: 8.2%;
    left: 3.4%;
    right: 3.3%;
    bottom: 0;
}

.hero-video-overlay iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    /* transform: scale(1.05) */
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.22);
    border-radius: 3px;
    position: absolute;
    top: 0;
}

.hero-placer-top {
    width: 100%;
}

.hero-placer-top:after {
    content: "";
    display: block;
    padding-bottom: 48%;
}

.hero-placer-narrow {
    width: 100%;
}

.hero-placer-narrow:after {
    content: "";
    display: block;
    padding-bottom: 38%;
}

.hero-placer-down {
    width: 100%;
}

.hero-placer-down:after {
    content: "";
    display: block;
    padding-bottom: 4%;
}

.news-item {
    margin-top: 20px;
    font-size: 18px;
}

.news-item small {
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 1.1px;
}

h2.with-link {
    position: relative;
}

h2.with-link a {
    font-size: 18px;
    margin-left: 20px;
}

.notebar {
    background-color: var(--pg-orange);
    color: white;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1;
    margin-top: 0;
    font-weight: 400;
}

.notebar p {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--pg-white);
    font-size: 20px;
}

.notebar a {
    color: var(--pg-white);
}

.intro-text {
    padding-left: 15px;
    align-self: center;
}

.intro-text p {
    font-size: 24px;
}

.below-video {
    padding-top: 40px;
}

@media (min-width: 992px) {
    .below-video {
        padding-top: 60px;
    }
}

@media (min-width: 1200px) {
    .below-video {
        padding-top: 100px;
    }
}

.jumbotron.light-header {
    background: #ffffff;
    color: #212121;
}

.light-header .navbar {
    background-image: url("../img/blue.bck.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.jumbotron.light-header h1 {
    color: #303030;
    letter-spacing: -2px;
}

.tw-bck {
    /* background-image: linear-gradient(121deg, rgb(50, 121, 138) 0%, rgb(95, 198, 183) 100%) */
}

.tw-navbar {
    grid-area: nav;
    /* background-image: url('../img/blue.bck.jpg') */
    background-repeat: no-repeat;
    background-size: cover;
}

.general-editor-info a {
    color: #ffffff;
    text-decoration: underline;
}

.intro-video > div.embed-responsive {
    position: absolute;
    width: 100%;
    top: 0;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    overflow: hidden;
}

/* For videos of a window with rounded bottom corners (20px at 2880x1620): round the frame
   to match so the black corners don't show. translateZ lets Safari clip the iframe too. */
.intro-video > div.embed-responsive.window-corners {
    border-radius: 3px 3px 0.75% 0.75% / 3px 3px 1.33% 1.33%;
    transform: translateZ(0);
}

/* Thumbnail with a play button; pamet4.js swaps in the YouTube player on click */
.yt-facade {
    display: block;
    padding: 0;
    background-color: #000;
    cursor: pointer;
}

.yt-facade img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    margin: -24px 0 0 -34px;
    transition: transform 0.2s ease;
}

.yt-facade:hover .yt-facade-play,
.yt-facade:focus-visible .yt-facade-play {
    transform: scale(1.1);
}

.html-planet {
    width: 210px;
    height: 100px;
    position: absolute;
    right: -140px;
    top: 400px;
    background-image: url("../../images/htmlplanet/html-planet-for-kids.png");
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 10px 50%;
    padding-left: 70px;
    background-color: #212429;
    padding-top: 10px;
    padding-right: 10px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.35s;
}

.html-planet:hover,
.html-planet:focus {
    right: 0;
}

@media (max-width: 899px) {
    .html-planet {
        display: none;
    }
}

.wp-plugin-banner {
    font-size: 18px;
    /* padding: 10px */
    /* background-color: rgba(255, 255, 255, 0.17) */
    border-radius: 4px;
    margin-top: 20px;
}

.below-hero-video {
    text-align: left;
    margin-top: -40px;
}

@media (min-width: 992px) {
    .below-hero-video {
        margin-top: -10px;
    }
}

@media (min-width: 1200px) {
    .below-hero-video {
        margin-top: 1.5vw;
    }
}
