/* VARIABLES */

:root{
    --bumptime: 0.2s;
    --social-shadow: 0 6px;
    --social-shadow-bumped: 0 10px;
    --social-extend: 4px;
    --social-icon-size: 50px;
    --mailer-yellow: #ffc400;
}

/* LAYOUT */

#lsit {
    background: var(--red);
    color: white;
}

#lsit *{
    z-index: 3;
}

#lsit h2{
    color: white;
    padding-top: 24px;
}

.lsit-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.lsit-left{
    display: flex;
    justify-content: end;
}

.lsit-left-stuff{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lsit-p{
    padding: 0 16px;
}

.lsit-right{
    display: flex;
    justify-content: start;
}

/* MAILER */

.mailer{
    background: var(--mailer-yellow);
    box-shadow: 0 4px #631807;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.mailer-top{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.mailer-top img{
    width: 64px;
    transition: 0.25s;
}

.mailer:hover .mailer-top img{
    transform: rotate(-5deg) scale(1.1);
}

.mailericon{
    position: absolute;
    top: -6px;
    left: 0;
}

.mailer-top span{
    font-family: NeueHelveticaPro95Black, sans-serif;
    font-size: 24px;
    color: black;
    text-align: center;
    flex: 1;
}

.signupspan{
    line-height: 38px;
    height: 30px;
    vertical-align: middle;
}

.mailer-rest{
    overflow: hidden;
    transition: 0.4s;
    transition-timing-function: cubic-bezier(.2, .9, 1, 1);
    height: 195px;
}

.mailer:not(.shown) .mailer-rest{
    height: 0;
}

/* SIGNUP FORM */

form#signup{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    position: relative;
}

form#signup input{
    font-size: 20px;
    border: 4px solid black;
    padding: 4px;
}

form#signup input::placeholder{
    color: #353535;
}

form#signup input[type=submit]{
    cursor: pointer;
    font-family: NeueHelveticaPro95Black, sans-serif;
    border-radius: 8px;
    padding: 6px 0;
    background: white;
    box-shadow: 0 4px black;
}

#name, #email{
    font-family: NeueHelveticaPro65Medium, sans-serif;
}

.emailbox{
    position: relative;
    display: flex;
}

#email{
    flex: 1;
}

.erronmsg{
    position: absolute;
    top: 6px;
    right: 10px;
    font-family: NeueHelveticaPro95Black, sans-serif;
    color: #bf0000;
    text-align: end;
    font-size: 12px;
    opacity: 0;
    transition: 0.4s;
}

.erronmsg.erroring{
    opacity: 1;
}

#terms{
    scale: 1.2;
}

label[for="terms"]{
    color: black;
}

.success-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--mailer-yellow);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-overlay.succeed{
    opacity: 1;
    pointer-events: all;
}

.success-overlay span{
    color: black;
    font-family: NeueHelveticaPro95Black, sans-serif;
    font-size: 20px;
    text-align: center;
}

/* SOCIALS */

.socials{
    display: flex;
    gap: 24px;
}

.social{
    border-radius: 16px;
    overflow: hidden;
    transition: 0.25s;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px 16px 2px 4px;
    min-width: 225px;
    text-decoration: none;
    box-shadow: var(--social-shadow) var(--social-shadow-color);
}

.social:hover{
    transform: translateY(calc(-1 * var(--social-extend)));
    box-shadow: var(--social-shadow-bumped) var(--social-shadow-color);
}

.social img{
    width: var(--social-icon-size);
}

.social span{
    font-family: NeueHelveticaPro95Black, sans-serif;
    font-size: 22px;
    flex: 1;
    text-align: center;
}

.ig{
    background: linear-gradient(0deg, #f8b765, #e34254, #a03aa7);
    color: white;
    --social-shadow-color: #eb5850;
}

.yt{
    background: white;
    color: black;
    --social-shadow-color: red;
}

.tt{
    background: black;
    color: white;
    --social-shadow-color: #15dcea;
}

/* LSIT GUY */

.lsit-guy{
    position: relative;
    display: flex;
    justify-content: center;
    transform-origin: top;
    height: 480px;
    aspect-ratio: 434/450;
}

.phead{
    width: 100%;
}

.peyes, .pbody{
    position: absolute;
}

.peyes{
    display: flex;
    justify-content: space-between;
    width: 35%;
    height: 8%;
    top: 30%;
}

.peye2{
    scale: -1 1;
}

.pbody{
    top: 47%;
    width: 50%;
}

@keyframes bumpL{
    from{
        transform: scale(1.025) rotateZ(-5deg) translateX(-5px);
    }
    to{
        transform: none;
    }
}

@keyframes bumpR{
    from{
        transform: scale(1.025) rotateZ(5deg) translateX(5px);
    }
    to{
        transform: none;
    }
}

@keyframes eyebump {
    from{
        transform: scale(1.08);
    }
    to{
        transform: scale(1);
    }
}

.bumpL{
    animation: bumpL var(--bumptime);
}

.bumpR{
    animation: bumpR var(--bumptime);
}

.bumpeye{
    animation: eyebump var(--bumptime);
}

/* RESPONSIVE */

@media screen and (max-width: 1234px) {
    .lsit-content{
        flex-direction: column;
    }

    .lsit-content > div{
        flex: none; /* hope this works? */
    }

    .lsit-right{
        padding-bottom: 60px;
    }

    .mailer{
        margin: 0 16px;
    }

    form#signup input[type=submit]{
        background: #006bbc;
        color: white;
    }

    .lsit-guy{
        height: 300px;
    }
}

@media screen and (max-width: 1600px) {
    .socials{
        flex-direction: column;
    }
}
