.mobile-header {
    color: #ff4646;
    font-size: 28px;
    margin-top: -3px;
    margin-left: 10px;
}

form {
    display: flex;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);

    display: inline-flex;
    padding: 6px;
    align-items: flex-start;
    position: relative;
    margin-top: 45px;
    width: 50%;
}

form img {
    position: absolute;
    left: 20px;
    top: 14px;
}

form input#email {
    display: flex;
    height: 40px;
    flex:1;
    padding: 8px 16px 8px 50px;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.10);
    color: white;
    color-scheme: dark;

    &:focus {
        outline: solid 1px white;
        background: rgba(255, 255, 255, 0.10);
    }

    &:selection {
        outline: solid 1px white;
        background: rgba(255, 255, 255, 0.10);
    }
}

form input#email:autofill,
form input#email:autofill:hover,
form input#email:autofill:focus,
form input#email:autofill:active {
    box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.10) inset !important;
}

form input#join {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 4px;

    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;

    color: #000;
    font-family: Avenir;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.15px;   margin-left: 20px;
    border-radius: 999px;
    background: #FFF;
    padding: 0 15px;
}

.phone {
    position: relative;
    margin-top: 60px;
    margin-bottom: 45px;
    width: 367px;
    height: 774px;
    background: white;
    border-radius: 15px;
    background: linear-gradient(to bottom, #d4cbe7, white );
    box-shadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
}

.video {
    width: 350px;
    height: auto;
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 7px;
    border-radius: 10px;
}

.big-mobile-button {
    position: absolute;
    width: 5px;
    height: 90px;
    top: 115px;
    left: -5px;
    background: white;
    background: linear-gradient(to bottom, #d4cbe7, white );
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: inset -10px 0px 10px -10px rgba(0, 0, 0, 0.5);
}

.small-mobile-button {
    position: absolute;
    width: 5px;
    height: 35px;
    top: 250px;
    left: -5px;
    background: white;
    background: linear-gradient(to bottom, #d4cbe7, white );
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: inset -10px 0px 10px -10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 820px) { 
    form {
        margin-top: 45px;
        width: 60%;
    }
}

@media (max-width: 768px) {
    form {
        margin-top: 45px;
        width: 80%;
    }
}

@media (max-width: 420px) {
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 25px;
        margin-top: 45px;
        width: 80%;
        min-width: 207px;
        gap: 8px;
    }

    form input#email {
        width: 100%;
        height: 40px;
        flex: none;
    }

    form input#join {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .phone {
        width: 315px;
        height: 664px;
    }

    .video {
        width: 300px;
        height: auto;
    }

    .big-mobile-button {
        position: absolute;
        width: 4px;
        height: 80px;
        top: 100px;
        left: -4px;
    }

    .small-mobile-button {
        position: absolute;
        width: 4px;
        height: 30px;
        top: 210px;
        left: -4px;
    }
}