:root {
    --color-font: #f4f4f4;
    --color-font2: #f4f4f465;
    --color-bg: #B3FF57;
    --bg: linear-gradient(90deg, rgba(31,54,198,1) 9%, rgba(0,0,100,1) 38%);
}

@font-face {
    font-family: "amelia-bold";
    src: url(../fonts/Amelia-Basic-Bold.otf);
}

@font-face {
    font-family: "amelia";
    src: url(../fonts/Amelia-Basic.otf);
}

@font-face {
    font-family: "amelia-light";
    src: url(../fonts/Amelia-Basic-Light.otf);
}

body {
    background: rgb(31,54,198);
    background: linear-gradient(90deg, rgba(31,54,198,1) 9%, rgba(0,0,100,1) 38%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-font);
    padding-top: 100px;
    overflow-x: hidden;
    text-align: center;
}

h1{
    font-family: 'amelia-bold', sans-serif ;
}

p{
    font-family: 'amelia', sans-serif;
    width: 50%;
    text-align: center;

    margin-bottom: 60px;
}


.contact form{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family:'amelia', sans-serif;
}

.contact form label{
    font-family: "amelia-light";
    font-size: 22px;
    margin-bottom: 10px;
    align-self: flex-start;
    padding-left: 5px;
}

.contact form option{
    background-color: rgba(31,54,198,1);
    border-radius: 8px;
}

.contact form input,
.contact form select
{
    margin-bottom: 30px;
    height: 54px;
    width: 60vw;
    border-radius: 8px;
    background-color: transparent;
    border: solid 3px var(--color-font);
    outline-style:var(--color-bg) ;
    transition: all .5s;
    color: #f4f4f4;
    font-size: 18px;
    padding: 5px;

    font-family: 'amelia-light', sans-serif;
}
.contact form select{
    width: 100%;
    height: 70px;
}
.contact form input:hover,
.contact form input:focus,
.contact form input:active,
.contact form select:hover,
.contact form select:focus,
.contact form select:active,
.contact form textarea:hover,
.contact form textarea:active,
.contact form textarea:focus
{
    border: solid 3px var(--color-bg)
}

.contact form textarea{
    height: 200px ;
    width: 98%;
    font-family: 'amelia', sans-serif ;
    background-color: transparent;
    color: var(--color-font);
    padding-left: 15px;
    padding-top: 15px;
    border: solid 3px var(--color-font);
    outline-style:var(--color-bg) ;
    border-radius: 8px;
    font-size: 18px;
}

.contact form textarea::placeholder{
    color: var(--color-font2);
   
    font-size: 15px;
    font-family:'amelia-light', sans-serif;
    padding-left: 8px;
    padding-top: 8px;
}

button{

    height: 54px;
    width: 250px;
    border-radius: 16px;
    border: none;
    font-family: 'amelia', sans-serif;
    border: solid 2px var(--color-bg);
    background-color: transparent;
    color: var(--color-font);
    margin-top: 50px;
    transition: all .4s;
    font-size: 15px;


    display: flex;
    justify-content: center;
    align-items: center;
}

button:hover{
    background-color: var(--color-bg);
    color: #1F36C6;
    font-family: 'amelia-bold', sans-serif;
}

form svg{
    width: 30px;
    margin-left: 10px;
}

body img:nth-last-child(2){
    border: solid red 4px;
    z-index: -10;
    position: absolute;
}

footer p{
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 100px;
    font-family:  'amelia', sans-serif;
}


@media (max-width: 576px) { 
    p{
        width: 95%;
        margin-top: 0;
    }
    .contact form label{
        padding-left: 15px;
    }
    .contact form input,
    .contact form select{
        width: 90%;
    }
    select{
        width: 90% !important;
  
    }
    .contact form textarea{
        width: 90% !important;
        
    }
 }


@media (max-width: 768px) { 
    p{
        width: 90%;
        margin-top: 0;
    }
    .contact form label{
        padding-left: 15px;
    }
    .contact form input,
    .contact form select{
        width: 90%;
    }
    select{
        width: 90%;
     
    }
    .contact form textarea{
        width: 90% !important;
        
    }
 }