
body{
    font-family: 'Tilt Neon', cursive;
    margin: 0;
    padding: 0;
    /* background-image: url('pexels-nicooo-361527.jpg'); */
    /* overflow: hidden; */

}


#main{
    height: 100vh;
    width: 100%;
    padding-top: 2vh;
    padding-bottom: 2vh;
    background: linear-gradient(203deg, rgba(164,78,255,1) 21%, rgba(238,73,255,1) 41%, rgba(105,93,250,1) 58%, rgba(224,182,241,1) 81%);
    /* background: linear-gradient(203deg, rgba(61,23,102,1) 21%, rgba(127,19,198,1) 41%, rgba(28,0,187,1) 58%, rgba(227,172,249,1) 81%); */
    background-size: 300% 300%;
    animation: color 12s ease-in-out infinite;
}

@keyframes color{
    0%{
        background-position: 0 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0 50%;
    }
}

#header{
    box-shadow: 0px 0px 10px 10px rgb(0 0 0 / 35%);

    /* z-index: 10px; */
    display: flex;
    justify-content: center;
    /* position: relative; */
    backdrop-filter: blur(10px);
    background-color: rgba(255, 246, 246, 0.61);
    z-index: 2;
    margin: 1.5vh auto;
    /* margin-right: auto; */
    /* transform: translate(160%, 10%); */
    border-radius: 10rem;
    width: 20rem;
    height: 4rem;
    align-items: center;

}

p{
    text-align: center;
    font-size: 1.2em;
}

@media (max-width: 711px) {
    #about{
        max-height: 50%;
        padding: 0.5em;
    }
    p{
        font-size: 1.1em;
    }
}

@media (max-width: 586px) {
    #about{
        padding-bottom: 0em;
        /* margin-bottom: 5em; */
    }
    p{
        font-size: 1em;
    }
}

@media (max-width: 502px) {
    #about{
        max-height: 60%;
    }
    p{
        font-size: 1em;
    }
    #about h2{
        font-size: 1em;
    }
    h3{
        padding-right: 1.5vw;
    }
}

#header h2{
    font-family: 'Sacramento', cursive;
    font-size: 3em;
    margin-bottom: 4vh;
    line-height: 0.75;

}

#about{
    text-align: center;
    margin: 17vh auto 19.2vh ;
    background-color: rgba(255, 255, 255, 0.384);
    border-radius: 1.2em;
    font-size: x-large;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 80%;
    max-height: 80%;
    padding: 0.8em;
    box-shadow: 0px 0px 10px 10px rgb(0 0 0 / 35%);
}

@media (max-width: 532px) {
    #about{
        max-height: 65%;
    }
}

.container h1{
    padding-bottom: 1em;
}

h3{
    font-family: 'Short Stack', cursive;
    font-size: xx-large;
    margin: 1vh auto;
    margin-left: 1.5em;
    margin-bottom: 0.1em;
}

#about h2{
    margin: 1vh auto 0.2vw;
    font-size: 2em;
    padding-left: 5vw;
    margin-left: -0.5em;
}

h2 > span{
    color: #2b08f3;
}

::selection{
    background-color: #c17eff;
    color: black;
}



@media (max-width: 850px) {
    #about{
        max-height: 60%;
    }
    p{
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    #about{
        max-height: 60%;
    }
    p{
        font-size: 1em;
    }
}

@media (max-width: 580px) {
    p{
        font-size: 0.9em;
    }
}

@media (max-width: 495px) {
    p{
        font-size: 0.86em;
    }
}

@media (max-width: 450px) {
    #about h2{
        font-size: 1.6em;
    }
    h3{
        font-size: 1em;
    }
}

@media (max-width: 355px) {
    p{
        font-size: 0.8em;
    }
}

@media (max-width: 340px) {
    #about h2{
        font-size: 1.5em;
    }
}
/* form */


.contact{
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(175deg, #EEE 40%,  #6fa9ff 70%,  #7a49ca);

}

.container{
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    font-family: Arial, Helvetica, sans-serif;

}

@media (min-width: 768px) {
    .container{
    padding-left: 64px;
    padding-right: 64px;
    }
}

@media (min-width: 1024px) {
    .container{
    padding-left: 128px;
    padding-right: 128px;
    }
}

.container h1{
    color: #363434;
    font-size: 40px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.container p{
    color: #888;
    font-size: 18px;
    text-align: center;
    margin-bottom: 32px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container form{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 16px;
    background-color: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0px 6px 12px rgba(0, 0 ,0 , 0.2);
    padding-right: 64px;
}

@media (min-width: 768px) {
    .container form{
        grid-template-columns: repeat(2, 1fr);
    }
}


.message{
    grid-column: 1 / -1;
}


.group label{
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-weight: bold;
    font-size: 14px;
}

.group .form-element{
    appearance: none;
    outline: none;
    border: 1px solid #ced4da;
    border-radius: 0.25em;
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 12px 16px;
    background-color: #f5f1f1a2;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;

}

textarea{
    resize: vertical;
    min-height: 100px;
}

#fullname{
    width: 34vw;
}

@media (max-width: 768px) {
    #fullname{
        width: 100%;
    }
}

.submit-group{
    grid-column: 1 / -1;
    text-align: right;
    width: 103%;
}

@media (max-width: 768px) {
    .submit-group{
        width: 105%;
    }
}

input::selection, label::selection{
    background-color: #c17eff;
    color: black;
}


#sub{

    appearance: none;
    border: none;
    outline: none;
    background: none;
    padding: 12px 16px;
    background-color: #7a49ca;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: 0.4s;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#sub:hover{
    background-color: #4385ff;
}

.form-element:focus{
    transition: border-color .30s ease-in-out, box-shadow .30s ease-in-out;
    box-shadow: 0px 0px 4px 2px rgba(78, 119, 255, 0.418);
    border-color: #4abdff;
    background-color: #f5f1f1a2;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    z-index: 2;
}

@media (max-width: 768px) {
    .submit-group{
        width: 109%;
    }
}

@media (min-width: 768px) {
    .submit-group{
        width: 106%;
    }
}

@media (min-width: 1000px) {
    .submit-group{
        width: 105%;
    }
}

@media (min-width: 1149px) {
    .submit-group{
        width: 104%;
    }
}



/* loader */

.loader_bg{
    position: fixed;
    z-index: 99999;
    background: #fff;
    width: 100%;
    height: 100%;
}

.loader{
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);
    left: calc(50vw - 100px);
}

.loader::before, .loader::after{
    content: '';
    border: 1em solid #8c28ff;
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear infinite;
    opacity: 0;
}

.loader::before{
    animation-delay: .5s;
}

@keyframes loader {
    0%{
        transform: scale(0);
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0;
    }
}

.fadeOut{
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    100%{
        opacity: 0;
        visibility: hidden;
    }
}