
@font-face {
    font-family: light;
    src: url('myfont/Century\ Gothic.ttf');
}
@font-face {
    font-family: bold;
    src: url('myfont/GOTHICB.TTF');
}
*{
    margin: 0;
    padding: 0;
    list-style: none;
}
body{
    background-image: url('Picture1.jpg');
    background-size: cover;
    background-position: center;
}
div.container{
    width: 100%;
    position: relative;
}
p{
    font-family: bold;
    text-transform: uppercase;
    font-size: 19px;
    padding: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid lightgray;
    color: white;
}
.image{
    height: 120px;
}
.image img{
    width: 220px;
    height: fit-content;
}
.header{
    text-transform: capitalize;
    text-align: center;
    width: 100%;
}
.header h1{
    font-size: 50px;
    text-transform: uppercase;
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 5px;
    font-family: bold;
}
.header span{
    text-transform: uppercase;
    word-spacing: 1px;
    font-family: bold;
}
.header p{
    border-bottom: none;
    opacity: 0.1;
    font-size: 15px;
}
form{
    width: 98%;
    padding-left: 3px;
    position: relative;
}
/*First Form*/

div.form{
    width: 400px;
    border-radius: 5px;
    padding: 3px;
    margin-top: 15px;
    padding: 5px;
    background-color: rgb(167, 24, 24);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;
    padding-bottom: 7px;
}
div.form h2{
    border-bottom: 1px solid lightgray;
    padding: 5px 5px 3px 5px;
    text-align: center;
    color: white;
    text-transform: capitalize;
    font-family: bold;
}
div.form h2 span{
    text-transform: uppercase;
    word-spacing: 1px;
}
div.form label{
    font-family: light;
}
.form select:focus{
    border: 3px solid rgb(12, 88, 202);
    border-radius: 5px;
    transition: all .15ms;
}
select{
    width: 100%;
    padding: 5px;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
    font-family: light;
}

/*Investor detail*/

.investor-form{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    border-radius: 3px;
    margin: 3px;
    padding: 5px 5px 5px;
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 5px 4px rgba(9, 9, 9, 0.4);
    margin-bottom: 20px;
}
.investor-form header{
    text-align: center;
    font-family: bold;
    font-size: 20px;
    border-bottom: 1px solid lightgray;
    margin-bottom: 5px;
    color: rgb(0, 0, 0);
}
.investor-form .infield{
    width: 100%;
    padding: 10px 0;
    margin-top: 5px;
}
.investor-form .infield input{
    width: calc(100% - 10px);
    outline: none;
    border: 1px solid lightgray;
    padding: 10px 5px;
    border-radius: 5px;
    transition: all .15ms;
}
.investor-form .infield input:focus{
    border: 3px solid rgb(12, 88, 202);
    border-radius: 5px;
}
.investor-form .infield select{
    width: 100%;
    padding: 5px;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
    font-family: myFont2;
    transition: all .15ms;
}
.investor-form .infield select:focus{
    border: 3px solid rgb(12, 88, 202);
    border-radius: 5px;
}
.investor-form .infield label{
    font-family: bold;
}



/*Form upload*/


div.form-last-page{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    border-radius: 3px;
    margin: 3px;
    padding: 5px 5px 5px;
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 5px 4px rgba(9, 9, 9, 0.4);
    margin-bottom: 20px;
    margin-top: 10px;
}
div.form-last-page h1{
    font-family: bold;
    text-align: center;
    border-bottom: 1px solid lightgray;
}
div.form-last-page .field{
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-top: 5px;
}
div.form-last-page .field label{
    font-family: bold;
}
div.form-last-page .bttn input{
    background-color: blue;
    width: 100%;
    padding: 10px;
    color: white;
    font-family: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
    border: 1px solid lightgray;
    border-radius: 5px;
}


/*error message*/

div.error{
    background-color: red;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-transform: capitalize;
    text-align: center;
    font-size: 16px;
    color: white;
    margin-bottom: -10px;
    margin-top: 5px;
    padding: 3px;
    border-radius: 5px;
}



/*MEDIA QUERIES*/

@media screen and (max-width: 400px){
    div.container{
        overflow: hidden;
    }
    form{
        margin-left: 0;
    }
    
}
@media screen and (max-width: 500px) {
    div.image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    div.image img{
        width: 180px;
    }
    div.header{
        text-align: center;
        width: 100%;
    }
    div.header h1{
        font-size: 30px;
        padding: 5px;
        margin-top: 5px;
    }
    form div.form{
        width: 90%;
        border-radius: 5px;
        padding: 5px;
        transform: translateX(-52%);
    }

    .investor-form{
        width: 90%;
        margin: 3px;
        text-transform: capitalize;
        transform: translateX(-52%);
    }
    
form{
    margin-left: 3px;
    padding-left: 5px;
}

    div.form-last-page{
        transform: translateX(-52%);
        width: 90%;
    }
}

/*tablets*/

@media screen and (min-width: 600px) and (max-width: 900px){
    div.image img{
        width: 250px;
    }
    form div.form{
        width: 90%;
        padding: 5px;
    }
    .investor-form{
        width: 80%;
    }
    
    div.form-last-page{
        width: 80%;
    }
}