* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.main {
    min-height: 100vh;
    background: url(bg3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 100px;
}

.header {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 30px 30px 30px;
    will-change: transform;
}

.header a {
    color: rgb(0, 0, 0);
    font-size: 38px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    transform-origin: center;
}

.header a:hover {
    transform: scale(1.15);
    color: #4882ff;
    text-decoration: none;
}

.top {
    color: black;
    margin-top: 0;
    padding: 40px;
    text-align: center;
}

.top h1 {
    font-size: 48px;
}

.top p {
    font-size: 24px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 65px;
    padding-bottom: 40px;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
    min-height: 680px;
    width: 500px;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 100px 100px rgba(0,0,0,0.3);
    padding-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    color: #fff;
    text-align: left;
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    background: rgba(20, 20, 30, 0.8);
}

.box h2 {
    font-size: 36px;
    text-align: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-left: 20px;
    box-sizing: border-box;
    text-align: left;
}

.content h3 {
    font-size: 28px;
}

.content h4 {
    font-weight: 600;
}

.content p {
    font-size: 20px;
    margin: 0 0 5px 0;
}

.content h6 {
    font-size: 14px;
    font-weight: 300;
}

.content hr {
    width: 90%;
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

.main3 {
    height: 40vh;
    background: url('file.gif') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.top3 {
    display: flex;
    padding: 40px 40px;
    justify-content: center;
}

.top3 h2 {
    font-size: 44px;
    transition: transform 0.3s ease;
}

.top3 h2:hover {
    transform: scale(1.05);
}

.center3 {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.center3 h2 {
    transition: transform 0.3s ease;
}

.center3 h2:hover {
    transform: scale(1.05);
}

.together {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}

.bttn, .bttn1 {
    transition: transform 0.3s ease, background 0.3s ease;
    will-change: transform, background;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    padding: 0 20px;
    height: 60px;
}

.bttn {
    width: 360px;
}

.bttn1 {
    width: 170px;
}

.bttn:hover, .bttn1:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
    .header a {
        font-size: 30px;
    }
    .top h1 {
        font-size: 40px;
    }
    .top p {
        font-size: 20px;
    }
    .box {
        width: 400px;
        min-height: auto;
    }
    .content h3 {
        font-size: 24px;
    }
    .content p {
        font-size: 18px;
    }
    .together {
        flex-direction: column;
        gap: 10px;
    }
    .bttn {
        width: 300px;
        font-size: 16px;
        padding: 0 20px;
    }
    .bttn1 {
        width: 150px;
        font-size: 16px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 40px;
    }
    .header a {
        font-size: 26px;
    }
    .top h1 {
        font-size: 32px;
    }
    .top p {
        font-size: 18px;
    }
    .box {
        width: 90%;
        min-height: auto;
    }
    .content h3 {
        font-size: 22px;
    }
    .content p {
        font-size: 16px;
    }
    .together {
        flex-direction: column;
        gap: 10px;
    }
    .bttn {
        width: 90%;
        font-size: 14px;
        padding: 0 20px;
    }
    .bttn1 {
        width: 80%;
        font-size: 14px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .main3 {
        height: 70vh;
    }
    .header a {
        font-size: 22px;
    }
    .top h1 {
        font-size: 28px;
    }
    .top p {
        font-size: 16px;
    }
    .box {
        width: 95%;
        min-height: auto;
    }
    .content h3 {
        font-size: 20px;
    }
    .content p {
        font-size: 14px;
    }
    .together {
        flex-direction: column;
        gap: 10px;
    }
    .bttn {
        width: 90%;
        font-size: 14px;
        padding: 0 20px;
    }
    .bttn1 {
        width: 80%;
        font-size: 14px;
        padding: 0 20px;
        width: 335px;
    }
}
