﻿/*
    Simo Pahulan Verkkosivustoanalyysin tyylit
    tiedosto: tyylit.css
*/
:root {

    --background-body-color: #000000;
    --background-content-color: #ff0000;

    --text-color: #f0f8ff;
    --primary-color: #ffc300;
    --secondary-color: #89e9f3;
    --header-bg-color: #2c3959;

    --link-color: #a7ff83;
    --link-hover-color: #69e8ff;
    --link-visited-color: #ffb8b8;
}
body {
    font-family: 'Verdana', 'Liberation Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-image: url('sunset-kotkataus.jpg');

    background-repeat: repeat;


    background-size: auto;


    background-attachment: fixed;

    margin: 0;
    padding: 20px;
}

#content {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


header h1 {
    font-size: 2.2em;
    text-align: center;
    color: var(--primary-color);
    padding: 20px;
    margin-bottom: 0;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    margin-top: 35px;
}

h3 {
    color: var(--link-color);
    margin-top: 25px;
    font-size: 1.2em;
}


#table-of-contents {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--header-bg-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
}

#table-of-contents h2 {
    border-bottom: 1px solid var(--primary-color);
    margin-top: 0;
    padding-bottom: 5px;
}

#table-of-contents ul {
    list-style-type: none;
    padding-left: 0;
}

#table-of-contents ul ul {
    padding-left: 20px;
    list-style-type: circle;
    margin-top: 5px;
}


a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}


p {
    margin-bottom: 1.5em;
    text-align: justify;
}

ul li {
    margin-bottom: 0.5em;
}


hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--secondary-color), rgba(0, 0, 0, 0));
    margin: 40px 0;
}


p strong {
    color: var(--primary-color);
}
