@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/assets/fonts/BeVietnamPro-Regular.ttf");
}

@font-face {
    font-family: "Be Vietnam Pro Bold";
    src: url("/assets/fonts/BeVietnamPro-Bold.ttf");
}

@font-face {
    font-family: "Nixie One";
    src: url("/assets/fonts/NixieOne-Regular.ttf");
}

@font-face {
    font-family: "Special Elite";
    src: url("/assets/fonts/SpecialElite-Regular.ttf");
}

:root {
    --black: rgb(0, 32, 41);
    --yellow: rgb(255, 234, 110);
}

body {
    color: var(--black);
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 400;
}

a:not(.logo a, .mainmenu a, .submenu a, .sponsors a) {
    text-decoration: none;
    border-bottom: 2px solid var(--black);
    font-weight: bold;
}

.logo a,
.mainmenu a {
    text-decoration: none;
    border: none;
}

.container a {
    color: var(--black);
}

ul {
    list-style-type: none;
}

nav {
    font-family: "Nixie One", cursive;
    font-weight: bold;
    font-size: 1.5em;
    color: white;
}

.submenu a,
.bs-headline {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-size: 0.8em;
    border: none;
}

details > summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.logo {
    font-family: "Special Elite", cursive;
    font-size: 3em;
    height: 70px;
    padding-left: 15px;
}

.logo a:hover {
    color: var(--black);
}

h1 {
    font-family: "Nixie One", cursive;
    padding: 15px 1rem 15px 1rem;
}

h2,
h3,
h4 {
    padding: 25px 1rem 5px 1rem;
    margin-bottom: 0;
}

h5:not(summary h5) {
    padding: 15px 15px 0 15px;
}

h1 span {
    background-color: white;
    font-weight: bold;
    letter-spacing: 0.04em;
    -webkit-letter-spacing: 1em;
    line-height: 1.4;
    font-size: 1.5rem;
}

b, strong {
    font-family: "Be Vietnam Pro Bold", sans-serif;
}

summary h5 {
    line-height: 1.6;
}

.main-content {
    background-color: var(--yellow);
    padding-bottom: 50px;
}

.main-content ul {
    list-style-type: circle;
}

.main-content img {
    max-width: 100%;
}

.bs-detail {
    margin-top: -9px;
    background-color: white;
}

.side-content {
    background-color: var(--yellow);
}

.side-menu {
    border-bottom: 3px solid var(--black);
}

p {
    margin: 15px;
}

hr {
    border-top: 3px solid;
    opacity: 1;
    margin: 3em 15px;
}

.sponsors {
    padding-top: 5%;
}

.members {
    display: grid;
    grid-template-columns: 40% 60%;
}

.members:first-of-type {
    padding-top: 2rem;
}

.member {
    hyphens: auto;
    height: 12rem;
    overflow: hidden;
    border-radius: 10%;
    margin-left: 1rem;
}

.member-description{
    padding: 2rem 1rem;
}

.member-name {
    font-family: "Be Vietnam Pro Bold", sans-serif;
}

.member-working-field {
    padding-top: 1rem;
}

.team hr {
    margin: 1em 15px;
}

.team img {
    border-radius: 5%;
}


@media only screen and (min-width: 576px) {
    .members {
        grid-template-columns: 30% 70%;
    }
    
}


/*** desktop ***/
@media only screen and (min-width: 992px) {
    h1 span {
        font-weight: normal;
        letter-spacing: normal;
        -webkit-letter-spacing: normal;
        font-size: 2.5rem;
    }

    .logo {
        font-size: 6em;
        padding: 15px;
        height: 190px;
    }

    .menu-col {
        height: 100vh;
        background-color: white;
    }

    .left-row {
        text-align: end;
        height: 100vh;
    }

    .container .mainmenu span {
        border-bottom: 3px solid var(--black);
    }

    nav {
        color: var(--black);
    }

    .container .mainmenu details summary span:hover,
    .container .mainmenu span a:hover,
    .submenu a:hover,
    .footer-nav .side-menu:hover,
    .active,
    .container .mainmenu span.active {
        background-color: var(--yellow);
        border-bottom: none;
    }

    .footer-nav a,
    .mainmenu a {
        color: var(--black);
    }

    .mainmenu > li,
    .footer-nav li {
        padding-bottom: 15px;
        padding-right: 15px;
    }

    .submenu {
        padding: 1em 0 1.5em 0em;
    }

    .side-content {
        background-color: white;
    }

    p:not(details p) {
        margin: 15px 15px 0 15px;
    }

    .sponsors {
        padding-top: 50%;
    }

    .sponsors img {
        width: 80%;
    }
}

@media only screen and (max-height: 540px) {
    .sticky-top.menu-col {
        position: relative;
    }
}
