* {
    margin: 0;
    padding: 0;
}

#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #333;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.splashbg {
    display: none;
}

body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #333;
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }
    50% {
        transform-origin: left;
        transform: scaleX(1);
    }
    50.001% {
        transform-origin: right;
    }
    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

#container {
    opacity: 0;
    text-align: center;
}

#container p {
	padding: 5px 0;
}

body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 60px;
    max-width: 960px;
}

span {
    background-color: black;
    color: white;
    font-size: 25px;
    margin: 5px 30px;
    padding: 5px 12px;
}

li {
    display: inline;
    margin-right: 20px;
    font-size: 14px;
}

a {
    list-style: none;
    text-decoration: none;
    color: black;
}

img {
    width: 100%;
    height: 500px;
}

.main-img {
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/*.main-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    transform: skewY(2deg);
    transform-origin: top right;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: white;
}*/

h2 {
    display: inline-block;
    border-bottom: 1px solid black;
    margin-bottom: 60px;
    margin-top: 80px;
    font-size: 32px;
}

.fadeInUpTrigger{
    opacity: 0;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 4%;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 24px;
    object-fit: cover;
}

.text {
    text-align: left;
    font-size: 14px;
    line-height: 30px;
}

#work ul {
    display: flex;
    justify-content: space-between;
}


#work li {
    width: 45%;
}

.sample img {
    object-fit: contain;
    zoom: 0.4;
    width: 100%;
    height: 400px;
}

#point {
    margin-top: 10px;
    padding: 5px;
    text-align: left;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: lightgoldenrodyellow;
}

footer {
    text-align: center;
    font-size: 10px;
    margin-top: 70px;
}

@media screen and (max-width: 600px) {
    img {
        height: calc(100vh - 60px);
        object-fit: cover;
    }

    #about .content {
        flex-direction: column;
        line-height: 30px;
    }

    #about img {
        margin-right: 0;
    }

    #work ul {
        flex-direction: column;
    }

    #work li {
        width: 100%;
        margin-bottom: 20px;
        border-bottom: 1px solid gainsboro;
    }

    #work p {
        margin-bottom: 10px;
    }

    h3 {
        margin: 10px 0;
    }
}