* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

.main {
    background: url(bg1.png);
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative; 
}

.header {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px;
}

.header a {
    color: white;
    font-size: 38px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header a:hover {
    transform: scale(1.15);
    color: #4882ff;
    text-decoration: none;
}

.center, .bottom, .header {
    position: relative;
    z-index: 1;
}

.center {
    display: flex;
    align-items: center;
    margin: 7%;
    flex-direction: column;
    color: white;
}

.center h2 {
    font-size: 90px;
    position: relative;
    top: 100px;
}

.center img {
    height: 400px;
    transition: transform 0.4s ease;
}

.center img:hover {
    transform: scale(1.05);
}

.bcenter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;  
    color: white;
    position: absolute;      
    right: 0;                
    top: auto;               
    bottom: auto;
    transform: none;         
    margin-right: 20px;       
    text-align: right;
    z-index: 5;
}

.bcenter h4 {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.bcenter h4:hover {
    transform: scale(1.1);
}

.main2 {
    background: url(bg2.png);
    background-size: cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    position: relative; 
}

.top2 {
    width: 100%;
    text-align: center;
}

.top2 h2 {
    font-size: 48px;
}

.top2 p {
    font-size: 28px;
}

.center2 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.center2 iframe {
    width: 90%;
    max-width: 1000px;
    height: 700px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.center2 iframe:hover {
    transform: scale(1.02);
}

.main3 {
    height: 50vh;
    background: url('file.gif') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.together {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.bttn, .bttn1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
    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: 767px) {
    .main {
        min-height: auto;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .header a {
        font-size: 24px;
    }

    .center h2 {
        font-size: 36px;
        top: 50px;
    }

    .center img {
        height: 200px;
    }

    .bcenter {
        right: 10px;
        top: auto;         
        transform: none;
        align-items: flex-end;
        text-align: right;
    }

    .bcenter h4 {
        font-size: 18px;
    }

    .top2 h2 {
        font-size: 28px;
    }

    .top2 p {
        font-size: 16px;
    }

    .center2 iframe {
        width: 95%;
        height: 500px;
        margin-bottom: 80px;
    }

    .main3 {
        height: 50vh;
    }

    .center3 h2 {
        font-size: 24px;
    }

    .bttn {
        width: 90%;
        font-size: 14px;
    }

    .bttn1 {
        width: 80%;
        font-size: 14px;
    }
}

.center3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main {
        min-height: auto;
    }

    .header a {
        font-size: 32px;
    }

    .center h2 {
        font-size: 60px;
        top: 70px;
    }

    .center img {
        height: 300px;
    }

    .bcenter {
        right: 20px;        
        top: auto;           
        transform: none;
        align-items: flex-end;
        text-align: right;
    }

    .bcenter h4 {
        font-size: 22px;
    }

    .top2 h2 {
        font-size: 36px;
    }

    .top2 p {
        font-size: 20px;
    }

    .main2 {
        height: 70vh;
    }

    .center2 iframe {
        width: 90%;
        height: 600px;
    }
    
    .main3 {
        height: 45vh;
    }

    .center3 h2 {
        font-size: 28px;
    }

    .together {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .bttn {
        width: 300px;
        font-size: 16px;
    }

    .bttn1 {
        width: 150px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .bcenter {
        position: absolute;       
        right: 0;                
        width: max-content;       
        margin: 0;                
        padding-right: 10px;      
        text-align: right;
        align-items: flex-end;
        right: -190px;
        top: -50px;                    
        z-index: 10;
    }
}

@media (min-width: 800px) and (max-width: 810px) {
    .bcenter {
        right: -400px;
        top: -65px;                    
    }
}

@media (max-width: 475px) {
    .bcenter {
        right: -215px;
        top: -55px;                    
    }
}

@media (min-width: 360px) and (max-width: 384px) {
    .bcenter {
        right: -190px;
        top: -55px;                    
    }
}