@charset "utf-8";
/* CSS Document */

* {
	margin: 0px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
	width: 100%;
    background: rgba(254, 254, 249, 1.0);
	font-family:'Inter Tight', 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
    overflow: hidden;
}

#bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    object-fit: cover;
    overflow: hidden;

    --random-hue: 0deg;
    filter: hue-rotate(var(--random-hue)) saturate(0%) brightness(200%);
    transition: filter 3s ease;
    will-change: filter;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

#bg.is-loaded {
    filter: hue-rotate(var(--random-hue)) saturate(100%) brightness(100%);
}

#bgImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#header {
    position: relative;
    float: left;
    width: 23%;
    min-width: 250px;
    height: 100vh;
    margin: 0;
    overflow-y: scroll;
    scrollbar-color: transparent;
}

#logo {
    position: relative;
    width: 100%;
    height: 30vh;
    max-height: 220px;
    min-height: 140px;
    left: 0;
    top: 0;
}

#logo a {
    position: absolute;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    z-index: 10;
}

#logo img {
    position: relative;
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* mix-blend-mode: color-dodge; */
}

#navOpen, #navClose {
    display: none;
}

#navbar {
    position: relative;
    float: left;
    width: 90%;
    height: 50vh;
    min-height: 300px;
    margin-left: 5%;
    margin-top: 3vh;
    margin-bottom: 20px;
}

.nav {
    position: relative;
    float: left;
    width: 90%;
    height: auto;
}

.nav a {
    position: relative;
    float: left;
    width: auto;
    height: auto;
    margin-bottom: 10px;
    padding-top: 5px;
    font-size: 32px;
    /* text-decoration: underline; */
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
    transition-duration: 0.4s;
    z-index: 1;
}

.nav a:hover {
    color: rgba(255, 255, 255, 1.0);
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 120%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0px 32px 32px 0px;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav a:hover::after {
    width: 120%;
}

.nav i {
    width: 80px;
    height: auto;
    text-align: center;
}

#links {
    position: relative;
    float: left;
    width: 90%;
    height: 15vh;
    min-height: 80px;
    margin-left: 5%;
    margin-top: 50px;
    margin-bottom: 20px;
    border-top: 4px solid rgba(0, 0, 0, 0.6);
}

.link {
    position: relative;
    display: block;
    float: left;
    width: 20%;
    min-width: 36px;
    height: auto;
    margin-top: 25px;
    text-align: center;
}

.link a {
    width: auto;
    height: auto;
    font-size: 30px;
    color: rgba(13, 46, 122, 1.0);
}

.link a:visited {
    color: rgba(136, 0, 141, 1.0);
}

/**********************/

#main {
    position: relative;
    float: left;
    width: 75vw;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-color: transparent;
}

#item1 {
    grid-area: i1;
}

#item2 {
    grid-area: i2;
}

#item3 {
    grid-area: i3;
}

#item4 {
    grid-area: i4;
}

#item5 {
    grid-area: i5;
}

#grid {
    position: relative;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "i1 i1 i4" "i1 i1 i4" "i1 i1 i5" "i2 i3 i5" "i2 i3 i5";
    width: 97%;
    height: 85vh;
    min-height: 500px;
    margin-left: 2%;
    margin-top: 4vh;
    opacity: 0.0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#grid.is-loaded {
    opacity: 1.0;
    transform: translateY(0px);
}

.mainItem {
    width: auto;
    height: auto;
    margin: 10px;
    border-radius: 25px;
    border: 3px solid black;
    transition: 0.3s ease;
}

.mainItem:hover {
    margin: 0px;
}

.mainItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    border-radius: 21px;
}

.mainItem h2 {
    position: relative;
    float: left;
    width: 160px;
    height: 50px;
    margin-left: 0;
    margin-top: -60px;
    padding-top: 6px;
    border-radius: 0px 21px 0px 21px;
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
}

#footer {
    position: relative;
    float: left;
    width: 100%;
    height: 80px;
    color: rgba(0, 0, 0, 0.7);
}

#footer h4 {
    position: absolute;
    right: 20px;
    bottom: 30px;
}