/* Import Noto_Sans font */
@font-face {
    font-family: 'Noto_Sans';
    src: url("../fonts/Noto_Sans/NotoSans-Regular.ttf");
    font-weight: normal;
}

/* Reset default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Noto_Sans', sans-serif;
}

/* Set the background color */
html, body {
    height: 100%;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
}

/* Style the header */
header {
    align-items: start;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, rgba(102,102,232,1) 0%, rgb(0, 136, 255) 100%);
    margin-bottom: 2em;
}

.header-title {
    padding: 16px;
    text-align: start;
    font-size: xx-large;
    font-weight: 600;
    color: #f2f2f2;
    width: 100%;
}

.header-message {
    padding: 24px;
    width: 100%;
    align-items: center;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: #fff;
}

@media screen and (max-width: 800px) {
    .header-title {
        font-size: medium;
    }

    .header-message {
        font-size: 24px;
    }
  }

/* Style the main content */
main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Style the footer */
footer {
    flex-shrink: 0;
    padding: 20px;
    text-align: center;
}

/* Style the list */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul>* {
    flex: 1 1 160px;
}

nav {
    display: flexbox;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 1em;
    align-items: space-between;
}

nav li {
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes fade_in_show {
    0% {
         opacity: 0;
         transform: scale(0)
    }

    100% {
         opacity: 1;
         transform: scale(1)
    }
}

section {
    display: block;
    animation: fade_in_show 0.8s
}

section.hidden {
    display: none;
}

section li {
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    width: calc(33%);
    min-width: calc(33%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: small;
}

article {
    font-size: medium;
    padding: 16px;
}

/* Style the link on hover */
li a:hover {
    color: #666;
}

li h1 {
    display: flex;
}

.logo-card {
    width: 200px;
    height: 200px;
    border-radius: 10%;
    margin: 16px;
    /* shadow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 25px;
    height: 25px;
    margin-left: 8px;
    margin-right: 8px;
}

.navitem {
    display: flex;
    align-items: center;
}

.navitem.selected {
    background-color: rgb(102, 102, 232);
    color: #fff;
}

.navitem a {
    font-size: large;
    align-items: center;
    display: flex;
}

.navitem.selected a {
    color: #fff;
}

.ext-links {
    display: flex;
    flex-direction: row;
}

.ext-link {
    border-radius: 8px;
    padding: 8px;
    background-color: rgb(215, 215, 215);;
    display: inline-block;
    text-align: center;
    margin: 4px;
    font-size: large;
    align-content: center;
    min-width: 4em;
}