/* ==========================================================================
   Katya's Website - Unified Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. Base & Reset
   ========================================================================== */

body {
    background-color: rgb(203, 229, 235);
    padding-left: 30px;
    padding-right: 60px;
    margin: 0;
    font-family: Verdana, sans-serif;
    line-height: 1.5;
}

/* ==========================================================================
   2. Layout (page-container, content-wrap, footer)
   ========================================================================== */

#page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content-wrap {
    flex: 1;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */

header {
    text-align: left;
    padding: 0;
    line-height: 20px;
}

.mycontainer {
    display: flex;
    padding: 10px;
    padding-top: 5px;
    margin-top: -15px;
    margin-left: -30px;
}

.mycontainer > div {
    margin: 20px;
    margin-right: 40px;
    font-family: Verdana, sans-serif;
    font-weight: bold;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1, h2, h3 {
    font-family: Verdana, sans-serif;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

p {
    font-family: Verdana, sans-serif;
}

a:link,
a:visited {
    color: rgb(6, 0, 128);
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: rgb(91, 33, 185);
    text-decoration: underline;
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* --- Project List --- */
.project-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
    text-align: center;
}

.project-item {
    height: fit-content;
    text-align: center;
    font-family: Verdana, sans-serif;
    line-height: 10px;
    margin: 0;
}

.title-project {
    text-decoration: underline;
}

/* --- Project Description Card --- */
.project-description {
    margin-left: 250px;
    margin-right: 250px;
    text-align: left;
    background: rgba(255, 255, 255, 0.4);
    padding: 24px 32px;
    border-radius: 4px;
    border-left: 3px solid rgb(55, 88, 168);
}

/* --- Education List --- */
.education-list {
    margin-top: 15px;
    text-align: center;
}

.education-list > div {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.3);
    padding: 16px 24px;
    border-radius: 4px;
    border-left: 3px solid rgb(55, 88, 168);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.year-list-item {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* --- Toggle Lists --- */
.toggle-input {
    display: none;
}

.toggle-container {
    margin-bottom: 10px;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.toggle-label::before {
    content: '\25B6';
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s ease;
    font-size: 0.7em;
    color: #37352f;
}

.toggle-input:checked + .toggle-label::before {
    transform: rotate(90deg);
}

.toggle-content {
    display: none;
    padding-left: 24px;
    border-left: 2px solid rgb(55, 88, 168);
    margin-left: 8px;
    margin-top: 8px;
    font-size: 14px;
}

.toggle-input:checked ~ .toggle-content {
    display: block;
}

.toggle-label:hover {
    background-color: rgba(55, 88, 168, 0.1);
}

/* --- Contact Links (index page) --- */
.container-1 {
    display: flex;
    justify-content: center;
}

.contact-link {
    font-size: 16px;
    margin-top: 3px;
    margin-bottom: 3px;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */

footer {
    background-color: rgb(55, 88, 168);
    margin-top: 20px;
    padding: 8px 15px;
    color: white;
    font-family: none;
    font-style: italic; 
}

footer a:link,
footer a:visited {
    color: #a8c8ff;
}

footer a:hover {
    color: white;
}

/* ==========================================================================
   7. Page-specific
   ========================================================================== */

/* --- Now Page --- */
.now-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    font-family: Verdana, sans-serif;
}

.now-section {
    margin-top: 1%;
    margin-bottom: 1%;
}

/* --- Random Page Links --- */
#link-container {
    position: relative;
    height: 100vh;
}

.link {
    position: absolute;
    font-size: 20px;
    font-family: Verdana, sans-serif;
    text-decoration: none;
    background-color: #4fc3f7;
    padding: 8px 12px;
    border-radius: 5px;
    transition: top 0.5s, left 0.5s;
    white-space: nowrap;
}

.link:hover {
    background-color: rgb(55, 88, 168);
    color: white;
}
