/* Responsive styles for the Gwent website */

@media (max-width: 1200px) {
    body {
        font-size: 14px;
    }
    .container {
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .nav {
        flex-direction: column;
    }
    .header, .footer {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
        margin-bottom: 20px;
    }
    .button {
        width: 100%;
    }
}

/* Styles pour le bouton burger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    transition: all 0.3s ease-in-out;
}

/* Tablettes */
@media screen and (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .welcome-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 24px;
    }
    .footer-text {
        font-size: 12px;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--secondary-color);
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }
}

/* Pour les très petits écrans */
@media screen and (max-width: 320px) {
    .logo {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* Ajouter à la fin du fichier */
.rotate-45 {
    transform: rotate(45deg) translate(5px, 5px);
}

.opacity-0 {
    opacity: 0;
}

.rotate--45 {
    transform: rotate(-45deg) translate(7px, -6px);
}