css
.quantico-regular {
  font-family: "Quantico", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.space-grotesk {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-family: "Quantico", sans-serif;
  font-size: 64px;
  margin-top: 0;
  color: #ffffff;
}
h2 {
    font-family: "Quantico", sans-serif;
}

.otsikko {
  position: relative;
  display: flex;
  justify-content: center;
}

.logo {
  width: 200px;
  height: auto;
  position: absolute;
  right: 0;
}

body {
  margin: 0;
  color: #E8EDF7;
  background: #01030c url("../img/kokonaisempispace.png") no-repeat center top;
  background-size: 100% auto;
  image-rendering: pixelated;
}

nav {
  margin: 0;
  padding: 12px;
  border-bottom-style: solid;
  border-bottom-color: var(--primary-color);
  border-bottom-width: 2px;

  background: #01030c url("../img/navigaatiotausta.png") repeat-x center bottom;
  background-size: auto 100%;
  image-rendering: pixelated;
}

nav a {
  margin: 10px;
  padding: 10px;
  text-align: center;
  font-size: 30px;
  font-family: "Quantico", sans-serif;
  text-decoration: none;
  color: white;
}

main {
  margin: 25px;
}

flex-container {
  display: flex;
  flex-flow: row wrap;
}

.etusivu-sisalto {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 25px 25px 25px;
}

.teksti {
  max-width: 60%;
}
.info-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.info-card {
    width: 320px;
    background-color: #1c1c2b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.info-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.info-card-content {
    padding: 20px;
}

.info-card h2 {
    margin-top: 0;
    color: white;
    font-family: Quantico, sans-serif;
}

.info-card p {
    color: #cccccc;
    line-height: 1.6;
}

.info-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #3155a6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.info-card a:hover {
    background-color: #416dcc;
}

.info-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}
.logo {
    width: 200px;
    max-width: 20vw;
    height: auto;
    position: absolute;
    right: 0;
}
.info-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 90px;
}
body {
    font-family: "Space Grotesk", sans-serif;
}
.info-card-content h2 {
    height: 60px;
    margin-bottom: 10px;
}
.etusivu-teksti {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

.etusivu-teksti .info-card {
    width: 100%;
}
.etusivu-teksti .info-card {
    width: 100%;
    background-color:  rgba(1, 24, 65, 0.6);
}
.etusivu-teksti .info-card p {
    font-size: 22px;

}
#clock {
  font-family: "Quantico", sans-serif;
  font-size: 24px;
  color: white;

  background-color: rgba(1, 24, 65, 0.75);
  border: 2px solid #3155a6;
  border-radius: 8px;

  padding: 10px 15px;
  width: fit-content;
  margin: 20px;
  position: absolute;
  top: 100px;
  left: 15px;
}


.ehdotus-sivu {
  width: 80%;
  max-width: 900px;
  margin: 30px auto;
}


.ehdotus-info {
  background-color: rgba(1, 24, 65, 0.8);
  border: 2px solid #3155a6;

  padding: 15px 25px;
  margin-bottom: 25px;

  text-align: center;
}

.ehdotus-info p {
  font-size: 22px;
  margin: 0;
}


.ehdotus-form {
  display: flex;
  flex-direction: column;

  background-color: rgba(1, 24, 65, 0.8);
  border: 2px solid #3155a6;

  padding: 30px;
}



.ehdotus-form label {
  font-family: "Quantico", sans-serif;
  font-size: 20px;

  margin-top: 15px;
  margin-bottom: 5px;
}




.ehdotus-form input,
.ehdotus-form textarea {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;

  color: white;
  background-color: rgba(0, 10, 35, 0.8);

  border: 2px solid #3155a6;

  padding: 10px;
}




.ehdotus-form textarea {
  resize: vertical;
}




.ehdotus-form button {
  width: 150px;

  margin: 25px auto 0;
  padding: 10px;

  font-family: "Quantico", sans-serif;
  font-size: 20px;

  color: white;
  background-color: #3155a6;

  border: none;

  cursor: pointer;
}




.ehdotus-form button:hover {
  background-color: #416dcc;
}


.suositukset-sivu {
  width: 80%;
  max-width: 1000px;
  margin: 30px auto;
}




.suositus-osio {
  margin-bottom: 60px;
}



.suositus-osio h2 {
  text-align: center;
  font-size: 32px;

  background-color: rgba(1, 24, 65, 0.9);

  border: 2px solid #3155a6;

  padding: 10px;
  margin-bottom: 15px;
}



.suositus-selite {
  text-align: center;

  font-size: 20px;

  background-color: rgba(1, 24, 65, 0.8);

  padding: 15px;

  margin-bottom: 25px;
}



.suositus {
  background-color: rgba(1, 24, 65, 0.8);

  border: 2px solid #3155a6;

  padding: 20px 25px;

  margin-bottom: 20px;
}


.suositus h3 {
  font-family: "Quantico", sans-serif;

  font-size: 24px;

  margin-top: 0;
  margin-bottom: 10px;
}

.suositus p {
  font-size: 19px;
  line-height: 1.5;

  margin: 0;
}
a {
    transition: transform 0.1s ease, color 0.1s ease;
}

a:hover {
    color: var(--vari4);
    transform: scale(1.1);
}


.album-sivu {
    width: 100%;
}

.album-sivu h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}




.album-review {
    width: 75%;
    max-width: 950px;
    margin: 40px auto;
    padding: 40px 50px;

    background-color: rgba(1, 24, 65, 0.85);
    border: 2px solid #3155a6;
    border-radius: 12px;

    color: #E8EDF7;
    font-size: 20px;
    line-height: 1.7;
}

.album-review p {
    margin-top: 0;
    margin-bottom: 24px;
}

.album-review p:last-child {
    margin-bottom: 0;
}


.album-summary {
    width: 75%;
    max-width: 950px;
    margin: 25px auto 50px;
    padding: 25px 50px;

    background-color: rgba(1, 24, 65, 0.85);
    border: 2px solid #3155a6;
    border-radius: 12px;

    color: #E8EDF7;
    font-size: 20px;
    line-height: 1.6;
}

.album-summary p {
    margin-top: 0;
    margin-bottom: 12px;
}

.album-summary p:last-child {
    margin-bottom: 0;
}



.sijoitukset {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    color: white;
    font-family: 'Quantico', sans-serif;
    font-size: 22px;
}

.sijoitukset p {
    margin-bottom: 35px;
    line-height: 1.7;
    background-color: #000d40;
    padding: 25px;
    border: 1px solid #3159ad;
    font-size: 24px;
}


.taulukko-container {
    width: 100%;
    overflow-x: auto;
}

.albumitaulukko {
    width: 100%;
    border-collapse: collapse;
    background-color: #000d40;
    color: white;
    font-family: 'Quantico', sans-serif;
    font-size: 21px;
}


.albumitaulukko th,
.albumitaulukko td {
    border: 1px solid #3159ad;
    padding: 22px;
    text-align: center;
    vertical-align: middle;
    font-size: 21px;
}

.albumitaulukko th {
    background-color: #00082b;
    font-size: 23px;
    font-weight: bold;
    padding: 25px 15px;
}


.albumitaulukko tbody tr:nth-child(even) {
    background-color: #06164d;
}



.albumitaulukko tbody tr:hover {
    background-color: #102b70;
    transition: background-color 0.2s;
}



.albumitaulukko a {
    color: white;
    text-decoration: none;
    font-size: inherit;
}

.albumitaulukko a:hover {
    color: #87baff;
    text-decoration: underline;
}


.albumitaulukko ol {
    text-align: left;
    padding-left: 35px;
    margin: 0;
    font-size: 21px;
    line-height: 1.7;
}

.albumitaulukko li {
    margin-bottom: 8px;
}


.albumitaulukko img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    border: 2px solid #3159ad;
}
/* KORTTIEN YHTEINEN SÄILIÖ */

.kortit-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;

    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* MOLEMPIEN KORTTIEN ULKOASU */

.uusin-kortti,
.tulossa-kortti {
    display: flex;
    align-items: center;
    gap: 20px;

    flex: 1 1 0;
    min-width: 0;
    max-width: 500px;
    margin: 0;
    padding: 18px;
    box-sizing: border-box;

    background: linear-gradient(
        120deg,
        rgba(0, 10, 50, 0.9),
        rgba(20, 55, 140, 0.75)
    );

    border: 1px solid rgba(100, 160, 255, 0.35);
    border-left: 4px solid #5599ff;
    border-radius: 12px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

    font-family: "Space Grotesk", sans-serif;
    color: #d0d9f5;
}


/* MOLEMPIEN KORTTIEN KANSIKUVAT */

.uusin-kortti img,
.tulossa-kortti img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}


/* TEKSTIALUEET */

.uusin-teksti,
.tulossa-teksti {
    min-width: 0;
    font-family: "Space Grotesk", sans-serif;
}


/* PIENET OTSIKOT */

.uusin-teksti h3,
.tulossa-teksti h3 {
    color: #8db9ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ALBUMIEN NIMET */

.uusin-teksti h2,
.tulossa-teksti h2 {
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
}


/* ARTISTIT JA KUVAUKSET */

.uusin-teksti p,
.tulossa-teksti p {
    color: #d0d9f5;
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .sijoitukset {
        padding: 10px;
        margin: 20px auto;
        font-size: 18px;
    }

    .sijoitukset p {
        font-size: 19px;
        padding: 15px;
    }

    .albumitaulukko {
        min-width: 850px;
    }

    .albumitaulukko th,
    .albumitaulukko td {
        padding: 12px;
        font-size: 17px;
    }

    .albumitaulukko th {
        font-size: 19px;
    }

    .albumitaulukko ol {
        font-size: 17px;
        padding-left: 25px;
    }

    .albumitaulukko img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 600px) {

    .sijoitukset {
        padding: 10px;
        margin: 20px auto;
    }

    .albumitaulukko {
        min-width: 650px;
    }

    .albumitaulukko th,
    .albumitaulukko td {
        padding: 8px;
        font-size: 13px;
    }

    .albumitaulukko img {
        width: 60px;
        height: 60px;
    }

    .albumitaulukko ol {
        padding-left: 20px;
    }
}



@media (max-width: 600px) {

  .suositukset-sivu {
    width: 90%;
  }

  .suositus-osio h2 {
    font-size: 26px;
  }

  .suositus-selite {
    font-size: 17px;
  }

  .suositus h3 {
    font-size: 21px;
  }

  .suositus p {
    font-size: 16px;
  }

}
@media (max-width: 600px) {

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
  }

  nav a {
    font-size: 20px;
    margin: 5px;
    padding: 5px;
  }

  .otsikko {
    position: relative;
    min-height: 120px;
  }

  h1 {
    font-size: 42px;
    margin-right: 100px;
  }

  .logo {
    width: 100px;
    right: 10px;
  }

  main {
    margin: 15px;
  }

  .teksti {
    max-width: 100%;
  }

  p {
    font-size: 16px;
    line-height: 1.5;
  }
  #clock {
  position: static;
  margin: 10px auto;
  width: fit-content;
  font-size: 16px;
}
}
@media (max-width: 800px) {
    .logo {
        width: 120px;
    }
}
/* TABLETTI JA PUHELIN */
@media (max-width: 768px) {

    .kortit-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 15px;
    }

    .kortit-container .uusin-kortti,
    .kortit-container .tulossa-kortti {
        flex: none;
        width: 100%;
        max-width: 500px;
        box-sizing: border-box;
        margin: 0;
    }
}


/* PUHELIN */
@media (max-width: 600px) {

    .kortit-container .uusin-kortti,
    .kortit-container .tulossa-kortti {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;

        padding: 20px 15px;
        gap: 15px;
    }

    .uusin-kortti img,
    .tulossa-kortti img {
        width: 160px;
        height: 160px;
        object-fit: cover;
    }

    .uusin-teksti,
    .tulossa-teksti {
        width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
    }

    .uusin-teksti h3,
    .tulossa-teksti h3 {
        color: #8db9ff;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .uusin-teksti h2,
    .tulossa-teksti h2 {
        color: white;
        font-size: 24px;
    }

    .uusin-teksti p,
    .tulossa-teksti p {
        color: #d0d9f5;
        font-size: 14px;
    }
}

