* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('images/background/cec2.png');
        background-size: cover;
        background-position: center;
        opacity: 0.6;
        z-index: -1;
    }

header {
    background: #1183C6;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 1px 1px black;
}
    
    header span {
        white-space:nowrap;
    }

.container {
    display: flex;
    flex: 1;
    height: calc(100vh - 160px); /* scade header și footer */
    flex-wrap: wrap;
}

.left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

    .left img {
        width: 100%;
        max-width: 600px;
        height: auto;
        transform: translateX(10%);
    }

.right {
    flex: 1;
    color: #003366;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    z-index: 888;
}

.button-link {
    display: flex;
    align-items: center;
    background-color: #fff;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    text-decoration: none;
    color: #003366;
    transition: background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

    .button-link:hover {
        background-color: #cbe2f2;
    }

    .button-link img {
        width: 74px;
        height: 64px;
        margin-right: 15px;
    }

.link-text {
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.link-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
}

.social-footer {
    background-color: #1183C6;
    padding: 10px 0;
    text-align: center;
    z-index: 9999;
}

    .social-footer img {
        width: 48px;
        height: 48px;
        margin: 0 6px;
        vertical-align: middle;
        transition: opacity 0.3s ease;
        filter: drop-shadow(0 0 1px white);
    }

        .social-footer img:hover {
            opacity: 0.7;
        }

footer {
    background-color: #1183C6;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
    z-index: 9999;
}

.description {
    margin-bottom: 30px;
    text-align: center;
    font-size: x-large;
    text-shadow: 1px 1px #ccc;
}


@media (max-width: 768px) {
    body {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container {
        flex-direction: column;
        height: auto;
    }

    .left {
        display: none;
    }

    .right {
        justify-content: start;
    }

    .button-link {
        flex-direction: row;
        max-width: 90%;
        position: relative;
    }

        .button-link > img {
            display: none;
            position: absolute;
            left: 0;
            top: 16px;
        }
    .link-title{
        /*margin-left: 60px;*/
    }


    .description {
        margin-bottom: 10px;
        font-size: larger;
    }

    header {
        background-image: url('images/logo/logo.png');
        background-position: 15px center;
        background-repeat: no-repeat;
        background-size: 50px;
        font-size: 20px;
        padding-left: 70px;
        padding-right: 70px;
    }
}
