@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    color: #F5F2EB;
    text-align: center;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #283C33;
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    width: 100vw;
    max-width: 950px;
    padding: 0 20px;
    margin: auto;
}

h1 {
    font-weight: 400;
}

main h1 {
    margin: 50px 0 0;
}

main p {
    margin: 20px 0;
}

#logo-texte {
    width: 500px;
    height: auto;
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeOut 1s cubic-bezier(0.75, 0, 0.25, 1) 2s forwards;
    z-index: 2;
    pointer-events: none;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#main > * {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.75, 0, 0.25, 1) forwards;
}

#main > *:nth-child(1) { animation-delay: 3s; }
#main > *:nth-child(2) { animation-delay: 3.3s; }
#main > *:nth-child(3) { animation-delay: 3.6s; }
#main > *:nth-child(4) { animation-delay: 3.9s; }
#main > *:nth-child(5) { animation-delay: 4.2s; }

#logo-vsa{
    width: 100px;
    height: auto;
}

main p{
    line-height: 1.4;
}

.social{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: end;
    list-style: none;
    gap: 20px;
    position: fixed;
    bottom: 20px;
}

.social li svg{
    height: 24px;
    width: auto;
}

#main > p{
    font-weight: 300;
}

.klaviyo-form{
    width: 400px !important;
}

.klaviyo-form>.needsclick>.needsclick{
    padding: 0 !important;
}

.klaviyo-form .needsclick[style*="min-height: 120px"]{
    min-height: unset !important;
}

.klaviyo-form .needsclick button{
    min-width: 100px !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
    font-family: "Inter", sans-serif !important;
}

.klaviyo-form .needsclick input{
    background-color: transparent !important;
    border: 1px solid #F5F2EB !important;
    color: #F5F2EB !important;
    font-family: "Inter", sans-serif !important;
    outline: none !important;
}

html #main .klaviyo-form .needsclick input:hover{
    border-color: #F5F2EB !important;
}

.klaviyo-form .needsclick input::placeholder{
    color: #f5f2ebb0 !important;
    font-family: "Inter", sans-serif !important;
}

.klaviyo-form h1, .klaviyo-form h1 *{
    font-family: "Inter", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

@media only screen and (max-width: 768px) {
    #logo-texte{
        width: 300px;
    }

    #logo-vsa {
        width: 80px;
    }

    #main > h1{
        font-size: 20px;
    }

    #main > p{
        font-size: 14px;
    }

    .klaviyo-form .needsclick input, .klaviyo-form .needsclick button{
        height: 45px !important;
        font-size: 14px !important;
    }

    .klaviyo-form .needsclick input::placeholder{
        font-size: 14px !important;
    }

    .klaviyo-form h1, .klaviyo-form h1 *{
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 520px) {
    .klaviyo-form {
        width: 100% !important;
    }
}