
.wrap {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
}

/*************************************
  NAV - DESKTOP
**************************************/

form.example::after {
    content: "";
    clear: both;
}

form.example button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

form.example button {
    margin-right: 20px;
}

.nav-desktop a:hover {
    background-color: rgba(255,255,255,0.2); /* whatever is the color behind, slighty ligher */
}

.nav-desktop a {
    display:inline-block;
    color: white;
}

.nav-desktop  .menu-desktop
{
    background-color: rgba(255,255,255,0);
}

.site-logo {
    color:white;
}

.nav-desktop {
    background-color: rgba(255,255,255,0);
}

.log-in-form {
    border: 1px solid #cacaca;
    padding: 1rem;
    border-radius: 0;
}

#button.logout{
    border: 0px solid #cacaca;
    border-radius: 0;
    padding-top:0;
    padding-bottom: 0;
    text-align: center;
}

/*************************************
   HERO
   https://www.toptal.com/designers/subtlepatterns/tag/dark
**************************************/

.more {
    text-overflow: ellipsis;
    overflow: hidden;
    height:220px;
}

.hero{
    background-color: lightgray;
    height:400px;
    padding: 50px 0;
    background-image: url('../img/heroBack.png');
}

.hero h2,
.hero p {
    color: rgba(255,255,255,0.8);
}

/*************************************
  MAIN
**************************************/

.main {
    padding: 50px 0;
}

/*************************************
  FOOTER
**************************************/

footer{
    background-color: rgb(185, 43, 43);
    padding: 80px 0;
}

footer hr {
    border-bottom: 1px solid rgba(255,255,255,0.1);

}
footer h4 {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 1.3em;
}
footer a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9em;
}

footer a:hover {
    color: rgba(255,255,255,0.4);

}
footer a span{
    font-weight: bold;
}

/**************************************
MEDIA QUERIES
**************************************/
@media screen and (max-width: 639px) {
    .more {
        text-overflow: ellipsis;
        overflow: hidden;
        height: 150px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        height: 300px;
        padding: 30px 0;
    }
}