@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

:root {
    --main-color: #6d350b;
}

body {
    font-family: 'Noto Sans JP', sans-serif !important;
}

h1 {
    font-weight: bold;
    font-size: 32px !important;
}

h2 {
    font-weight: bold;
    font-size: 24px !important;
}

.jumbotron-background {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(img/school.jpg);
    background-size: cover;
    border-radius: 25px;
    margin: 15px;
    animation: scale-in .5s linear;
    background-position: center bottom;
}

.jumbotron-main {
    align-items: center;
    display: flex;
    height: 60vh;
    color: white;
}

.jumbotron-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    margin-bottom: 24px;
}

.jumbotron-subtext {
    font-size: 16px !important;
    filter: drop-shadow(1px 1px 1px rgba(255, 255, 255, .2));
}

.emblem {
    height: 75px;
}

@media screen and (max-width: 480px) {
    .jumbotron-subtext {
        font-size: 14px !important;
    }

    .emblem {
        height: 60px;
    }
}
@media screen and (max-width: 380px) {
    .jumbotron-subtext {
        font-size: 12px !important;
    }

    .emblem {
        height: 50px;
    }
}

.jumbotron-subtext p {
    margin: 0;
    letter-spacing: 0.05em;
}

.jumbotron-subtext p.label {
    margin-bottom: 6px;
}

.jumbotron-subtext span {
    color: #dd4949;
}

.description-primary {
    color: var(--main-color);
}

.student-websites img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: 225px;
}

.filter-btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 10px 3px;
}

.filter-student-work {
    overflow: hidden;
}

.filter-student-work a {
    text-decoration: none;
    cursor: pointer;
}

.show {
    display: block !important;
}

.filter-btn:hover {
    background-color: #ddd;
}

.filter-btn.active {
    background-color: var(--main-color);
    color: white;
}

.student-work {
    transition: .3s;
    display: none;
    animation: fade-in 0.5s linear;
}

.student-work:hover {
    transform: translateY(-7px);
}


.linebreak {
    border: 1px solid #D8D8D8;
}

.pamphlet {
    color: #808080;
    font-size: 15px;
}

.pamphlet a {
    color: var(--main-color);
    font-size: 15px;
    font-weight: bold;
}

.privacy-policy {
    color: #808080;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
}

@keyframes fade-in {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        background-size: 120%;
        opacity: 0.5;
    }

    100% {
        background-size: 100%;
        opacity: 1;
    }
}