/* Styles pour les éléments rétro des années 90 */

/* Éléments rétro positionnés aux coins */
.retro-element {
    position: fixed;
    z-index: 9990;
    pointer-events: none;
}

/* Positionnement des éléments */
.retro-element.top-left {
    top: 10px;
    left: 10px;
}

.retro-element.top-right {
    top: 10px;
    right: 10px;
}

.retro-element.bottom-left {
    bottom: 10px;
    left: 10px;
}

.retro-element.bottom-right {
    bottom: 10px;
    right: 10px;
}

/* Style pour le marquee */
.retro-marquee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    background-color: #000080;
    color: #ffffff;
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-size: 12px;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    z-index: 9991;
}

/* Style pour le compteur de visiteurs */
.visitor-counter {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 5px 10px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-size: 12px;
    color: #000080;
    z-index: 9992;
}

/* Style pour la souris rétro */
.retro-mouse-trail {
    display: block;
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #000;
    pointer-events: none;
    z-index: 99999;
}

/* Style pour les GIFs animés */
.construction-gif {
    max-width: 88px;
    height: auto;
    image-rendering: pixelated;
}

.email-gif {
    max-width: 88px;
    height: auto;
    image-rendering: pixelated;
}

/* Style pour les mises en page façon Windows 95 */
.retro .glass-panel {
    position: relative;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    background-color: #c0c0c0;
    box-shadow: 1px 1px 0 #000000;
    color: #000000;
}

.retro .glass-panel::before {
    background: none;
}

.retro .section-title {
    color: #000080;
    font-family: "Arial Black", Arial, sans-serif;
    text-transform: uppercase;
    border-bottom: 2px solid #000080;
    padding-bottom: 5px;
}

/* Style pour les boutons rétro */
.retro button, 
.retro .submit-button {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 1px 1px 0 #000000;
    padding: 2px 10px;
    color: #000000;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
}

.retro button:active, 
.retro .submit-button:active {
    border-color: #808080 #ffffff #ffffff #808080;
    box-shadow: inset 1px 1px 0 #808080;
}

/* Listes à puces avec des images rétro */
.retro ul {
    list-style-image: url('data:image/gif;base64,R0lGODlhCAAIAIAAAP///wAAACH5BAEAAAAALAAAAAAIAAgAAAIIhI+py+0PYysAOw==');
    padding-left: 25px;
}

/* Effet de pixellisation sur les images */
.retro img {
    image-rendering: pixelated;
    border: 2px solid #ffffff;
    box-shadow: 2px 2px 0 #000000;
}

/* Barre de défilement personnalisée pour le thème rétro */
.retro::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

.retro::-webkit-scrollbar-track {
    background-color: #c0c0c0;
    border: 1px solid #808080;
}

.retro::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
}

.retro::-webkit-scrollbar-button {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    height: 16px;
    width: 16px;
}

/* Animation de clignotement pour certains éléments */
.retro .blink {
    animation: retroBlink 1s infinite;
}

@keyframes retroBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Police d'écriture spéciale pour le thème rétro */
@font-face {
    font-family: 'MS Sans Serif';
    src: local('MS Sans Serif'), local('Microsoft Sans Serif');
    font-weight: normal;
    font-style: normal;
}

/* Styles médias queries pour la responsivité */
@media (max-width: 768px) {
    .retro-marquee {
        font-size: 10px;
    }
    
    .visitor-counter {
        font-size: 10px;
        bottom: 45px; /* Au-dessus du bouton de thème sur mobile */
    }
    
    .retro-element.top-left,
    .retro-element.top-right,
    .retro-element.bottom-left,
    .retro-element.bottom-right {
        max-width: 60px;
    }
}

/* Curseurs Windows 95 spécifiques */
.retro a, 
.retro button,
.retro .glass-panel:hover {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF+SURBVFhH7ZY9TsQwEIWdghZR7kGoBLSIgpJzQEVNQUHDGSg4BEdYKloKJI7CIehW2tHzZryJZfnjJBV+0qdkxuOxn53ETllcXJYViFa0iuyV0cbYxVSUjfmKNsbeYj5/FH8vn6JL5Iz0E4cBR4tcIIkXQg3ZvYqOlRbK70r3DTmNQDg+LTsNRTJWpG5/8V1qlA3RDMh3I8iEDQnYkBSbJSt06KFZnMuZRmhfzfQZA/wuvCqcXb9tHIZCXgPuir4+vndbwxRYUZeBwyWs7jMDIcjIqcIXrY6KsSpcw4KdW99U+OSVz2rTpnkDGZAYEGMPGmPlQQHh+PYdSPwxgPNxBlQG6JJaZBCQAf53mTnZN/ChR9HGOdg0hZcBvvpBaKnEuq7EgJnFjN69wd07VmF0D9jRE5M7pUV4LmIOrfQpMEkHT4j5+rZD/xrYsAZiWEN8jfhTe/YaSOVGaY6JdwppjCnLEMxzAJHsHDBngNF7QJYhx4C5nBLmXH5VqMov9M65P8HB0VcAAAAASUVORK5CYII=') 10 10, pointer !important;
}

.retro input,
.retro textarea {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFrSURBVFhH7Za/S8NAFMeTIB3sXyfdzVIQJ1e7WIpLi4u4OIiLLv4fbt0cFJw6CXYQOoibndxaOjioIFSh5nyXe5fU9H6l8QepH/iQ8O7eu/fNvZJcgvq1YM9iSQyJuhhQnoWFEFqZK9EWLVf8tH1xO16LZn9NHIiJ74gM2Nc6JzLxRiiJ6LUmTnzTw/2VvmKbEXCbPxGNDSV1QeVr/zVqlEWiJsj3I8iECgm0IRGq6D0QtL5HZnEutRphs2qkjwz4t/BJ4XzwPPMwJOQe8OeiV3pttIY5sCL3gMUlFH2uIASZOFb4wdZG2dTcNywo3dm3FB48fTNsVmyqbTID0gNs7FXGWLlVQNi+9k5k/spAzZ8BJgO4pCb0CDLAfxZpTvqSfNFjjLkHqyq0DHD1W6GhEuvcEgN6FnP67g4375iEZn+gnXZueBJahI8icviFOgU66fAJ0V/3DOlfQxnOgBoukY+TP7dnr4FUbpXWqPgwpDWKZWiZrwFEsu+A7zeQGgbtjPdluwAAAABJRU5ErkJggg==') 10 10, text !important;
}

/* Autres éléments du mode rétro */
.retro-window-title {
    background-color: #000080;
    color: white;
    font-weight: bold;
    padding: 2px 4px;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    font-size: 12px;
    height: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.retro-title-buttons {
    display: flex;
    gap: 2px;
}

.retro-title-button {
    width: 14px;
    height: 14px;
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

/* Ajout d'icônes Retro Desktop */
.retro .desktop-icons {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    pointer-events: none;
}

.retro .desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    text-align: center;
}

.retro .desktop-icon-img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    pointer-events: none;
}

.retro .desktop-icon-name {
    font-size: 11px;
    color: #000000;
    background-color: #c0c0c0;
    padding: 0 4px;
    pointer-events: none;
} 