body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

p {
    color: #000000;
}

.top_segment {
    height: 25vh;
    padding-top: 1em;
    padding-bottom: 1em;
}

.top_segment img {
    margin-left: auto;
    margin-right: auto;
    width: auto;
    display: table;
}

.main_segment {
    background: url("images/manchado_waterfall.jpg");
    background-size: cover!important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    display: flex;
    position: relative;
    margin-top: 5vh;
    height: 95vh;
}

.rectangle_area {
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    /* padding-bottom: 12em; */
    margin-top: -5vh;
    display: table;
}

.rectangle {
    width: 18em;
    background: rgba(255,255,255,0.85);
    float: left;
    text-align: center;
    position: relative;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    /* -webkit-box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5); */
    -moz-box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5);
    /* box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5); */
}

.rectangle:hover {
    background: rgba(255,255,255,1);
    -webkit-box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.5);
}

div#jedj {
    height: 100%;
    margin-right: 10vw;
}

#mdj img {
    width: 75%;
}

p {
    font-size: 1.24em;
}

p.english {
    font-size: 1em;
    font-style: italic;
}

.white_fade {
    background: url(images/white_fade_2.png);
    background-repeat: repeat-x;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
}

.rectangle_content {
    padding: 1.5em;
}

.rectangle .button {
    position: absolute;
    bottom: -1.6em;
    left: 0;
    width: 18em;
    text-decoration: none;
    color: white;
    padding: 0.8em 0;
}

#jedj .button {background-color: #295923;}
#mdj .button {background-color: #000000;}

@media screen and (max-width: 1000px){
    div#jedj {
    margin-right: 1vw;
    }
}

@media screen and (max-width: 750px){
    .rectangle {
        float: none;
        height: auto!important;
    }
    #jedj {
        margin-bottom: 3em;
    }
}

@media screen and (max-width: 500px){
    .rectangle {
        width: 90vw;
    }
    .rectangle .button {
        width: 90vw;
    }
}
