@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
@import "variables.css";
@import "parts.css";
@import "header.css";
@import "footer.css";
@import "homepage.css";
@import "about.css";
@import "calendar.css";
@import "for-students.css";
@import "plain-page.css";
@import "event.css";

* {
    box-sizing: border-box;
    font-family: var(--font-primary);
    scroll-margin-top: var(--header-height);
    transition: 0.3s;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    font-size: var(--fs-text);
    color: var(--c-text);
    background-color: var(--c-bg);
}

/*------------------------------*/

h1, h2, h3, h4 {
    margin: 0;
    font-weight: bold;
}

h1 {
    font-size: var(--fs-hero);
    font-weight: 500;
}

h2 {
    font-size: var(--fs-section-title);
}

h3 {
    font-size: var(--fs-subtitle);
}

h4 {
    font-size: 24px;
}

p {
    line-height: 1.5;
}

img {
    max-width: 100%;
}

a, a:hover, a:visited {
    color: var(--c-text);
}

a:hover {
    text-decoration: none;
}

button {
    font-family: var(--font-primary);
}

/*------------------------------*/

.box {
    width: 100%;
}

.box-content {
    max-width: var(--content-width);
    width: 95%;
    margin: 0 auto;
}

#main {
    padding-top: var(--header-height);
    min-height: calc(100vh - 121px);
}

.page-date {
    display: block;
    margin-bottom: 50px;
    font-style: italic;
}

/*------------------------------*/

#cookies {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 700px;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--c-white);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
    font-size: 14px;
    border-radius: 20px;
    z-index: 10000;
}

#cookies h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

#cookies p {
    margin: 0;
}

.cookies-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px 15px;
}

@media (max-width: 700px) {
    #cookies {
        flex-direction: column;
    }

    .cookies-buttons {
        flex-direction: row;
    }
}
