﻿* {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

#MainBody {
    background: #333 url(/img/background.jpg) no-repeat center/cover;
    margin: 0;
}

.Section-Title {
    font-size: 30px;
    text-align: center;
}

#Main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#TitleSection {
    text-align: center;
    background-color: #333;
    width: 75%;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

#TitleSection h1 {
    font-size: 38px;
    color: #fff;
}

#MainSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #333;
    width: 60%;
    margin: 3rem auto;
    color: #fff;
    padding: 2rem 4rem;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
}

#MainSection #FirstSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#MainSection #FirstSection p {
    display: inline-block;
    margin: 0.5rem 0;
}

#MainSection #FirstSection .texbox-small {
    width: 100%;
}

#MainSection #FirstSection .DropDown {
    width: 50%;
}

#MainSection #FirstSection #Section-Left {
    background-color: #222;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 0.5rem 3rem;
    margin: 0 2rem;
}

#MainSection #FirstSection #Section-right {
    background-color: #222;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 0.5rem 3rem;
    margin: 0 2rem;
}

#MainSection #SecondSection {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-color: #222;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 0 2rem;
    margin: 2rem 0 0 0;
    width: 85%;
}

#MainSection #SecondSection .texbox-small {
    display: block;
    margin: 0.75rem 0 0 0;
    width: 100%;
}

#MainSection #ThirdSection {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-color: #222;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 2rem 2rem;
    margin: 2rem 0 0 0;
    width: 85%;

}

#MainSection #ThirdSection .texbox-big {
    display: block;
    margin: 0.75rem 0 0 0;
    width: 100%;
}

#MainSection #ThirdSection .DropDown {
    margin: 0;
    width: 3rem;
}

#MainSection #ThirdSection .p-long {
    line-height: 1.65rem;
    margin: 3rem 0 0.75rem 0;
}

#Question {
    font-size: 30px;
}

p {
    font-size: 20px;
    font-weight: bold;
}

.p-long {
    font-weight: normal;
}

.texbox-small {
    display: inline-block;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    margin-left: 2rem;
    padding: 0.25rem 5px;
}

.texbox-small:focus {
    transition: all 0.4s ease;
    border:solid 1px green !important;
}

.texbox-big {
    display: block;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    width: 75%;
    height: 5rem;
}

.DropDown {
    display: inline-block;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    height: 2rem;
    margin-left: 2rem;
}

.Submit {
    display: block;
    margin: 2rem 4rem;
    padding: 0.75rem 1.25rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.Submit:hover {
    background-color: red;
    cursor: pointer;
    transform: scale(1.075);
}

#Main-Footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #222;
    color: #fff;
}

#Main-Footer a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
}

#Main-Footer a:hover {
    color: red;
}

#SuccesBody {
    background-color: #222;
    background: #333 url(/img/background.jpg) no-repeat center/cover;
    height: 100vh;
    margin: 0;
}

#SuccesMain {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Dark Overlay */
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    height: 100%;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
}

#SuccesMain h1 {
    color: #fff;
    font-size: 100px;
    margin: 2rem 0;
}

#SuccesMain h2 {
    color: #fff;
    font-size: 45px;
    margin: 0;
    text-align: center;
}

.lblError {
    margin-top: 1rem;
    font-weight: bold;
}

@media (max-width: 1024px) {

    #TitleSection {
        width: 95%;
        position: static;
    }

    #MainSection {
        margin: unset;
        padding: unset;
        width: 95%;
        margin: 2rem 0;
    }

    #MainSection #FirstSection {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-flow: column;
        width: 90%;
    }

    #MainSection #FirstSection #Section-Left {
        width: 75%;
        margin: unset;
        margin: 1rem 0;
    }
    
    #MainSection #FirstSection #Section-right {
        width: 75%;
        margin: unset;
        margin: 1rem 0;
    }

    #MainSection #FirstSection #Section-right .DropDown {
        width: 100%;
    }

    #MainSection #FirstSection #Section-right .texbox-small {
        width: 90%;
    }

    #MainSection #SecondSection {
        text-align: center;
        width: 100%;
        margin: unset;
        padding: unset;
        margin: 1rem 0;
        width: 90%;
    }

    #MainSection #SecondSection p {
        margin: 3rem 0.5rem 0.75rem 0.5rem;
    }

    #MainSection #SecondSection .texbox-small {
        text-align: center;
        margin: 0.75rem auto 0 auto;
        width: 90%;
    }

    #MainSection #SecondSection .DropDown {
        display: block;
        text-align: center;
        margin: 0.75rem auto 0 auto;

    }

    #MainSection #ThirdSection {
        text-align: center;
        width: 100%;
        margin: unset;
        padding: unset;
        margin: 1rem 0;
        padding-bottom: 1rem;
        width: 90%;
    }

    #MainSection #ThirdSection p, #MainSection #ThirdSection .p-long {
        margin: 3rem 0.5rem 0.75rem 0.5rem;
    }

    #MainSection #ThirdSection .texbox-big {
        text-align: center;
        margin: 0.75rem auto 0 auto;
        width: 90%;
    }

    #MainSection #ThirdSection .DropDown {
        display: block;
        text-align: center;
        margin: 0.75rem auto 0 auto;

    }

    #SuccesMain h1 {
        font-size: 100px;
    }
    
    #SuccesMain h2 {
        text-align: center;
        font-size: 25px;
        width: 70%;
    }
}