@charset "utf-8";

a {
    text-decoration: none;
}

h1{
    margin: 0;
}

h1 {
    position: relative;
    transition: color .3s;
}

h1:hover {
    color: rgba(255, 255, 255, 0.6);
}

h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: orange;
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: center top;
}

h1:hover::after {
    transform: scale(1, 1);
}

header {
    background: #363636;
}

header .container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

ul {
    margin: 0 auto;
    padding: 0;
}

ul li {
    list-style: none;
}

li {
    text-align: center;
}

.gallery img {
    margin: 0 0 30px 0;
    border-radius: 4px;
    width: 70%;
}

img {
    display: inline-block;
    margin: 0 auto;
}

img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.gallery{
    margin:0 auto;
}

.wrapper{
    width: 94%;
    max-width:100%;
    margin: 0 auto;
}

footer {
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    background: #363636;
    position: sticky;
    top: 100vh;
    width: 100%;
}

/* animation */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
}
.animate.appear {
    opacity: 1;
    transform: none;
}

@media screen and (max-width: 640px) {
    h1::before{
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        border-bottom: solid 2px orange;
        transform: translateX(-50%);
        animation: orange 3s .5s linear forwards;
    }
    
    @keyframes orange {
        0%{
            width: 0%;            
        }
        100%{
            width: 65%;            
        }
    }

}