/* ---=CUSTOM PROPERTIES=--- */

:root {
    --color-salmon:      rgb(255, 160, 122);
    --color-coral:       rgb(240, 128, 128);
    --color-blue-light:  rgb(135, 205, 250);
    --color-blue-border: rgb(135, 205, 235);
    --color-blue-mid:    rgb(100, 150, 200);
    --color-blue-nav:    rgb(80, 130, 180);
    --color-cyan:        rgb(0, 255, 255);
    --color-navy:        rgb(12, 12, 59);
    --color-black:       rgb(0, 0, 0);
    --color-text-shadow: rgb(1, 7, 35);
}

/* ---=MAIN ELEMENTS=--- */

header {
    background-color: var(--color-coral);
    background-image: url("images/hero.webp");
    background-size: 100%;
    background-position: center;
    padding-top: .5%;
    text-align: center;
    font-size: 400%;
}
body {
    background: var(--color-salmon);
    color: var(--color-blue-light);
    font-family: 'Times New Roman', Times, sans-serif;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    text-shadow: var(--color-text-shadow) .25px .5px .75px;
    margin: 0;
    padding: 0;
}
footer {
    background: var(--color-salmon);
    bottom: 0;
    color: var(--color-cyan);
    font-size: 100%;
    margin-top: .5%;
    text-align: center;
    width: 100%;
}
.visit-counter {
    color: var(--color-blue-light);
    font-size: 90%;
    padding: 5px 0;
}
.visit-counter p {
    margin: 5px 0;
}

/* ---=COMMON TAGS=--- */

p.large-text {
    font-size: 200%;
    text-shadow: var(--color-black) .5px 1px 2px;
}
section {
    background: var(--color-salmon);
    color: var(--color-blue-light);
    padding: .5%;
}
h1 {
    margin: .5%;
    text-align: center;
}
section h2 {
    font-size: 300%;
    padding-left: 5%;
}
section.centered-text h2 {
    padding-left: 0;
    text-align: center;
}
section pre {
    display: inline;
    font-size: 300%;
    text-decoration: underline;
    user-select: all;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul li {
    display: inline-block;
    margin-right: 2%;
}
ol {
    font-size: 200%;
    padding-left: 10%;
}
ol li a,
footer a {
    color: var(--color-blue-light);
    text-decoration: underline;
}
ol li a {
    padding-left: 1%;
}
footer a {
    color: var(--color-cyan);
}
header a {
    color: var(--color-blue-mid);
    text-decoration: none;
}
figure {
    display: table;
    text-align: center;
}
figure div p {
    text-align: left;
}

/* ---=CLASSES=--- */

.large-text {
    font-size: 150%;
}
.centered-text {
    text-align: center;
}
.info {
    color: var(--color-navy);
    font-size: 125%;
}
.text {
    font-size: 16px;
    text-align: left;
}
.divider,
.content {
    border: 20px solid var(--color-blue-border);
}
.feature-box,
.ABOUT-feature-box {
    background-color: var(--color-coral);
    width: auto;
}
.ABOUT-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 2%;
}
.ABOUT-feature-box figure {
    flex: 0 0 auto;
}
.ABOUT-feature-box .info {
    flex: 1 1 60%;
    max-width: 70%;
}
.ABOUT-feature-box figure img {
    border: 1px solid var(--color-blue-border);
    border-radius: 50%;
    box-shadow: var(--color-black) 0px 0px 10px;
    width: 200px;
}
.content figure figcaption {
    margin-left: 2.75%;
}
.feature-box.tutorials figure {
    display: inline-block;
}

/* ---=STATS SECTION=--- */

.stats-section {
    background-color: var(--color-coral);
    padding: 2% 5%;
}
.stats-section h2.centered-text {
    color: var(--color-blue-light);
    font-size: 300%;
    margin-bottom: 3%;
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 2%;
}
.stat-box {
    background-color: var(--color-salmon);
    border: 3px solid var(--color-blue-border);
    border-radius: 15px;
    box-shadow: var(--color-black) 0px 4px 8px;
    padding: 5%;
    text-align: center;
    flex: 1;
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--color-black) 0px 6px 12px;
}
.stat-number {
    color: var(--color-blue-light);
    font-size: 400%;
    font-weight: bold;
    text-shadow: var(--color-black) 1px 2px 3px;
    margin-bottom: 10px;
}
.stat-label {
    color: var(--color-navy);
    font-size: 125%;
    font-weight: bold;
}

/* ---=SOCIAL LINKS SECTION=--- */

.social-links-section {
    background-color: var(--color-coral);
    padding: 2% 5%;
}
.social-links-section h2.centered-text {
    color: var(--color-blue-light);
    font-size: 300%;
    margin-bottom: 3%;
}
.social-links-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2%;
    flex-wrap: wrap;
}
.social-link {
    background-color: var(--color-salmon);
    border: 3px solid var(--color-blue-border);
    border-radius: 10px;
    box-shadow: var(--color-black) 0px 4px 8px;
    color: var(--color-blue-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-width: 120px;
}
.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--color-black) 0px 6px 12px;
    background-color: var(--color-blue-border);
}
.social-icon {
    font-size: 250%;
    margin-bottom: 10px;
    text-shadow: var(--color-black) 1px 2px 3px;
}
.social-name {
    color: var(--color-navy);
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}
.social-link:hover .social-name {
    color: var(--color-blue-light);
}
.artist {
    white-space: nowrap;
}

/* ---=PSEUDO-CLASSES=--- */

a:hover,
a:visited:hover {
    color: var(--color-blue-mid);
    text-decoration: underline;
}
nav a:visited:hover {
    color: var(--color-blue-nav);
    text-decoration: underline;
}
footer a:visited:hover {
    color: rgb(0, 235, 235);
}

/* ---=IDs=--- */

#current-page {
    background-color: transparent;
}
