/* 
author: developer001
date created: 08/09/2023
version: 1.0
*/

* {
    border: 0;
    margin: 0;
    padding: 0;

}

body {
    font-size: 10px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.container {
    width: 85%;
    margin: auto;
}

h1 {
    text-align: center;
    margin: 1% 0;
}

p {
    margin-bottom: 1%;
}

ol {
    width: 90%;
    margin: auto;
    margin-bottom: 2%;
}

li {
    margin-bottom: 1%;
}

/* ======== INPUTONE ======== */
input {
    border-bottom: 1px solid black;
    height: 25px;
    width: 100%;
    -webkit-appearance: none;/* these are for eliminating rounded borders around inputs in ios safari*/
    -webkit-border-radius: 0;/* these are for eliminating rounded borders around inputs in ios safari*/
}

/* this is to remove outline */
textarea:focus, input:focus{
    outline: none;
}

.form-control:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type=text] {
    padding: 0 10px;
    font-size: 14px;

    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

::placeholder {
    padding-left: 0 10px;
}

.inputone {
    width: 100%;
    margin: auto;
    margin-bottom: 1%;
}

.leftform {
    width: 50%;
    float: left;
    margin-right: 5%;
    margin-bottom: 1%;
}

.rightform {
    width: 45%;
    float: left;
    margin-bottom: 1%;
}

/* ======== INPUTTWO ======== */
.left-section {
    width: 50%;
    float: left;
    margin-right: 5%;
}

.left-section textarea {
    border: 1px solid black;
    height: 145px;
    width: 100%;
}

.right-section {
    width: 45%;
    float: left;
}

.right-section .top textarea {
    border: 1px solid black;
    height: 30px;
    margin-bottom: 5px;
    width: 100%;
    float: left;
}

.right-section .middle textarea {
    border: 1px solid black;
    height: 30px;
    margin-bottom: 5px;
    width: 100%;
    float: left;
}

.right-section .bottom textarea {
    border: 1px solid black;
    height: 30px;
    width: 100%;
    float: left;
}

.inputtwo textarea[type=text] {
    padding-top: 10px;
    padding-left: 20px;
    font-size: 14px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/* ======== LOWER CONTENT ======== */
.lowercontent {
    float: left;
    margin-bottom: 2%;
    width: 100%;
}

.lowercontent p {
    margin-top: 2%;
}

.lowercontent .leftsignature {
    width: 50%;
    float: left;
    margin-right: 5%;
    margin-bottom: 1%;
}

.lowercontent .rightsignature {
    width: 45%;
    float: left;
    margin-bottom: 1%;
}

.lowercontent form input {
    font-family: Snell Roundhand;
    font-size: 20px;
}
/* ======== SAMPLE ======== */
/* I dont think I need this
.sample {
    float: clear;
}
*/

.sample input:focus ~ .floating-label,
.sample input:not(:focus):valid ~ .floating-label{
  top: 8px;
  bottom: 10px;
  left: 20px;
  font-size: 11px;
  opacity: 1;
}

.sample .sampletext {
  font-size: 14px;
  width: 200px;
  height: 35px;
}

.sample .floating-label {
  position: absolute;
  pointer-events: none;
  left: 20px;
  top: 18px;
  transition: 0.2s ease all;
}

@media screen and (max-width: 600px) {
    .container {
        width: 80%;
    }
    
    input[type=text] {
        font-size: 16px;
    }
    
    textarea[type=text] {
        font-size: 16px;
    }
    
    .inputtwo textarea[type=text] {
        font-size: 16px;
    }
    
    .leftform, .rightform {
        width: 100%;
    }

    .left-section, .right-section {
        width: 100%;
        float: left;
    }

    .leftform, .rightform {
        width: 100%;
    }

    .lowercontent .leftsignature,
    .lowercontent .rightsignature {
        width: 100%;
        margin-bottom: 5%;
    }
    
    .lowercontent input[type=text] {
        font-size: 16px;
    }
}
