:root {
  --text: #848484;
  --title: #172554;
  --primary: #0275D8;
  --primary-dark: #0061B5;
  --lightGray: #F6F7F9;
  --gray: #e3e3e3;
}

body {
  font-family: 'Open Sans', sans-serif;
}

dialog::backdrop {
  background-color: rgba(2, 117, 216, 0.3);
  backdrop-filter: blur(3px);
  
}

dialog {
  border: none;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(2, 117, 216, 0.5);
  outline: none;
  overflow: hidden;
  width: 100%;
}

dialog.is-iframe {
  aspect-ratio: 16 / 9;
} 

dialog.is-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

dialog:hover {
  cursor: zoom-out;
}


/* Navbar */
.navbar {
  top: var(--banner-top-height);
}

/* Buttons */
.btn,
button {
    font: inherit;
    padding: 8px 12px;
    background-color: var(--lightGray);
    color: var(--text);
    display: inline-block;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all .3s ease;
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn.btn-primary:hover,
.btn.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn.btn-outlined {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-outlined:hover,
.btn.btn-outlined:active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn.btn-lg {
    padding: 12px 18px;
}


/* Play Button */
.play-btn {
    animation: 3s playShadow ease-out infinite;
}

.play-btn:after,
.play-btn:before {
    content: '';
    background: var(--primary);
    z-index: -1
}

.play-btn::before {
    animation-delay: 0.1s;
}

@keyframes playShadow {
    0% {
        box-shadow: 0 0 0 0px rgba(2, 117, 216, 0.3), 0 0 0 0px rgba(2, 117, 216, 0.2);
        transform: scale(1);
    }

    18% {
        box-shadow: 0 0 0 0px rgba(2, 117, 216, 0.3), 0 0 0 0px rgba(2, 117, 216, 0.2);
    }

    35% {
        transform: scale(1.08);
    }

    76% {
        transform: scale(0.96);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(2, 117, 216, 0), 0 0 0 27px rgba(2, 117, 216, 0);
        transform: scale(1);
    }
}


/* Browser */
.browser {
    border-radius: 16px;
    border: 1px solid var(--lightGray);
    filter: drop-shadow(rgba(0, 0, 0, 0.05) 0px 2px 8px);
    position: relative;
}

.browser-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.browser-frame {
    position: relative;
    display: flex;
    gap: 8px;
    padding-inline-start: 16px;
    padding-inline-end: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #fff;
    border-bottom: 1px solid var(--lightGray);
    z-index: 1;
}

.browser-content {
    position: relative;
    background-color: #fff;
    z-index: 2;
}

.link {
  color: currentColor;
  opacity: .6;
  transition: opacity .3s ease;
}

.link:hover {
  opacity: 1;
  text-decoration: underline;
}

.video-container:hover {
  cursor: zoom-in;
}