@import url('https://api.fontshare.com/v2/css?f[]=gambetta@400&f[]=general-sans@600&display=swap');
html {
    scroll-behavior: smooth;
}

/** font-family: 'Gambetta', serif;
font-family: 'General Sans', sans-serif; **/

body {
    cursor: url(http://www.rw-designer.com/cursor-extern.php?id=129383);
}

marquee {
    font-family: 'General Sans', sans-serif;
    color: #51355A;
    font-size: 140px;
}

#wstęp {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: 'Gambetta', sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: #51355A;
}

#lista {
    display: flex;
    justify-content: center;
    align-items: center;
}

li {
    font-family: 'Gambetta', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #51355A;
}


.box1 {
    display: flex;
    align-self: center;
    padding-left: 5%;
    padding-right: 5%;
    margin-left: 5%;
    margin-top: -4%;
    width: 60%;
    height: 300px;
}

.box2 {
    display: flex;
    align-self: center;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    margin: 2%;
    text-align: right;
    height: 300px;
}

svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

text {
    font-size: 20px; 
    fill: #51355A; 
}

a:link {
    text-decoration: none;
    color: #51355A;
}
a:visited {
    text-decoration: none;
    color: red;
}
a:hover {
    text-decoration: none;
    color: red;
}

        ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        li {
            background-color: #f0f0f0;
            margin: 10px;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        li:hover {
            background-color: #ddd;
        }

        /* Modal Styles */
        #modal {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            font-family: monospace; /* Preserve spacing */
            white-space: pre-wrap;  /* Preserve newlines and spaces */
            color: #51355A;
            font-size: 15px;
            max-width: 90vw;        /* Prevent it from overflowing screen */
            max-height: 90vh;
            overflow: auto;
            border: 1px solid #999;
        }

        .close {
            background-color: #ccc;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            margin-top: 15px;
        }
        .close:hover {
            background-color: #bbb;
        }

                .hidden-content {
            display: none;
        }