:root {

    /* MAIN COLORS */
    --main-hue: 45; /* White */
    --main-background-color: hsl(var(--main-hue), 3%, 95%);
    --light-main-background-color: hsl(var(--main-hue), 3%, 100%);
    --dark-main-background-color: hsl(var(--main-hue), 3%, 85%);

    /* SECONDARY COLORS */
    --second-hue: 24; /* Light Red */
    --second-background-color: hsl(var(--second-hue), 20%, 89%);
    --light-second-background-color: hsl(var(--second-hue), 20%, 99%);
    --dark-second-background-color: hsl(var(--second-hue), 20%, 79%);

    /* THIRD COLORS */
    --third-hue: 356; /* Rose */
    --third-background-color: hsl(var(--third-hue), 79%, 42%);
    --light-third-background-color: hsl(var(--third-hue), 79%, 52%);
    --dark-third-background-color: hsl(var(--third-hue), 79%, 32%);

    /* FOURTH COLORS */
    --fourth-hue: 38; /* Brown */
    --fourth-background-color: hsl(var(--fourth-hue), 62%, 38%);
    --light-fourth-background-color: hsl(var(--fourth-hue), 62%, 48%);
    --dark-fourth-background-color: hsl(var(--fourth-hue), 62%, 28%);

    /* FIFTH COLORS */
    --fifth-hue: 41; /* Light Brown */
    --fifth-background-color: hsl(var(--fifth-hue), 34%, 76%);
    --light-fifth-background-color: hsl(var(--fifth-hue), 34%, 86%);
    --dark-fifth-background-color: hsl(var(--fifth-hue), 34%, 66%);

    /* HEIGHTS */
    --header-height: 300px;
    --footer-height: 100px;

    /* MARGIN */
    --article-margin: .6rem;
}

/* UNIVERSAL */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    min-height: 100vh;
}

/* HEADER */
header {
    display: flex;
    justify-content: center;
    height: var(--header-height); /* See more at :root about height */
    background-color: var(--main-background-color);
}
header img {
    position: absolute;
}
/* NAV */
nav {
    height: 100%;
    background-color: var(--main-background-color);
}
nav a {
    text-decoration: none;
    color: black;
}

/* MAIN */
main {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - (var(--header-height) + var(--footer-height))); /* See more at :root about height */
    width: 100%;
    background-color: var(--main-background-color);
}

main > div {
    display: flex;
}

main > div > img {
    height: 500px;
    width: 300px;
} 

/* SIDE FLOWERS */

.left, .right{
    display: none;
}

/* SECTION */
main > section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: var(--article-margin);
    background-color: var(--main-background-color);
}



/* FOOTER */
footer {
    height: var(--footer-height); /* See more at :root about height */
    /* background-color: var(--main-background-color); */
    background-color: hsl(0, 0%, 91%);
}

/* LIGHTBOX */
img {
    max-width: 100%;
    height: auto;
}

section img {
    width: 100%;
}

aside {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    padding: 1rem;
    background-color: var(--main-background-color);
}

.uploadImage [type="file"] {
    display: none;
}

.uploadImage label {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: #fff;
    background-color: hsl(1, 51%, 59%);
    /* background-color: #025bee; */
    text-align: center;
    padding: 15px 40px;
    font-size: 18px;
    letter-spacing: 1.5px;
    user-select: none;
    cursor: pointer;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.35);
    border-radius: 3px;
}

.uploadImage p {
    text-align: center;
}

.uploadImage img {
    width: 30px;
    margin-right: .7rem;
}

.uploadImage label i {
    font-size: 20px;
    margin-left: 10px;
}

.uploadImage label:active {
    transform: scale(0.9);
}

br {
    display: none;
}


.login main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--footer-height));
}

.login form {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 5;
    background-color: hsl(0, 0%, 91%);
    padding: var(--article-margin);
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.35);
}

.login form input {
    height: 40px;
    width: 300px;
    margin: calc(var(--article-margin) / 2);
    border-radius: 5px;
    border: none;
    background-color: var(--main-background-color);
    padding-left: var(--article-margin);
}

.login form input:last-of-type {
    margin-top: calc(var(--article-margin) * 2);
    padding-left: 0;
    cursor: pointer;
}

.login form input:last-of-type:hover {
    background-color: hsl(0, 0%, 80%);
}

.desktop {
    display: none;
}

.mobile {
    display: flex;
}

@media only screen and (min-width: 1200px) {


    .desktop {
        display: flex;
    }
    
    .mobile {
        display: none;
    }

    /* SIDE FLOWERS */
    main > img {
        position: absolute;
        z-index: 2;
        max-width: 350px;
        max-height: 100%;
    }

    .left, .right{
        display: block
    }

    .left {
        left: 0;
        top: 0;
    }

    .right {
        right: 0;
        bottom: 0;
        /* transform: scaleX(-1); */
    }

    /* SECTION */
    main > section {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        width: 1200px;
        padding: var(--article-margin);
        background-color: var(--main-background-color);
    }

    /* ARTICLE */
    article {
        margin-top: var(--article-margin);
    }

    .articleWitdh {
        width: calc(33% - var(--article-margin));
    }

    /* ASIDE */
    aside {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 300px;
        position: absolute;
        font-family: 'Poppins', sans-serif;
        z-index: 5;
        top: var(--header-height);
        /* top: calc(var(--header-height) + (var(--article-margin) * 2)); */
        right: calc((var(--article-margin) * 3));
        /* margin-top: calc(var(--article-margin) * 2); */
        background-color: none;
    }



}

section {
    width: 1000px;
    /* height: 50vw; */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: none;
  }

  
  .display img {
    width: 100%;
    animation: move 16s ease;

    /* Add infinite to loop. */
    
    -ms-animation: move 16s ease;
    -webkit-animation: move 16s ease;
    -o-animation: move 16s ease;
    -moz-animation: move 16s ease;
  }
  
  @-webkit-keyframes move {
    0% {
      /* IE 9 */
      -webkit-transform-origin: center left;
      -moz-transform-origin: center left;
      -ms-transform-origin: center left;
      -o-transform-origin: center left;
      transform-origin: center left;
      transform: scale(1.0);
      -ms-transform: scale(1.0);

      /* Safari and Chrome */
      -webkit-transform: scale(1.0);
      
      /* Opera */
      -o-transform: scale(1.0);
      
      /* Firefox */
      -moz-transform: scale(1.0);

    }
    50% {
      /* IE 9 */
      transform: scale(1.2);
      -ms-transform: scale(1.2);
      
      /* Safari and Chrome */
      -webkit-transform: scale(1.2);
      
      /* Opera */
      -o-transform: scale(1.2);
      
      /* Firefox */
      -moz-transform: scale(1.2);

    }
  }


.display {
    display: flex;
}