body{
    margin: 0;
}

header{
    width: 100%;
    height: 75vh;
    background: linear-gradient(115deg, #fc9e63 50%, transparent 50%) center center / 100% 100%,
                url("../img/オレンジkiss.jpg") right center / auto 100%;
    animation: example1;
    animation-duration: 3s;
    animation-iteration-count: 1;
}

@keyframes example1{
    from {
        transform: rotate(-30deg) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: rotate(0deg) translateY(0%);
        opacity: 1;
    }
}

.box1{
    left: 200px;
    top: 20px;
    background: url("../img/黑色.jpg") right center;
    background-size:contain;
    border: 5px #82679f solid;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    position: absolute;

    animation-name: animbox1;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

@keyframes animbox1{
    0% {
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(360deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.container{
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.headerText{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

h1{
    color: aliceblue;
    font-family: 'Tangerine',cursive;
    font-size: 3rem;
    font-weight: 900;
    border-bottom: 15px solid rgba(130, 103, 159, 0.8);
}

p{
    color: aliceblue;
}

.title{
    margin: 0 auto;
}

h2{
    text-align: center;
}

.row{
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column{
    flex: 25%;
    max-width: 24%;
    padding: 0 0.5%;
}

.column img{
    margin-top: 8px;
    display: block;

    width: 100%;
    height: auto;
}

.box{
    position: relative;
    width: 100%;
}

.overlay-1{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgb(44, 111, 151,0.8) 0%,
    rgba(255, 255, 255, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-1{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-2{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(4, 146, 8, 0.8) 0%,
    rgba(236, 56, 56, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-2{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-3{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(249, 162, 149, 0.8) 0%,
    rgba(255, 235, 125, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-3{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-4{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgb(201, 111, 155,0.8) 0%,
    rgba(190, 206, 211, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-4{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-5{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(198, 202, 68, 0.8) 0%,
    rgba(87, 160, 114, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-5{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-6{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(130, 103, 159, 0.8) 0%,
    rgba(252, 158, 99, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-6{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-7{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(247, 200, 134, 0.8) 0%,
    rgba(146, 247, 242, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-7{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}
.overlay-8{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(43, 47, 80, 0.8) 0%,
    rgba(82, 137, 220, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.8) rotateY(90deg);
    transition: all 0.3s;
}
.box:hover .overlay-8{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}

.text{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #ffffff;
    font-size: 1.5rem;
    border-bottom: 5px solid white;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer{
    padding: 10px;
    text-align: center;
    background-color: lightgray;
}

footer a{
    color: #050505;
    padding: 5px;
    text-align: center;
    text-decoration: none;
}

footer a:hover{
    color: #858685;
}

footer img{
    width: 20px;
    height: 20px;
}

.menu li{
    list-style-type: none;
    display: inline-block;
    width: 70px;
    margin: 0 10px;
}
.menu a{
    display: block;
    padding: 10px;
    background: rgba(163, 99, 231, 0.8);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}
.menu a:hover{
    background: #82679f;
}