/*------------------ css reset -------------------------*/

* {
    margin: 0;
    font-size: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: auto;
    line-height: 1.5em;
    background-color: white;
    font-size: 1em;
    font-family: 'dosis', sans-serif;
    color: black;
    float: left;
}


/*------------------- typography ------------------------*/

.welcome {
    width: 100%;
    height: 100vh;
    margin: auto;
    font-size: 3em;
    background: url(img/element_bg_pattern.png);
    overflow: hidden;
    background-repeat: no-repeat;
}

section.welcome h2 {
    letter-spacing: 0.01em;
    max-width: 100%;
    text-align: center;
    margin: auto;
    font-size: 2em;
    padding-top: 25%;
    font-family: 'dosis', sans-serif;
    font-weight: bold;
    color: #5FB2E4;
    line-height: .0em;
}

section.welcome h3 {
    letter-spacing: 0.01em;
    max-width: 50%;
    text-align: center;
    margin: auto;
    font-size: .5em;
   padding-top: 3em;
    font-family: 'dosis', sans-serif;
    font-weight: bold;
    color: #F49918;
    line-height: 2em
}

.cards {
    width: 100%;
    line-height: 1em;
    margin: auto;
    background-color: white;
    font-size: 1.75em;
    padding-bottom: .5em;
    float: left;
}

#cards {
    line-height: 1em;
    max-width: 100%;
    margin: auto;
    padding-top: 1em;
}

section.cards h2 {
    line-height: 1.65em;
    letter-spacing: .01em;
    max-width: 100%;
    text-align: center;
    margin: auto;
    font-size: 1em;
    font-family: 'dosis', sans-serif;
    font-weight: normal;
    color: gray;
    padding-top: .5em;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
}


/*---cards gallery---*/


.gallery {
    margin: 3em;
    padding: 5px;
}

.gallery > div {
    position: relative;
    float: left;
    padding: 5px;
}

.gallery > div > img {
    width: 250px;
    transition: .1s;
}

.gallery > div:hover {
    z-index: 1;
}

.gallery > div:hover > img {
    transform: scale(1.5, 1.5);
    transition: .3s;
}

.gallery > div > a > img {
    width: 25px;
    transition: .1s;
    width: 200px;
}

.gallery > div:hover > a > img {
    transform: scale(1.5, 1.5);
    transition: .3s
}

.cf:before,
.cf:after {
    display: table;
    content: "";
    line-height: 0;
}

.cf:after {
    clear: both;
}


/* ---------- select cursors ---

#sulfur: hover {
    cursor: url(img/blue_select.png), auto;
}

#helium {
    cursor: url(img/grey_select.png), auto;
}

#calcium {
    cursor: url(img/lilac_select.png), auto;
}

#nitrogen {
    cursor: url(img/orange_select.png), auto;
}

#oxygen: hover {
    cursor: url(img/yellow_select_1.png), auto;
}
----*/

/*----- Footer -----*/

.contact {
    width: 100%;
    line-height: 1em;
    margin: auto;
    background-color: #C497C5;
    font-size: 1.75em;
    padding-bottom: 4em;
    padding-top: 2em;
    float: left;
    font-family: 'dosis', sans-serif;
}

section.contact h1 {
    line-height: 1em;
    max-width: 100%;
    text-align: center;
    margin: auto;
    font-size: 1em;
    font-family: 'dosis', sans-serif;
    color: white;
}

section.contact a:hover {
    color: white;
    text-decoration: underline;

}


section.contact a {
                text-decoration: none;
                color: #FFF
    /*--- cursor: url(img/arrow-orange.png); ---*/
}
}