
@import url('fonts.css');

html, body {
    margin: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
}

:root {
    /* Theme color */
    --text-gray: #3f4954;
    --text-light: #686666da;
    --bg-color: #0f0f0f;
    --white: #ffffff;
    --midnight: #104f55;
    --light-red: #EE7157;
    --dark-blue: #044F9B;
    --light-blue: #0778EA;
    --violite: #6C0BA7;
    /* gradient color  linl - https://webgradients.com/*/
    --sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    --hasblue: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
    --hasbluhover: linear-gradient(to right, #74ebd5 0%, #9face6 100%);
    --morpheus: linear-gradient(to top, #30cfd0 0%, #330867 100%);
    --plumplate: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --happyFisher: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    /* theme font family */
    --Abel: 'Abel', cursive;
    --Anton: 'Anton', cursive;
    --Josefine_Sans: 'Josefine_Sans', cursive;
    --LexendDeca: 'LexendDeca', cursive;
    --Livvic: 'Livvic', cursive;
    --OldStd-Bold: 'OldStandardTT-bold', cursive;
    --Vidaloka: 'Vidaloka', cursive;
    --Alice: 'Alice', cursive;
}



/* ----------Global classes-------------*/
a {
    text-decoration: none;
    color: var(--text-gray);
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

ul {
    list-style-type: none;
}

h1 {
    font-family: var(--LexendDeca);
    font-size: 2.5rem;
}

h2 {
    font-family: var(--LexendDeca);
}

h3 {
    font-family: var(--Abel);
    font-size: 1.9rem;
}

.btn {
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
    margin: 1.8rem;
    background: var(--sky);
}

    .btn:hover {
        background: transparent;
        border: 1px solid var(--bg-color)
    }

.btn-log {
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
    margin: 1.8rem;
    background: var(--hasblue);
}

    .btn-log:hover {
        background: transparent;
        border: 1px solid var(--hasbluhover)
    }


p {
    font-family: var(--LexendDeca);
}
/* -----X-----Global classes--------X-----*/

/* ----------Navbar-------------*/
.nav {
    background: white;
    padding: 0 2rem;
    height: 0rem;
    min-height: 15vh;
    overflow: hidden;
    transition: height 1s ease-in-out;
    border-bottom: 1px solid var(--midnight);
}

.nav-menu {
    justify-content: space-between;
}

.navtoggle-collapse {
    position: absolute;
    top: 0%;
    width: 86%;
    cursor: pointer;
}

.navtoggle-collapse, .navtoggle-icons {
    display: none;
    justify-content: flex-end;
    padding: 0.9rem 0;
}

    .nav.navtoggle-collpase, .navtoggle-icons i {
        font-size: 1.8rem;
        color: var(--text-gray);
    }

.collapse {
    height: 45rem;
}

.nav-items {
    display: flex;
    margin: 0;
}

.nav-link {
    padding: 2.5rem 1rem;
    position: relative;
    font-size: 1.6rem;
    font-family: var(--Abel);
}

    .nav-link:hover a {
        color: var(--light-red);
    }

.nav.nav-brand a {
    padding: 1rem 0;
    display: block;
    font-family: var(--Abel);
    font-size: 1.6rem;
}

.nav-tittle {
    padding: 2.4rem 0;
    display: block;
    font-family: var(--Alice);
    text-transform: uppercase;
    font-size: 2.1rem;
}

.nav-login {
    padding: 2.5rem 3rem;
    font-size: 1.6rem;
    font-family: var(--Abel);
}

    .nav-login:hover a {
        color: var(--light-red);
    }

.nav-ewlogo {
    padding: 0.9rem 3rem;
    width: 5rem;
    height: 5rem;
}

.fa-sign-in-alt {
    padding-right: 0.2rem;
}

.nav-log {
    padding: 1rem 1rem;
    width: 10rem;
    height: 5rem;
}

/* ----X-----Navbar------X------*/

/* -------- Main Content --------*/

/* -------- Site title --------*/

.site-title {
    background: url('../assets/ew_rossel.JPG');
    background-size: cover;
    height: 150vh;
    display: flex;
    justify-content: center;
    overflow-wrap: initial;
}

.site-background {
    padding-top: 20rem;
    text-align: center;
    text-shadow: 18px 18px 28px #111111;
    color: var(--white);
}

.site-title h1, h3 {
    margin: 0.3rem;
    text-transform: uppercase;
}

.site-title h1 {
    font-size: 4rem;
}

/* ---X----- Site title ----X----*/


/*--------- Blog carousel ---------*/

.blog {
    background: url('../assets/Abstract001.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 80vh;
    width: 100%;
    background-size: 40%;
}

    .blog.blog-post {
        padding: 6rem;
    }

.blog-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 3rem 2rem;
    box-shadow: 0 15px 20px gray;
}

.blog-title {
    padding: 1rem 0;
    text-align: center;
}

.blog-title h3 {
    font-size: 1.6rem;
    color: var(--text-gray);
    text-transform: none;
}


.owl-nav {
    position: absolute;
    top: 0.5rem;
    margin: 0 48%;
    width: 100%;
}

.owl-nav-prev, .owl-nav-next {
    color: var(--text-gray);
    background: transparent;
    font-size: 2rem;
    padding: 0rem 1rem;
    border: none;
}


/*--X------ Blog carousel ------X--*/

/*---------site content---------*/
.post-content {
    margin: 0rem 3rem;
}

.post-imag {
    overflow: hidden;
}

.site-content {
    display: grid;
    grid-template-columns: 70% 30%;
    margin: 0rem 0;
}

.cls-img {
    width: 100%;
    height: 60vh;
    transition: all 1s ease;
}

    .cls-img:hover {
        transform: scale(1.3);
    }

.post-title h3 {
    font-size: 1.2rem;
    color: var(--bg-color);
    font-family: var(--LexendDeca);
}

.post-title a {
    font-family: var(--Anton);
    font-size: 1.5rem;
}

.post-title p {
    font-family: var(--LexendDeca);
    color: var(--text-light);
    padding: 0 .3rem;
}

.sidebar {
    margin: 0rem 3rem;
}

.post-products {
    padding: 0rem 2rem;
}

    .post-products a {
        font-family: var(--Anton);
        font-size: 1.5rem;
    }

    .post-products h2 {
        text-align: center;
    }

    .post-products p {
        color: var(--text-light);
        padding: 0 .3rem;
    }

/*--X------site content------X--*/

/*---------- Log ----------------*/

.log-container {
    background: var(--happyFisher);
}

.log-content {
    display: grid;
    grid-template-columns: 70% 30%;
    margin: 0 auto;
}
/*---------- log first side bar ----------------*/

.log-post {
    display:block;
    position: relative;
    width: 60%;
    height: 95vh;
    left: 6rem;
}

.log-h1 {
    overflow: hidden;
}
.log-adllogo {
    position:relative;
    top:2rem;
}

.log-logo {
    padding: 1rem 0rem;
    width: 20rem;
    height: 7rem;
}

.log-h3 {
    padding: 0rem 1rem;
    overflow: hidden;
}
.log-h3 h2 {
    font-size: 2.5rem;
    font-family: var(--Anton);
    font-weight:900;
    color: var(--midnight);
}
.log-h3 h3 {
    font-size: 2.5rem;
    font-family: var(--Livvic);
    text-transform: none;
    color: var(--text-gray);
}
/*---------- log Second side bar ----------------*/
.log-ewl {
    position: relative;
    width: 100%;
    display: flex;
    margin-top: .2rem;
    margin-bottom:1rem;
    justify-content: center;
}

.log-ewlogo {
    width: 4.5rem;
    height: 4.5rem;
}

.log-box {
    position: absolute;
    top: 4%;
    width: 400px;
    height: 550px;
    right:4%;
    padding: 40px;
    background: var(--white);
    box-sizing: border-box;
    box-shadow: 0 5px 10px var(--text-light);
}

.log-box h2 {
    margin: 0 0 30px;
    padding: 0;
    text-align: center;
    color: var(--text-gray);
    font-family: var(--Vidaloka);
}

.log-inputbox {
    position: relative;
}

.log-box .log-inputbox input {
    width: 100%;
    padding: .5rem 0;
    font-size: 1rem;
    font-family: var(--LexendDeca);
    color: var(--bg-color);
    margin-bottom: 2rem;
    border: none;
    border-bottom: 1.2px solid var(--text-gray);
    outline: none;
    background: transparent;
}

    .log-box .log-inputbox input:focus {
        border-bottom: 1.2px solid var(--light-blue);
    }

.log-box .log-inputbox label {
    position: absolute;
    top: 0;
    left: 0;
    padding: .5rem 0;
    font-size: 1rem;
    font-family: var(--LexendDeca);
    color: var(--text-light);
    pointer-events: none;
    transition: 0.5s;
}

.log-box .log-inputbox input:focus ~ label,
.log-box .log-inputbox input:valid ~ label {
    top: -1.3rem;
    left: 0;
    color: var(--dark-blue);
    font-size: .7rem
}

.log-box input[type="text"] {
   text-transform:lowercase;
}

.log-box input[type="submit"] {
    background: transparent;
    border: none;
    outline: none;
    border-radius: 20px;
    width: 100%;
    font-weight: 900;
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
    margin: 0px;
    background: var(--light-blue);
}

    .log-box input[type="submit"]:hover {
        background: var(--dark-blue);
    }

/* progress styl */
.log_prog {
    width: 1.5rem;
    height: 1.5rem;
}
/*-x- progress styl -x- */
.log_div_msg{
    position:relative;
    display:flex;
    justify-content:center;
    margin-top:2rem;
    width:100%;
}
.log_msg {
    font-family: var(--Livvic);
    font-size: 1.2rem;
    position:relative;
    color: #CCCCCC;
}


.log_errmsg {
    font-family: var(--Abel);
    position: relative;
    color: red;
    font-size: 1rem;
}

/*---X------- Log ---------X-------*/

/* ---X---- Main Content ----X---*/
/*---------Footer----------------*/
.footer {
    height: 100%;
    background: var(--bg-color);
    position: relative;
}

.food-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

    .food-container > div {
        flex-grow: 1;
        flex-basis: 0;
        padding: 3rem 4rem;
    }

.about-us h2 {
    color: var(--white);
}

.about-us p {
    color: gray;
}

.product h2 {
    color: var(--white);
}

.product p {
    color: gray;
}

.support h2 {
    color: var(--white);
}

.support p {
    color: gray;
}

.servies h2 {
    color: var(--white);
}

.servies p {
    color: gray;
}

.footer-flex-row {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.1rem 0rem;
    color: gray;
    font-family: var(--Livvic);
}

.footer-fixed {
    border-top: 1px solid #989393;
    background: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/*----X----Footer--------X-------*/
/* view port less than or equal to 750px */
@media only screen and (max-height:550px) {
    .container {
        margin-top: 10rem;
    }
}
/* view port less than or equal to 1100px */
@media only screen and (max-width:1100px){
    /*------  login ------*/

    .log-ewl {
        margin-top:2rem;
        margin-bottom:4rem;
    }
    .log-ewlogo {
        width: 15rem;
        height: 15rem;
    }

    .log_msg {
        font-size: 2.6rem;
    }


    .log_errmsg {
        font-size: 2.5rem;
    }

    .log-content {
        grid-template-columns: 100%;
    }

    .log-post {
        display: none;
    }

    .log-box {
        position: absolute;
        top: 0%;
        right: 0%;
        width: 100%;
        height: 100vh;
        padding: 80px;
        background: var(--white);
        box-sizing: border-box;
        box-shadow: 0 0px 0px var(--text-light);
    }
        .log-box h2 {
            font-size: 4rem;
        }

        .log-box .log-inputbox input {
            padding: .7rem 0;
            font-size: 2.4rem;
            margin-bottom: 5rem;
        }

        .log-box .log-inputbox label {
            padding: .3rem 0;
            font-size: 2.4rem;
        }

        .log-box .log-inputbox input:focus ~ label,
        .log-box .log-inputbox input:valid ~ label {
            top: -2rem;
            left: 0;
            font-size: 1.4rem;
        }

    .log-box input[type="submit"] {
        font-weight: 900;
        color: var(--white);
        padding: 1.5rem 2rem;
        font-size: 3rem;
        border-radius: 60px;
    }
    /* progress styl */
    .log_prog {
        width: 4.5rem;
        height: 4.5rem;
    }
    .footer-flex-row h4{
        font-size:2rem;
    }
    /*--X---  login ---X--*/
}
/* -X- view port less than or equal to 1100px -X- */

    /* view port less than or equal to 750px */
@media only screen and (max-width:750px) {

    .nav-menu, .nav-items {
        flex-direction: column;
    }

    .navtoggle-collapse, .navtoggle-icons {
        justify-content: flex-end;
        display: flex;
    }

    .nav-tittle {
        display: none;
    }

    .nav-log {
        width: 7rem;
        height: 3rem;
    }

    .site-background {
        padding-top: 28.5rem;
        text-align: center;
    }

    .site-title h1 {
        font-size: 1rem;
    }

    .site-content {
        grid-template-columns: 100%;
        margin: 3rem 0;
    }

    .food-container {
        grid-template-columns: repeat(1,1fr);
    }

    .footer-flex-row h4 {
        font-size: .8rem;
    }
    .login-wrapper {
        position: relative; /* Needed to position the spinner over it */
    }
}
    /* x view port less than or equal to 800px x */
