@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');


* {
    box-sizing: border-box;
}

:root
{
    --primary-color: rgb(0, 143, 156);
    --secondary-color: rgb(247, 144, 49);
    --field-text-color:rgb(62, 63, 94);
    --bg-color: rgb(255,255,255);
    --heading-color: rgb(255,255,255);
    --text-color: rgb(48, 47, 69);
    --label-color: rgb(175, 176, 192);
    --border-color: rgb(222, 222, 234);
}

body {
    font-family: 'Rajdhani', sans-serif;
    padding :0;
    margin: 0;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

a
{
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;

    &:hover {
        color: var(--secondary-color);    
    }
}


.video-bg-area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
    left: 0;
    background-color: rgb(1, 47, 52);
    z-index: -99;

    .video-bg {
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: 50% 50%;
        opacity: 0.20;        
    }
}

.wrapper {
    position: relative;
    overflow: hidden;
    height: 100dvh;
}

.container {
    margin-inline: auto;
    width: 100%;
    padding: 1rem 1rem 1rem;
    height: 100%;
    max-width: 720px;
    align-items: center;

}

.logotype {
    text-align: center;
    margin: 2.5rem auto 1rem;

    .logotype-image {
        width: 55%;
    
        @media (width >= 768px) {
            width: 65%;
        }
    }
}

.partnership {
    font-size: 0.7rem;
    margin: 0;
    padding: 0;
}

main {
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
    color: var(--bg-color);
}

.title-area {
    text-align: center;

    span {
        font-size: 24px;
        color: var(--heading-color);
        text-transform: uppercase; 
        display: block;
        margin: 0;
    }

    h1 {
        font-size: 88px;
        font-family: "Titillium Web";
        color: var(--heading-color);
        text-transform: uppercase;
        font-weight: 900;
        line-height: 1;
        margin: 0;
    }
    
    p {
        font-size: 16px;
        color: var(--heading-color);
        margin-bottom: 1rem;
        padding: 1rem 1rem 5rem;

        @media (width >=768px) {
            font-size: 22px;
            margin-bottom: 1rem;
            padding: 1rem 1rem 2rem;
        }
    }
}
.title-area-confirmed {
    text-align: center;

    span {
        font-size: 24px;
        color: var(--heading-color);
        text-transform: uppercase; 
        display: block;
        margin: 0;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 38px;
        font-family: "Titillium Web";
        color: var(--heading-color);
        text-transform: uppercase;
        font-weight: 900;
        line-height: 1;
        margin: 0;

        @media (width >=768px) {
            font-size: 70px;

        }
    }
    
    p {
        font-size: 16px;
        color: var(--heading-color);
        margin-bottom: 1rem;
        padding: 1rem 1rem 5rem;

        @media (width >=768px) {
            font-size: 22px;
            margin-bottom: 1rem;
            padding: 1rem 1rem 2rem;
        }
    }
}



.article-area {
    display: grid;
    align-items: center;
    height: 100%;


    article {
        display: grid;
        gap: 1rem;
        text-align: center;
    }
}

.form-area {
    display: block;
    align-items: center;
    height: 100%;
    width: 100%;

    .title-area {
        display: none;

        @media (width >= 768px) {
            display: block;
        } 
    }

    form {
        
        border-radius: 12px;
        box-shadow: 0px 0px 60px 0px rgba(94, 92, 154, 0.12);
        background-color: #ffffff;
        padding: 0rem 1.5rem 0.5rem;

        @media (width >= 768px) {
            padding: 1rem 2rem 1rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        } 

        .form-title {
            text-align: center;
            font-size: 26px;
            font-weight: bold;
            color: rgb(48, 47, 69);
            margin-bottom: 0.8rem;
        }

        .form-text {
            text-align: center;
            font-size: 12px;
            font-weight: normal;
            color: rgb(48, 47, 69);
            margin-bottom: 1rem;

            @media (width >= 768px) {
                display: none;
            } 
        }
    }
}



.input-field
{
    margin-bottom: 25px;
    transition: 0.2s;
    position: relative;
    display: grid;
    align-items: center;
    opacity: 0;
    width: 100%;
    height: 52px;
    min-height: 52px;
    background-color: var(--bg-color);

    @media (width >= 768px) {
        margin-bottom: 35px;
    } 

    input,
    select
    {
        border: solid 1px var(--border-color);
        border-radius: 12px;
        width: 100%;
        transition: 0.4s;
        height: 100%;
        padding-left: 20px;
        padding-right: 44px;
        font-family: inherit;
        font-size: 16px;
        color: var(--field-text-color);
        font-weight: bold;
        background-color: var(--bg-color);
    }

    select
    {
        appearance: none;
        cursor: pointer;
    }

    input:focus,
    select:focus
    {
        outline: 0;
        border-color: var(--secondary-color);
    }

    input:valid+label,
    select:valid+label
    {
        transform: translateY(-24px);
        font-size: 15px;
    }

    input:invalid+label,
    select:invalid+label
    {
        font-size: 18px;
    }

    label
    {
        font-size: 18px;
        color: var(--label-color);
        position: absolute;
        left: 17px;
        transition: 0.4s;
        pointer-events: none;
        width: max-content;
        padding: 0 3px;
        background-color: var(--bg-color);
    }

    &:focus-within label
    {
        transform: translateY(-24px);
        font-size: 15px !important;

    }
}

.btn
{
    font-family: "Titillium Web";
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background-color: var(--primary-color);
    width: 100%;
    transition: 0.2s;
    height: 54px;
    font-size: 18px;
    border: 0;
    position: relative;
    color: var(--heading-color);
    font-weight: bold;    
    overflow: hidden;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color); 
    color: var(--heading-color);
}

#submitbutton.is-disabled {
    background-color: #ccc;
    color: var(--heading-color);
    cursor: not-allowed;
    opacity: 0.7;
}

.disclaimer {
    color: var(--text-color);
    margin-top: 1rem;
    font-size: 0.7em;
    text-align: center;

    @media (width >= 768px) {
        font-size: 0.9em;
    }
}