* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.main {
    background: url(bg3.jpg);
    background-size: cover;
    height: 70vh;
    width: 100vw;
    padding-top: 70px; 
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    background-image: linear-gradient(90deg, rgb(22, 79, 184) 0%, rgb(60, 105, 163) 50%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 40px;
}

.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.center-logo img {
    height: 65px;
    width: auto;
}

.rightc {
    display: flex;
    flex-direction: row;
}

.leftc a,
.rightc a,
.rightc h3 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.header a:hover {
    text-decoration: underline;
    transform: scale(1.2);
}

.maintxt {
    padding: 20px;
    font-size: 28px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.maintxt h2 {
    font-size: 48px;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; 
    margin-top: 30px;
}

.button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.bttn {
    text-align: center;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.bttn button {
    cursor: pointer;
    border: white 2px solid;
    border-radius: 20px;
    transition: ease-in-out 0.3s;
    background: rgba(255, 255, 255, 0.89);
}

.bttn button:hover {
    transform: scale(1.1);
}

.bttn img {
    height: 100px;
}

.bttn p {
    margin-top: 5px;
}

.main4 {
    background: linear-gradient(135deg, #0f2027 0%, #205072 50%, #2ca0c9 100%);
    width: 100vw;
    padding: 40px;
    color: white;
}

.txtf {
    text-align: center; 
    margin-bottom: 30px;
}

.txtf h2 {
    font-size: 36px;
}

.txtf h4, a {
    font-size: 20px;
    color: white;
}

.footer {
    display: flex;
    justify-content: flex-start; 
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;     
    flex-direction: column;  
}

.fcenter {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;
}

.fcenter iframe {
    border-radius: 20px;
    max-width: 100%;        
}

@media (max-width: 480px) {

    .header {
        height: auto;
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .center-logo {
        position: static;
        transform: none;
    }

    .center-logo img {
        height: 50px;
    }

    .leftc,
    .rightc {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .leftc a,
    .rightc a,
    .rightc h3 {
        font-size: 15px;
        margin: 0;
    }

    .main {
        height: auto;
        padding-top: 120px;
        padding-bottom: 40px;
        width: 100%;
    }

    .maintxt {
        font-size: 16px;
    }

    .maintxt h2 {
        font-size: 32px;
    }

    .button-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .bttn {
        width: calc(33.333% - 10px); 
        text-align: center;
    }

    .bttn img {
        height: 80px;
    }

    .main4 {
        padding: 30px 20px;
    }

    .footer iframe {
        width: 90%;
        height: 300px;
    }
}


@media (min-width: 768px) and (max-width: 850px) and (orientation: portrait) {

    .header {
        
        gap: 15%;
    }

    .leftc a,
    .rightc a,
    .rightc h3 {
        font-size: 18px;
    }

    .main {
        height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
        width: 100%;
    }

    .maintxt {
        font-size: 24px;
    }

    .maintxt h2 {
        font-size: 40px;
    }

    .buttons {
        gap: 25px;
    }

    .bttn img {
        height: 90px;
    }

    .main4 {
        padding-top: 50px;
    }

    .footer iframe {
        width: 80%;
        height: 350px;
    }
}
