#email,
#etsy {
    font-size: var(--fontSizeStaticMedium)
}

#subscribe #content {
    position:relative;
    height: 100vh;
}

#background-container {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
}

/*Dowload Link------------*/

#download-page .overlay_label {
    text-align: left;
    bottom: unset;
    transition: all var(--transitionFastBezier);
    mix-blend-mode: normal;
    font-family: var(--titleFont);
    font-size: var(--fontSizeVariableXBig);
    font-weight: var(--fontWeightSemibold);
    line-height: var(--lineHeightTight);
    text-decoration: none;
    color: white;
    z-index: var(--main02);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: calc(var(--distanceBaseline)*3);
    padding-left: var(--distanceBaseline);
    padding-top: calc(var(--distanceBaseline)*10);
    box-sizing: border-box;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    hyphens: none;
}

#download-page .overlay_label .overlay_details {
    font-family: var(--textFont);
    font-size: var(--fontSizeStaticMedium);
    font-weight: var(--fontWeightRegular);
    margin-bottom: calc(var(--distanceBaseline)/1.5);
    text-indent:2px;
}

#download > a:hover .download-link.transparent {
    opacity:1;
}

/*Forms-------------------------*/

.hi_box {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(245, 245, 245, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 200px;
    color: black;
    mix-blend-mode: normal;
    padding: 40px 30px;
    text-align: center;
    justify-content: center;
    font-size: 14pt;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0px;
    line-height: 1.1;
    max-width: 550px;
    min-width: 450px;
}

.hi_box form {
    margin: 25px;
}

.hi_box>p {
    padding-left: calc(var(--distanceBaseline)*4);
    padding-right: calc(var(--distanceBaseline)*4);
}

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

    .hi_box {
        font-size: 10.5pt;
        line-height: 1.2;
        min-width: 270px;
        border-radius: 100px;
        padding: 30px 30px;
    }

    .hi_box form {
        margin: 15px;
    }

    .hi_box>p {
        padding-left: var(--distanceBaseline);
        padding-right: var(--distanceBaseline);
    }
}

@media only screen and (max-width:350px) {}

.subscribe_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: none;
    border-radius: 50px;
    color: black;
    mix-blend-mode: normal;
    padding: 30px 15px;
    text-align: center;
    justify-content: center;
    font-size: 14pt;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0px;
    line-height: 1.1;
    max-width: 450px;
    min-width: 300px;
}

#support {
    font-size: 10.5pt;
}

@media only screen and (max-width:600px) {
    #support {
        font-size: 9pt;
    }
}

#error-message {
    color: red;
    font-size: 10.5pt;
    margin-bottom: 5px;
}

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

    #error-message {
        font-size: 9pt;
        margin-bottom: 0px;
    }
}

.subscribe_box form {
    margin: 15px;
}

input[type="password"] {
    box-sizing: border-box;
    border-radius: 40px;
    border-color: black;
    border: thin solid;
    outline: 1px black;
    background-color: rgba(245, 245, 245, 0.4);
    backdrop-filter: blur(10px);
    padding: 10px;
    font-size: 14pt;
    text-align: center;
}

input[type="submit"] {
    box-sizing: border-box;
    border-radius: 40px;
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14pt;
    padding-top: 8px;
}

@media only screen and (max-width:600px) {
    input[type="password"] {
        padding: 10px;
        font-size: 10.5pt;
        padding: 5px 10px;
        max-width: 150px;
    }

    input[type="submit"] {
        padding: 5px 15px;
        font-size: 10.5pt;
    }
}

.custom_substack_embed {
    margin: 10px;
}

.subscribe_box>p {
    font-size: 8pt;
    margin-top: 4px;
}


/*Foto----------*/
#subscribe #portrait {
    width: 100%;
    /* Adjust based on the parent container */
    height: 100%;
    /* Adjust based on the parent container */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#subscribe #portrait img {
    width: 50%;
    /* Make the image take up the full width of the container */
    height: 50%;
    /* Ensure the image height is 100% of the container */
    object-fit: cover;
    /* Cover will crop the image to fill the container */
    border-radius: 100%;
    margin: 25px;
}