html {
    font-family: Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body,
h1,
p {
    padding: 0;
    margin: 0;
}

main {
    height: calc(100vh - 65px);
    max-width: 1200px;
    min-width: 900px;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    z-index:0;
}

.bg img {
    position: fixed;
    z-index: -1;
}
.bg .top-right {
    width: 60%;
    max-width: 1200px;
    top: 0;
    right: 0;
}

img.botton-left {
    width: 60%;
    max-width: 1200px;
    left: 0;
    bottom: 0;
}

/* -------------------------
----------------------------
---------- header ----------
----------------------------
---------------------------- */

header {
    height: 90px;
    padding-top: 70px;
}
header h1 {
    width: 60%;
}

nav {
    height: 56px;

}
.logo {
    width: 50%;
}
.logo img {
    max-height: 56px;
}

/* -------------------------
----------------------------
---- course container ------
----------------------------
---------------------------- */
.container {
    display: flex;
    flex-direction: column;
}
#optionContainer {
    height: 56px;
    margin-bottom: 16px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.592);
    background-color: rgba(255, 255, 255, 0.633);
    -webkit-backdrop-filter: blur(20px);
     backdrop-filter: blur(20px);
}

#coreValue select {
    width: 140px;
}
#focusArea select {
    width: 400px;
}
#learningOutcome select {
    width: 420px;
}

.list-body-container {
    height: calc(100% - 57px);
    overflow-y: scroll;
}

.btn-course-list {
    height: 60px;
    right: 0;
    top: 0;
    border: none;
    background: none;
}
.btn-course-list:hover {
    cursor: pointer;
}
.option-group {
    margin-right: 10px;
}

.main-container {

}
.course-option {
    font-size: 1.2em;
    border: none;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.077);
    padding: 2px;
}
#courseContainer {
    position: relative;
    height: 360px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.course-btn {
    height: 47px;
    width: 47px;
    border: 1px solid black;
    background-color: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    float: left;
    margin: 10px;
}

.course-btn:hover {
    cursor: pointer;
    background-color: #ffcc00;
    color: black;
}

.year-container {
    border: 1px solid rgb(147, 147, 147);
    width: calc(20% - 10px);
    max-width: 210px;
    min-width: 90px;
    height: calc(100% - 20px);
    background-color: rgba(255, 255, 255, 0.633);
    -webkit-backdrop-filter: blur(20px);
     backdrop-filter: blur(20px);
}

.year-title {
    text-align: center;
    margin-top: 10px;
}


/* -------------------------
----------------------------
------- course card -------
----------------------------
---------------------------- */

.course-card {
    
    position: fixed;
    top: 20px;
    left: 100px;
}
.card-body {
    border: 1px solid black;
    width: 360px;
    max-height: 90vh;
    overflow: auto;
    background-color: white;
}

.card-header {
    width: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-header-titles {
    background: rgba(255,255,255,0.7);
    padding: 12px;
}
.card-course-name {
    margin: 4px 0;
}
.card-text {
    padding: 12px;
}
.tag-group-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
    margin-left: 8px;
}
.tag-group {
    margin: 36px 0;
}

.btn-tag {
    border: 1px solid black;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 4px 2px;
}

/* -------------------------
----------------------------
-------- course list -------
----------------------------
---------------------------- */

aside {
    position: fixed;
    right: 16px;
    top: 40px;
    width: 320px;
    bottom: 20px;
    background-color: white;
    border: 1px solid black;
    padding: 16px;
    padding-top: 0;
    min-height: calc(100% - 120px);
    transition: 0.5s;
}
.courst-id {
    color: #006633
}
.course-list-item {
    margin-bottom: 16px
}
.courst-title:hover {
    cursor: pointer;
}

.slide-right {
    right: -400px;
}

.list-session {
    border-bottom: 1px solid #aaa;
    padding-bottom: 16px;
    padding-top: 16px;
}

.btn-hide {
    height: 44px;
    width: 44px;
}
.btn-hide:hover {
    opacity: 1;
}
.btn-hide:before, .btn-hide:after {
    position: absolute;
    left: 19px;
    top: 2px;
    content: ' ';
    height: 38px;
    width: 2px;
    background-color: #333;
}
.btn-hide:before {
transform: rotate(45deg);
}
.btn-hide:after {
transform: rotate(-45deg);
}

/* -------------------------
----------------------------
-------- mobile view -------
----------------------------
---------------------------- */

@media only screen and (max-width: 600px) {
    main {
        width: calc(100% - 32px);
        min-width: 300px;
    }
    .bg .top-right {
        width: 100%;
        top: 0;
        right: 0;
        opacity: 0.6;
    }
    
    img.botton-left {
        width: 100%;
        left: 0;
        bottom: 0;
        opacity: 0.6;
    }

    .container {
        width: calc(100% - 16px);
        margin-right: 0px;
    }

    #optionContainer {
        flex-direction: column;
        width: 100%;
        height: 300px;
    }
    #courseContainer {
        flex-direction: column;
        width: 100%;
    }
    .option-group {
        width: calc(100% - 32px);
    }
    .course-option {
        width: 100% !important;
        height: 44px;
        margin-top: 8px;
        margin-bottom: 1em;
    }
    .year-container {
        width: 100%;
        max-width: 600px;
        margin: 16px 0;
    }


    .course-card {
        position: fixed;
        top: 0px;
        left: 0;
        width: calc(100% - 32px);
    }
    .btn-hide {
        top: 0;
        right: 0;
    }
    
}