/* CSS Document */
html {
    box-sizing: border-box;
    font-family: "Helvetica Neue", arial, sans-serif;
    min-height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
    min-height: 100%;
    margin: 0;
    background: url( "images/steam.png") repeat-x fixed, url( "images/microscope.png.png") repeat-x left bottom, white linear-gradient(0deg, hsl(206deg 90% 15%) 0%, hsl(193deg 93% 24%) 32%, hsl(193deg 93% 24%) 100%) fixed;
}

#wrapper {
    overflow: hidden;
    background-color: #045c74;
    border-radius: 72px;
    box-shadow: inset 0px 0px 10px  #e2dcc9;
    padding: 30px;
}

header {
    border-radius: 10px;
    border: 2px solid black;
    margin: 20px;
    background: #f7f7f7;
}

h1 {
    line-height: 4;
    text-align: center;
    flex: 1 0 auto;
    margin: 0;
    color: black;
    font-family: "Myriad Pro Regular", sans-serif;
    letter-spacing: 4px;
    background: transparent;
}
    
section {
    border: 2px solid black;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    background:  #F7F7F7;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

p {
    margin: 10px 5px 10px;
    line-height: 1.4;
}

a.button1 {
    display:inline-block;
    line-height: 2;
    padding: 0 1em;
    text-decoration: none;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 0px 0px 3px #0a5f70;
    color: #0A5F70;
    background: #FFFFFF;
    font-weight: bold;
    margin: 2px;
}

a.button1-small {
    font-size: 0.8em;
}

a.button1-large {
    font-size: 1.5em;
}

a.button1:hover {
    box-shadow: none;
}

a.button1-hover:hover{
    width:200px;
}

a.button1-rotate:hover{
    box-shadow: 3px 3px 3px #49d7f3;
}

a.button1:active {
    box-shadow: inset 0px 0px 20px black;
}

a.button1-secondary {
    color: #49d7f3;
    background: #042058;
    
}

a.button1-3d {
    box-shadow: 0 5px 0 #042058;
    margin: 8px;
}

a.button1-round {
    border-radius: 40px;
}

a.button1-footer {
    color:#063356;
    background: #49d7f3;
    
}

a.button1-hover{
    transition: width 3s;
}

a.button1-pop {
    animation-name: pop;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

a.button1-grow {
    animation-name: grow;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

a.button1-grow:hover {
    animation: none;
}

footer {
    color: antiquewhite;
}



h5 a {
    color: antiquewhite;
}

@keyframes pop {
  from {background-color: #49d7f3;}
  to {background-color: #f9f9f9;}
}

@keyframes grow {
    from {box-shadow: 0 3px 0 #042058;}
    to {box-shadow: 0 10px 0 #042058;}
}

@media (min-width: 48rem) {
    
    #wrapper {
         width: 96%;
        max-width: 800px;
        margin: 20px auto;
    }
    
    header {
        height: 200px;
        background: url("images/steam.png") no-repeat bottom 35px right 35px / 80px 80px,#F9F9F9;
    }

    header h1 {
        line-height: 2;
        font-size: 2.75em;
        align-self: flex-end;
        
    }
  
  
     img {
        width: auto;
        float: right;
        margin: 10px 10px 10px 10px;
    }
    
}