*{
    padding: 0;
    margin: 0;
}

/*h2,info,p {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}*/

h2{
    color:white;
  }

h1{
    text-indent: -9999px;
}

header {
    position: fixed; /* 固定在页面顶部 */
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.0); /* 使用 rgba 设置透明度 */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* 确保 header 在其他内容之上 */
}

header ul{
    position: absolute;
    right:5vw;
    top:0;
    line-height: 80px;
}

header li{
    color:white;
    display:inline;
    margin-right: 4vw;
}

header a{
    color:white;
    text-decoration: none;
}

header a:hover{
    text-decoration:underline;
}

.slogan {
    height:100vh;
    background-image: url("images/background.png");
    background-size: cover;
    background-position: center;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding:0px 20vw 0px;
}
.slogan h2{
    font-size:40px;
}

.slogan p{
    color:#FEF7E6;
    font-size: 18px;
    margin:25px 25px;
}

.button_1 a{
    background-color: rgb(157, 22, 30);
    color:white;
    text-decoration:none;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 3px;
}
.button_1 a:hover{
    text-decoration: underline;
}

.button_2 a{
    background-color: white;
    color:black;
    text-decoration: none;
    border: 1px solid black;
    padding: 10px 20px;
    border-radius: 3px;
}
.button_2 a:hover{
    text-decoration: underline;
}

.info{
    width:30vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.buttons{
    display:flex;
    flex-direction: row;
    align-items: center;
}

.discovery{
    height:100vh;
    color: white;
    background-color: rgb(157, 22, 30);
    background-size: cover;
    background-position: center;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}

.discovery p{
    font-size: 40px;
    margin: 20px;
}

footer{
    background-color: black;
    color:#B7B7B7;
    height:60px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:14px;
}

html{
    scroll-behavior: smooth;
}

.menu{
    display: none;
}

/* for different divices */
@media screen and (max-width: 900px){
    .slogan {
        display:flex;
        flex-direction: column-reverse;
        align-items:center;
        }

    .buttons {
        display: flex;
        flex-direction: column;
    }

    .logo{
        margin-top: 30vh;
    }
    
    .info{
        width:100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}