/* ----------------   GENERAL STYLESHEET   ------------------ */
/* This is where you make your general style and positioning edits. Make your animation edits in the animations.css file. */

body {
    font-size: 20px;
    color: whitesmoke;
    font-family: 'Monserrat', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Creates margins only between 2 text elements - prevents stray top and bottom margins */
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, p + p, p + h2, p + h3, p + h4, p + h5, p + h6, p + ul, ul + p, ul + h2, ul + h3, ul + h4, ul + h5, ul + h6 {
    margin-top: 1em;
    /* The unit of em for text can be useful for measurements relating to text size - 1em = height or width of one character. */
}

#container {
    background-color: #256AB3;
    overflow: hidden;
    height: 100%;
}

#container2 {
    background-color: #d84434;
    overflow: hidden;
    height: 100%;
}

li {
    list-style-type: none;
    display: inline;
}

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

a:hover {
    background-color: white;
}

a.current {
    color: red;
    background-color: white;
}

.button {
    padding-top: 20px;
}

a.primary-button:hover {
    padding: 20px 30px;
    background-color: #043e8b;
    color: whitesmoke;
    text-decoration: none;
    font-weight: bold;
}

a.primary-button {
    padding: 20px 30px;
    background-color: whitesmoke;
    color: #043e8b;
    text-decoration: none;
    font-weight: bold;
}

.text-area {
    padding: 5%;
    max-width: 80%;
    position: relative;
    z-index: 2;
    /* The unit of % can be useful when you want an element sized in relation to it's parent, rather than in relation to the whole viewport. */

}

a .arrowred:hover {
    border-left: 50px solid #d84434;
}

a .arrowredr:hover {
    border-right: 50px solid #E6715D;
}

a .arrowblue:hover {
    border-right: 50px solid #256AB3;
}

a .arrowbluer:hover {
    border-left: 50px solid #256AB3;
}

.main {
    position: relative;
    max-width: 550px;
    height: 100%;
}

.arrowred {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 50px solid #E6715D;
    bottom: 8vh;
    right: 10%;
    z-index: 100;
}

.arrowredr {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 50px solid white;
    bottom: 8vh;
    left: 10%;
    z-index: 100;
}

.arrowblue {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 50px solid white;
    bottom: 8vh;
    left: 10%;
    z-index: 100;
}
.arrowbluer {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 50px solid white;
    bottom: 8vh;
    right: 10%;
    z-index: 100;
}

#cord {
   background-color: #043e8b;
   max-width: 3px;
   height: 20%;
   margin: 0 auto;
}

#lamp {
    max-width: 545px;
    margin: 0 28%;
    z-index: 2;
}

#beam {
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

#plant1 {
    margin: 0 auto;
    position: absolute;
    left: 20%;
    bottom: 0;
    z-index: 5;
}

/*#wall {
    position: relative;
    height: 100%;
    float: left;
}*/

#floor {
    position: absolute;
    background-color: #E6715D;
    width: 100%;
    height: 25%;
    bottom: 0;
    margin: 0 auto;
}

#bluefloor {
    position: absolute;
    background-color: #043e8b;
    width: 100%;
    height: 25%;
    bottom: 0;
    margin: 0 auto;    
}

#pot {
    position: absolute;
    bottom: 15%;
    margin: 0 30%;
    max-width: 300px;
}


#plant2 {
    position: absolute;
    bottom: 25%;
    margin: 0 30%;
    max-width: 350px;
}

#character {
    position: absolute;
    width: 10%;
    top: 20%;
    right: 10%;
}

#circle {
    position: absolute;
    width: 30vw;
    height: 30vw;
    /* The unit of vw can be useful when you want an element sized in relation to the whole viewport, rather than in relation to it's parent. */
    background-color: white;
    border-radius: 50%;
    top: 70%;
    left: -5%;
    /* This positioning is relative to it's nearest ancestor that has relative positioning (.text-area). */
    z-index: -1;
    /* Places the circle behind the text. */
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 99;
    cursor: pointer;
  }
  
  #text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
  }


/* --------------------MEDIA QUERIES------------------ */

/* Starting at tablet width and larger */

@media only screen and (min-width: 769px) {

    .main {
        left: 10%;
    }

    .arrowred {
        top: 50%;
    }

    .arrowredr {
        top: 50%;
    }

    .arrowblue {
        top: 50%;
    }

    .arrowbluer {
        top: 50%;
    }

    .text-area {
        max-width: 75vw;
        margin: 0 auto;
    }
    .text-area h1 {
        font-size: 5vw;
        /* The unit of vw can be useful for headings and copy but use carefully! Text can still never go below the minimum of 16px for body copy */
    }
    .text-area p {
        font-size: 2vw;
    }
    #circle {
        top: 50%;
        left: -15%;
    }
}

/* Starting at desktop width and larger */

@media only screen and (min-width: 1080px) {

    .text-area {
        max-width: 55vw;
    }
    #circle {
        top: 60%;
        left: -30%;
    }
}