/* Global body styles */
body {
    margin: 0;
    position: absolute;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;

    font-family: "Manrope", -apple-system, Segoe UI, Helvetica Neue, sans-serif;
    background-color: #191919;
    color: white;
}

* {
    box-sizing: border-box;
}

/* Screenreader only util */
.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
}

/* Style scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Position Zencastr logo at top center of screen */
img#logo {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* <main /> is a centered flex column, with only a top margin */
main {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 592px;
    margin: 168px auto 0;
    padding-bottom: 168px;
}

/* Center <main /> vertically */
main.center {
    margin: 0 auto;
    padding: 0;
    height: 100%;
    justify-content: center;
}

/* Zencastr design system styling */
h2 {
    font-size: 40px;
    line-height: 96px;
    margin: 0;
    margin-bottom: 4px;
    text-transform: capitalize;
}

p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 200;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-bottom: 52px;
}

a {
    text-decoration: none;
    font-weight: 600;
    color: #1584FF;
}

a:hover {
    text-decoration: underline;
}

a.button, button {
    /* Remove default styling from anchors and buttons */
    display: block;
    text-decoration: none;
    color: white;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;

    width: fit-content;
    transition: 0.15s ease;
    font-size: 24px;
    text-align: center;
    padding: 0.5rem 1rem;
    min-width: 120px;

    background-color: #006AFF;
    border: 1px solid transparent;
    border-radius: 12px;
}

a.button:hover, button:hover {
    background-color: #2997FF;
    border-color: #2997FF;
}

a.button:active, button:active {
    background-color: #0056F0;
    border-color: #0056F0;
}

a.button.cta, button.cta {
    font-size: 27px;
    line-height: 76px;
    font-weight: 600;

    padding: 0;
    min-width: 250px;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-control {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

form .error {
    width: 100%;
    flex-basis: 100%;
    margin-top: 8px;
    color: red;
    font-weight: 200;
    font-size: 20px;
}

input {
    border: 1px solid transparent;
    transition: 0.15s ease;
    width: 100%;
    padding: 0.6rem 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
    font-size: 24px;
}

input:focus {
    outline: none;
    border-color: #3EA8FF;
    box-shadow: inset 0 0 0 1px #3EA8FF;
}

ul {
    margin: 0;
    background-color: #333333;
    border-radius: 24px;
    padding: 48px 64px;
}

li {
    font-size: 24px;
    line-height: 48px;
    font-weight: 500;

    /* Margin to account for the bullet point */
    margin-left: 34px;
}

/*****************************************************************************/

/* home.ejs */
img#podcast-ads-simplified {
    margin-bottom: 48px;
}

div.spacer {
    margin-bottom: 100px;
}
