body{
    margin: 0;
}

header{
    width: 100%;
    height: 75vh;
    background: linear-gradient(115deg, #61b8d3 50%, transparent 50%) center center / 100% 100%,
                url("../img/初戀12-1.png") right center / auto 100%;
    animation: example1;
    animation-duration: 4s;
    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/初戀心-1.png") right center;
    background-size:contain;
    border: 5px white 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 rgb(216, 224, 144, 0.7);
}

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{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(112, 195, 250, 0.8) 0%,
    rgb(254, 225, 54, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(0.5) rotateY(360deg);
    transition: all 1.2s;
}

.box:hover .overlay{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}

.text{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    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(228, 230, 123, 0.7);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}
.menu a:hover{
    background: #90ddbb;
}