body {
    background-color: #174173;
    font-family: 'urw-din', sans-serif;
    margin: auto;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    text-transform: uppercase;
    font-family: "zuume", sans-serif;
}

h1 {
    font-size: 2.8rem;
    color: #fff;
}

h2 {
    font-size: 3rem;
    color: #fff;
    background-color: #174173;
    width: fit-content;
    border-radius: 10px;
    padding: 10px;
}

h3 {
    font-size: 2.5rem;
    color: #174173;
}

li {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

hr {
    border: none;
    border-top: 2px solid #CD163F;
    margin: 30px 0px;
}

.main {
    background-image: url('./img/Permitting-Reform-bknd-DS\ copy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 2400px;
    margin: auto;
    padding-bottom: 300px;
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    align-items: center;
    background-color: #CD163F;
    padding: 10px 0px;
}
.logo-container > img {
    width: 280px;
    height: auto;
}
.btn-blue {
    font-family: "zuume", sans-serif;
    background-color: #174173;
    padding: 5px 35px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2rem;
    color: #fff;
}

.top-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    padding-top:100px;

}
.top-section>div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 50%;
}
.second-section.desktop {
    position:relative;
    top:-200px;
}
.second-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0px auto;
}

.title {
    line-height: 9rem;
}

.text {
    color: #fff;
    font-size: 11rem;
    font-weight: 900;
    font-family: "zuume", sans-serif;
    text-transform: uppercase;
}

.red-banner {
    background-color: #CD163F;
    width: fit-content;
    border-radius: 10px;
    padding: 0px 5px;
    margin: 0;
}

.img-container {
    position: relative;
    overflow: visible;
}
.img-container img{
    max-width: 100%;
}
.img-container .masked-image {
    width: 100%;
    height: auto;
    mask: url(https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Checkerboard_pattern.svg/2048px-Checkerboard_pattern.svg.png) center 100% no-repeat;
}
.img-container .masked-video{
    /* mask: url(#mask2); */
}
.second-section > .content{
    width: 45%;
    padding-right: 5%;
}
.content h2 {
    margin-top:0px;
}
.form {
    position: relative;
    width: 40%;
    /* fallback if clip-path unsupported */
    overflow: visible;
    padding: 150px 5%;
    backdrop-filter: blur(5px);
    background-color: RGBA(255,255,255,0.5);
    mask: url(#mask3);
}
.mike {
    position: relative;
    top:-150px;
    /* fallback if clip-path unsupported */
    overflow: visible;
    mask: url(#mike-mask);
}
.form > div{
    width: 100%;
}
#form-shape{
    position: absolute;
    top: 0;left: 0;
    z-index: -1;
    overflow: visible;
    opacity: 0.5;
}
.form a {
    color: #174173;
    font-weight: bold;
}
.form p {
    margin-bottom: 25px;
    line-height: 1.5;
}
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;          
  align-items: center;
  justify-content: center;
  z-index: 9999;          
}

.video-modal-overlay.is-open {
  display: flex;
}

.video-modal {
  position: relative;
  width: min(90vw, 960px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  appearance: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.video-modal__player,
.video-modal iframe {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.disclaimer {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

input,
textarea,
select {
    border-radius: 10px !important;
    font-size: 1rem;
}
.speak4-form__btn {
    font-family: "zuume", sans-serif;
    background-color: #CD163F !important;
    text-transform: uppercase;
    border-radius: 30px !important;
    font-size: 1.8rem !important;
    font-weight: 700;
    padding: 5px 30px !important;
    width: 130px !important;
}
.speak4-form__label,
.speak4-embed__bread.speak4-embed__bread--top,
.speak4-embed__bread.speak4-embed__bread--bottom {
    font-size: 0.9rem !important;
}

.speak4-form__item.speak4-form__item--button.speak4-form__item--submit {
    display: block !important;
    margin: 40px 0px;
}

footer {
    background-color: #0A1C36;
    padding: 0px 20px;
}
.wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: center;
    justify-items: center;
    align-items: center;
}
.wrap p, .wrap a {
    font-size:13px;
    color: #fff;
    text-decoration: none;
}
.wrap a:hover {
    text-decoration: underline;
}
#CookiebotWidget :focus-visible, #CookiebotWidget:not(.CookiebotWidget-open) .Cookiebotwidget-logo {
    outline:none!important;
}

/* Mobile */
.mobile {
    display:none;
}

.mobile-video {
    width: 90vw;
    height: 400px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    align-items: center;
    margin: 50px auto;
    background-image:url('./img/mike-thumbnail.jpg');
    background-position:center;
    background-size:cover;
    background-repeat: no-repeat;
}
.mobile .title {
    line-height: 8rem;
    margin: 50px auto;
    justify-items: center;
}

.mobile .text {
    font-size: 9rem;
}

.mobile-form {
    padding: 50px;
    backdrop-filter: blur(5px);
    border-radius: 50px;
    margin: 0px 60px;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
}

.mobile-content {
    margin: 50px 85px 0px 85px;
    padding-bottom: 300px;
}
.download-button {
    color:#fff;
    background-color:#CD163F;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    padding:20px 30px;
    font-size: 1.8rem;
    font-weight: bold;
}
.download {
    text-align: center;
    margin:auto;
    top: -100px;
    position: relative;
}

@media only screen and (max-width: 500px)  {
    h2, h3 { font-size:2.2rem; }
    .logo-container { height:60px; }
    .main-nav { display:block; padding-bottom:30px; }
    .mobile-video { margin:30px auto; }
    .mobile-content, .mobile-form { margin: 0px 20px; }
    .mobile-content li { font-size: 1.2rem; }
    .text { font-size:8rem!important; } .title { line-height:7.5rem!important; }
    footer { display:block; padding:20px; }
    .download-button { font-size: 1rem!important; }
}

@media only screen and (max-width:600px) {
    .mobile-content { padding-bottom: 200px; }
}

@media only screen and (max-width: 700px) {
    .title { text-align: center; }
    footer p {
        font-size: 0.5rem;
    }
}

@media only screen and (max-width: 992px) {
    .logo-container img {
        width: 180px;
    }
    h1 {
        font-size: 2rem;
    }
    .btn-blue {
        font-size: 1.5rem;
    }
    .wrap { 
        display:block!important;
    }
    footer p {
        font-size: 0.7rem;
    }
    .download-button {
        font-size:1.5rem;
    }
}
@media only screen and (max-width: 1200px) {
    .mobile { display:block; background-position: left; }
    .desktop { display:none; }
}