/* 
    BY KACPER JAN DUDA AND DANIEL HØIBERGET
    NORWAY 2024
h
    All copyrights reserved to their respective owners
    Made for: INMUN 2024, IB, Gjøvik High School
*/

@import url('https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-rounded/css/uicons-regular-rounded.css');

/* General styling */
* {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

a, a:visited {
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #97C087; /* Muted green for links */
    display: flex;
    justify-content: center;
    align-items: center;
}

.navText {
    color: #97C087; /* Muted green */
}

/* Navigation */
nav {
    width: 100%;
    height: 7%;
    background-color: #1A3D2F; /* Deep green */
    display: flex;
    justify-content: center;
}

.navContent {
    display: flex;
    width: 90%;
}

#logo {
    display: flex;
    align-items: center;
}

ul {
    display: flex;
    justify-content: space-between;
}

li {
    display: flex;
    align-items: center;
    width: fit-content;
}

p {
    display: flex;
    align-items: center;
}

/* Main container */
main {
    background-color: #EAF4EB; /* Light greenish off-white */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Article sections */
article.first {
    display: flex;
    justify-content: space-between;
    width: 70%; 
    height: 85%;
    padding: 10px;
}

.mainContent {
    width: 50%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mainContent:first-of-type {
    background-color: #3A8060; /* Forest green */
}

.title, .undertitle, .description {
    margin: 0;
    padding: 10px 0;
    text-align: center;
}

.title {
    color: #97C087; /* Muted green */
    font-size: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    height: fit-content;
}

.undertitle {
    font-size: 20px;
    color: #97C087; /* Muted green */
    display: flex;
    justify-content: center;
    height: fit-content;
}

.place {
    font-size: 13px;
    font-weight: 200;
    color: #97C087; /* Muted green */
    display: flex;
    justify-content: center;
    height: fit-content;
    text-decoration: underline;
}

.description {
    font-size: 80%;
    color: #E3EAD7; /* Light greenish white */
    letter-spacing: 1px;
    line-height: 30px;
    margin-top: 20px;
    display: flex;
    align-items: first baseline;
    justify-content: center;
    width: 85%;
    height: fit-content;
}

/* Event image */
.eventImage {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.eventImage {
    height: 100%;
}

/* Custom calendar container */
.custom-calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    width: 80%;
    height: 85%;
}

/* Footer styling */
footer {
    width: 100%;
    height: auto;
    background-color: #1A3D2F; /* Deep green */
    color: #97C087; /* Muted green */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
}

footer > article {
    width: fit-content;
    display: flex;
    justify-content: space-evenly;
}

.footerArt {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #1A3D2F; /* Deep green */
    padding: 20px;
    border: 1px solid transparent;
    box-sizing: border-box;
    margin: 1%;
    border: 1px #97C087 solid;
    border-radius: 10px;
}

h4 {
    margin: 0 0 10px 0;
    font-size: 30px;
}

b {
    font-weight: bolder;
    font-size: 17px;
}

#address {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

.footerLink {
    all: unset;
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    color: #E3EAD7; /* Light greenish white */
}

/* Schedule container */
.scheduleContainer {
    width: 60%;
    background-color: #D6E8D6; /* Very light green */
    border: 2px solid #A2C7A2; /* Soft green */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 25%;
}

/* Event container styling */
.scheduleEventContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border: 2px solid #A2C7A2; /* Soft green */
    padding: 15px;
    border-radius: 6px;
    background-color: #EBF7EB; /* Lightest green */
    height: fit-content;
    width: 100%;
}

/* Time column */
.scheduleTime {
    width: 90%;
    font-weight: bold;
    font-size: 18px;
    color: #2A6041; /* Dark green for time text */
}

/* Event description */
.scheduleEvent {
    width: 65%;
    font-size: 16px;
    color: #2A6041; /* Dark green */
    text-align: left;
}

/* Hover effect for event containers */
.scheduleEventContainer:hover {
    background-color: #CDE1CD; /* Slightly darker green */
    border-color: #8FB78F; /* Darker green border */
}

.scheduleWrapper {
    display: flex;
    justify-content: space-evenly;
}

.scheduleContainer > p {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10%;
    margin-top: -50%;
    font-weight: 900;
    color: #2A6041; /* Dark green for date text */
    font-size: 20px;
}

.uploadForm {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.uploadInput {
    height: fit-content;
    text-align: center;
    margin-left: 35%;
}

.uploadScreen {
    background-color: #DDEED9; /* Very light greenish white */
    width: 15%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    border: 1px solid #97C087; /* Muted green */
}

.uploadBtn {
    width: 90%;
    height: 20%;
}

.upload-title {
    height: fit-content;
    text-align: center;
    font-size: 1.8em;
    margin: 20px 0;
}

.file-list-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    height: fit-content;
}

.file-list-table th, .file-list-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #A2C7A2; /* Soft green */
    height: fit-content;
}

.file-list-table th {
    background-color: #CDE1CD; /* Light green */
    font-weight: bold;
    color: #333;
    height: fit-content;
}

.file-list-table tr:nth-child(even) {
    background-color: #EAF4EB;
}

.file-list-table tr:hover {
    background-color: #CDE1CD;
}

.file-list-table td a {
    color: #468966; /* Medium green */
    text-decoration: none;
    font-weight: bold;
    height: fit-content;
}

.file-list-table td a:hover {
    text-decoration: underline;
}

.mainSubWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.topicsContainer {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual topic box styling */
.topicBox {
    height: 60%;
    width: 28%;
    padding: 20px;
    background-color: #EAF4EB; /* Light greenish off-white */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.topicBox:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Title styling */
.topicTitle {
    font-size: 1.5em;
    font-weight: 600;
    color: #2A6041; /* Dark green */
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

/* Description styling */
.topicDescription {
    font-size: 0.95em;
    line-height: 1.4;
    color: #556B5B; /* Medium-dark green */
    margin-bottom: 15px;
    text-align: justify;
}

/* Committee and Chair text styling */
.topicChairs {
    font-size: 0.85em;
    color: #3E5D4F; /* Muted dark green */
    margin-bottom: 5px;
}

/* Research link styling */
.researchLink {
    font-size: 0.9em;
    color: #468966; /* Medium green */
    text-decoration: none;
    margin-top: auto;
    align-self: flex-end;
}

.researchLink:hover {
    text-decoration: underline;
    color: #1A3D2F; /* Dark green */
}

.topicChairs strong {
    all: unset;
    margin-right: 4px;
    font-weight: 600;
    color: #2A6041; /* Dark green */
}
