/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
body {
    font-family: 'Caveat', cursive;
font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    color: whitesmoke;
    line-height: 1.6;

}

/* Header styles */
.header {
    transition: backdrop-filter 0.5s ease, background-color 0.5s ease; /* トランジションを設定 */

    position: fixed; /* ヘッダーを固定する */
    top: 0; /* 上端に固定 */
    width: 100%; /* ヘッダーの幅を100%に設定 */
    z-index: 1000; /* ヘッダーを他の要素の上に表示するためのz-index値 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    backdrop-filter: blur(15px);
    top:0px;
    border-radius :20px
    
}
.background {
    filter: blur(2px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/img.png'); /* ここで背景画像のパスを指定 */
    background-size: cover;
    z-index: -1;
    transition: backdrop-filter 0.5s ease, background-color 0.5s ease; /* トランジションを設定 */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #8CFFEA;
    position: relative; /* ロゴ要素に対して相対的な位置を指定 */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
}

/* Hero section styles */
.hero {
    margin-top: 6rem;
    text-align: center;
    padding: 4rem 0;
    color: #fff;
    
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #fff;
    color: #007bff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

/* Features section styles */
.features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 0;
    padding-top: 300px;
}

.feature {
    text-align: center;
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}
.glow {
    animation: glowing 2s infinite;
}

@keyframes glowing {
    0% {
        text-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem; /* ヒーローセクションのタイトルのフォントサイズを調整 */
    }

    .feature {
        width: 100%; /* 特徴セクションの幅を100%に設定 */
    }
}

