body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: url("rinde.png"), auto;

    background-image: 
        url("../tlu_h200.png"),
        url("../tlu_h200.png");

    background-repeat: no-repeat, no-repeat;

    background-position:
    50px 250px,
    1700px 250px;

    background-attachment: fixed, fixed;

    background-color: #eef2f7;
    color: #1f2933;
}

header {
    background-color: #1e3a8a;
    padding: 20px 0;
    text-align: center;
}

header img {
    max-width: 100%;
    height: auto;
}

nav {
    margin-top: 15px;
}

nav menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

nav menu a:hover {
    color: #93c5fd;
    cursor: url("rinde.png"), crosshair;
}

nav menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #93c5fd;
    transition: width 0.3s ease;
}

nav menu a:hover::after {
    width: 100%;
}

main {
    max-width: 1400px;
    margin: 40px auto;   /* keskele */
    padding: 30px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 12px;
}


section {
    margin-bottom: 50px;
}

h1 {
    text-align: center;
    color: #1e3a8a;
    font-size: 36px;
    margin-bottom: 20px;
}

h2 {
    color: #1e40af;
    margin-bottom: 10px;
}

h3 {
    color: #2563eb;
}


a {
    color: #2563eb;
    transition: color 0.3s ease;
    /*cursor: url("rinde.png"), auto;*/
}
}

a:hover {
    color: #1e3a8a;
}

img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

video, iframe, audio {
    margin-top: 15px;
    border-radius: 10px;
}


ol, ul {
    margin-left: 20px;
}

dl {
    margin-top: 10px;
}


pre {
    background-color: #f1f5f9;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #1e3a8a;
    color: white;
    margin-top: 40px;
}

footer hr {
    border: none;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    margin-bottom: 15px;
}


/*COLORS - https://www.w3schools.com/cssref/css_colors.php*/
