/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*MY CODE*/

@font-face {
    font-family: "Aristotelica";
    src: url(Font/zetafonts-aristotelica-pro-display-extralight.otf);
}

:root {
    --green: #58b747;
    --bar: #90af85;
    --softgreen: #e5f4ef;
    --heavygreen: #4c8880;
    --grey: #2e434e;
    --delete: #e6b8af;
    --edit: #cfe2f3; 
}

body {
    background-color: #e5e5e5;
}

body .main-content {
    margin: 0 auto;
    max-width: 700px;
    height: fit-content;
    margin-top: 100px;
    /* padding: 0 15px; */
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0 0 10px 2px #888;
    -moz-box-shadow: 0 0 10px 2px #888;
    box-shadow: 0 0 10px 2px #888;
    border-radius: 15px 15px 15px 15px;
    margin-bottom: 100px;
}

header {
    position: relative;

}

header img {
    position: absolute;
    z-index: -199;
    object-fit: cover;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    border-radius: 15px 15px 0px 0px;
}

header div {
    position: absolute;
    width: 100%;
    height: 150px;
    z-index: 1;
    background-color:var(--grey);
    opacity: 50%;
    border-radius: 15px 15px 0px 0px;
}

header h1 {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    line-height: 150px;
    font-size: 30px;
    color: white;
    font-family: Poppins;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 99;
}

body .main-content main {
    margin-top: 150px;
    background-color: white;
    width: 100%;
    border-radius: 0px 0px 15px 15px;
}

main form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    
}

main form .username-password {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

main form input {
    width: 78%;
    border: none;
    outline: none;
    border-bottom: 1px solid var(--bar);
    border-radius: 0px;
    padding: 15px 10px;
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-size: 14px;
}

main form input:focus {
    border: none;
    border-bottom: 1px solid var(--green);
}

main form input::placeholder {
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 14px;
}

main form input:focus::placeholder {
    color: transparent;
}

main form input:focus:-ms-input-placeholder {
    color: transparent;
}

main form .username-password div {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0px 15px;
    margin: 25px 0px 0px;
}

main form .username-password span {
    font-size: 12px;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: #ff0f0f;
    margin-top: 15px;
    padding: 0px 15px;
    line-height: 15px;
}

main form .username-password div label {
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 14px;
    padding-right: 30px;
    padding-bottom: 5px;
}

main form .checkedbox {
    width: 62%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-left: 24%;
}

main form .checkedbox label {
    margin-top: 4px;
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 12px;
    width: fit-content;
    width: -moz-fit-content;
}

main form .checkedbox a {
    margin-top: 4px;
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #333;
    transition: 200ms 50ms ease-in-out;
}

main form .checkedbox a:hover {
    text-decoration: none;
    color: var(--green)
}

/* checkedbox - start */
.container {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-left: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    border: 0.5px solid #ccc;
    border-radius: 2px;
}

.container input:checked ~ .checkmark {
    background-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--green);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* checkedbox - end */

main form input[type=button] {
    font-family: Poppins, Aristotelica, Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding: 15px 40px;
    margin: 30px auto 50px;
    width: fit-content;
    width: -moz-fit-content;
    border: none;
    border-radius: 100px;
    background-color: var(--green);
    color: white;
}

@media screen and (max-width: 648px) {
    main form input {
        width: 100%;
    }

    main form .checkedbox {
        width: 78%;
        margin-left: 10%;
        margin-top: 40px;
    }
}

@media screen and (max-width: 500px) {
    main form .username-password div {
        width: 100%;
    }

    main form .checkedbox {
        width: 100%;
        margin-left: 0;
        padding-right: 15px;
        margin-top: 40px;
    }
}
@media screen and (max-width: 730px) {
    body .main-content {
        margin-left: 15px;
        margin-right: 15px;
    }
}

