/*Gloabl settings*/
:root {
    --darkgreen: #4F6F52;
    --mediumgreen: #739072;
    --lightgreen: #86A789;
    --softgreen: #D2E3C8;
    --neonblue: #00D7FF;
    --blue: #0096FF;
    --font: 16px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

html {
    overflow-x: hidden;
}

html,
body {
    height: 100%;
}

body {
    background-color: var(--softgreen);
    display: flex;
    flex-direction: column;
}

/*Styling*/

nav {
    background-color: var(--lightgreen);
    text-align: center;
}

.logoSVG {
    width: 5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

h1.logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--darkgreen);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 7px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    font-size: 1.5rem;
    min-height: 6rem;
    line-height: 200%;
}

.menu>li {
    display: inline-block;
    padding-left: 40px;
    padding-right: 40px;
}

.menu a {
    color: whitesmoke;
    text-decoration: none;
}

.menu a:hover {
    color: var(--neonblue);
}

.buttonLogin {
    border-radius: 10px;
    padding: 7px;
    color: var(--blue);
    font-weight: 500;
}

.buttonLogin:hover {
    border-radius: 10px;
    padding: 7px;
    color: whitesmoke;
    font-weight: 700;
    background-color: var(--blue);
    -webkit-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    -moz-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    box-shadow: 6px 6px 14px 0px var(--darkgreen);
}

.buttonSignup {
    border-radius: 10px;
    padding: 7px;
    color: var(--blue);
    font-weight: 500;
}

.buttonSignup:hover {
    border-radius: 10px;
    padding: 7px;
    color: whitesmoke;
    font-weight: 700;
    background-color: var(--blue);
    -webkit-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    -moz-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    box-shadow: 6px 6px 14px 0px var(--darkgreen);
}

h2 {
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
}

.s2 p {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 500;
    padding: 50px 100px 50px 100px;
}

.s2 span {
    color: var(--blue);
}

.central {
    background-color: var(--mediumgreen);
    height: 400px;
    text-align: center;
}

.centralS3 {
    background-color: var(--mediumgreen);
    display: flex;
    justify-content: center;
    align-items: center;
}


#grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    ;
}

#areaA,
#areaB {
    width: 300px;
    padding: 20px;
}

#areaB label,
#areaB div {
    padding-bottom: 25px;
}


.centralimg {
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 50px;
    vertical-align: middle;
}

.central img {
    height: 300px;
}

.centraltext {
    display: inline-block;
    width: 600px;
    vertical-align: middle;
    margin-left: 50px;
    font-size: 1.5rem;
}

.centraltext p {
    padding-bottom: 20px;
    text-align: justify;
}

.buttonSignup2 {
    border-radius: 10px;
    padding: 9px;
    background-color: var(--blue);
    font-weight: 500;
    color: whitesmoke;
}

.buttonSignup2:hover {
    border-radius: 10px;
    padding: 9px;
    font-weight: 700;
    -webkit-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    -moz-box-shadow: 6px 6px 14px 0px var(--darkgreen);
    box-shadow: 6px 6px 14px 0px var(--darkgreen);
}

.contact {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.socials {
    width: 100%;
    text-align: center;
}

.socialdivs {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.fb {
    width: 250px;
    height: 155px;
    float: left;
}

.fb:hover {
    background-color: #4668b3;
}

.yt {
    width: 250px;
    height: 155px;
    float: left;
}

.yt:hover {
    background-color: #d94348;
}

.tw {
    width: 250px;
    height: 155px;
    float: left;
}

.tw:hover {
    background-color: #3095d3;
}

.gplus {
    width: 250px;
    height: 155px;
    float: left;
}

.gplus:hover {
    background-color: #d95333;
}

.info {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 30px;
    flex-shrink: 0;
}

@media only screen and (max-width: 1150px) {
    .central {
        height: 750px;
        flex-direction: column;
        display: grid;
    }

    .socialdivs {
        width: 600px;
    }

    .fb {
        width: 150px;
        height: 150px;
    }

    .yt {
        width: 150px;
        height: 150px;
    }

    .tw {
        width: 150px;
        height: 150px;
    }

    .gplus {
        width: 150px;
        height: 150px;
    }

    .central img {
        margin-left: auto;
        margin-right: auto;
    }

    .centraltext {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Burger styling */

.burger {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: none;
}

.line {
    width: 3em;
    height: .3em;
    background-color: var(--neonblue);
    border-radius: 20px;
    margin: 0.7em;
    transition: .3s ease-in-out;
}

@media only screen and (max-width: 895px) {
    .burger {
        display: block;
        transition: .3s ease-in-out;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .burger.active .line:first-child {
        transform: translateY(-300px);
    }

    .burger.active .line:nth-child(2) {
        transform: rotate(-405deg) translateY(10.5px);
    }

    .burger.active .line:nth-child(3) {
        transform: rotate(-320deg) translateY(-10.5px);
    }

    ul {
        position: absolute;
        right: 0;
        top: 0;
        background-color: var(--mediumgreen);
        height: 100vh;
        width: 60vw;
        flex-direction: column;
        text-align: center;
        transform: translate(100%);
        transition: .5s ease-in-out;
        display: grid;
    }

    ul.active {
        transform: translate(0%);
    }

    a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}

@media only screen and (max-width: 760px) {
    ul {
        width: 100%;
    }
}

.errorLogin h4 {
    font-size: 2rem;
    margin-left: auto;
    margin-right: auto;
    color: red;
    padding-top: 10px;
    text-align: center;
}

.err-msg {
    text-align: center;
    color: red;
}

.error {
    color: red;
    margin-top: 10px;
    margin-bottom: 10px;
}