@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,500&display=swap');

:root{
    --background: #fffcd2;
    --main: #252525;
    --highlight: #d6d3a8;
}

@font-face {
    font-family: 'Blocus';
    src: url('fonts/blocuswebfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Kaeru-Kaeru';
    src: url('fonts/kaerukaeru-Regular.woff2') format('woff2'),
         url('fonts/kaerukaeru-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html{
    box-sizing: border-box;
    background-color: var(--background);
    font-family: 'Cormorant Garamond', serif;
    color: var(--main);
    font-size: 22px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='25' height='25' viewBox='0 0 30 30' %3E%3Cpath style='stroke:none;fill:%23fffcd2;' d='M 9 3 C 8.449219 3 8 3.449219 8 4 L 8 21 C 8 21.550781 8.449219 22 9 22 C 9.3125 22 9.609375 21.851562 9.796875 21.601562 L 12.921875 18.117188 L 16.382812 26.117188 C 16.703125 26.855469 17.566406 27.1875 18.296875 26.855469 C 19.019531 26.527344 19.339844 25.679688 19.015625 24.953125 L 15.4375 17.039062 L 21 17 C 21.550781 17 22 16.550781 22 16 C 22 15.699219 21.863281 15.414062 21.628906 15.222656 L 9.78125 3.378906 C 9.59375 3.140625 9.304688 3 9 3 Z M 9 3'/%3E%3C/svg%3E") 10 10, auto;
}
html::-webkit-scrollbar {
    display: none;
}
body{margin: 0;}
body > *{
    margin: 0;
    scrollbar-width: none;
}
*, *:before, *:after{
    box-sizing: inherit;
}

/* GENERAL STYLING */
h1{font-size: 3.2em; font-weight: 400;}
a{color: inherit; text-decoration: none; display: inline-block; transition: all 0.5s;}
p{margin-top: 5px;}
.content a, .arrow{ animation: blinker 3s linear infinite; font-style: italic;}

h2, .footer{
    font-size: 1.5em; 
    font-family: 'Blocus'; 
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 10px;
}
h3{font-size: 0.8em; font-weight: 300; margin-top: 0; margin-bottom: 5px;}

/* hovers */
a:hover{cursor: url("data:image/svg+xml;utf8,%3Csvg fill='%23fffcd2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='25' height='25' viewBox='0 0 30 30' %3E%3Cpath d='M 11 2 C 9.895 2 9 2.895 9 4 L 9 12 L 9 13 L 9 19.5 C 6.448 18.201 5.289 18 4 18 C 2.503911 18 1.0097445 18.577311 1.0019531 20.486328 L 5.5 22.5 L 8.65625 25.65625 C 10.15625 27.15625 12.192453 28 14.314453 28 L 21 28 C 23.209 28 25 26.209 25 24 L 25 14 A 2 2 0 0 0 23 12 A 2 2 0 0 0 21.193359 13.148438 C 21.066812 13.062233 21 13 21 13 A 2 2 0 0 0 19 11 A 2 2 0 0 0 17 13 L 17 12 C 17 10.895 16.105 10 15 10 C 13.895 10 13 10.895 13 12 L 13 4 C 13 2.895 12.105 2 11 2 z M 1.0019531 20.486328 L 1 20.486328 L 1 20.5 C 1 20.494991 1.0019328 20.491319 1.0019531 20.486328 z'/%3E%3C/svg%3E") 10 10, pointer;}
.logo a:hover, .footer-menu a:hover{
     text-shadow: -5px -5px 8px var(--highlight), 5px 5px 8px var(--highlight);
     color: var(--background);
}
.content a:hover, .arrow:hover{animation: none;}

/* RANDOMIZE LETTERS FONT */
.first{font-family: 'Kaeru-Kaeru';}
.second{font-family: 'Blocus';}

/* MAIN ELEMENTS */
.logo{
    position: fixed;
    z-index: 3;
    top: 5px;
    left: 25px;
}
.footer{
    font-size: 2em;
    bottom: 10px;
    position: fixed;
    text-align: center;
    width: 100vw;
    z-index: 3;
    text-shadow: -7px 5px 8px var(--background), 7px -5px 8px var(--background);
}
.footer-menu a:not(:last-child)::after {
    content: ',';
    width: 15px;
    display: inline-block;
    text-align: left;
}
.bg-container{
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Blocus';
    z-index: 0;
    pointer-events: none;
    color: var(--background);
    text-shadow: 0px 0px 25px var(--background);
}
.bg-title{
    margin: auto;
    font-size: 25vw;
    line-height: 0.8;
    text-align: center; 
}
.bg-title.news{
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.4;
    font-size: 1.3em;
    padding: 0 20vw;
    display: grid;
    height: 100vh;
}
.bg-title.news p {
  align-self: center;
  margin: 0;
}
.bg-title.news a{pointer-events: auto; font-style: italic;}
.light-circle{
  position: fixed;
  top: 42vw;
  left: 42vw;
  z-index: -1;
  width: 16vw;
  height: 16vw;
  border-radius: 8vw;
  filter: blur(30px);
  background-color: var(--highlight);
}

.menu{
    position: fixed;
    top: 14vh;
    width: 100vw;
    height: 80vh;
}

.menu-element{
    position: absolute;
    height: 15vh;
    margin-left: 15vw;
    margin-top: 20vh;
}
.menu-icon{height: 100%; position: relative;}
.menu-description{
    position: absolute;
    left: -50%;
    top: -25%;
    font-size: 5.5em;
    color: var(--background);
    text-shadow: 0px 0px 25px var(--background);
}

/* CONTENT LAYOUT */
.content{
    display: grid;
    position: fixed;
    height: 100vh;
    width: 100vw;
    column-gap: 20px;
    padding: 0 27px;
    line-height: 1.4;

    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr;
}
.column{
    overflow-y: scroll;
    padding-top: 20vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 5vh;
}
.column::-webkit-scrollbar {display: none;}

/* PROJECT ELEMENTS */
.project-icon{width: 10%;}
.arrows{
    display: flex;
    font-size: 0.6em;
    justify-content: center;
    gap: 10px;
}
.image-link{
    position: relative;
    width: max-content;
    animation: blinker 3s linear infinite;
}
.cover, .gallery{text-align: center; padding-bottom: 25px;}
.image{
    max-width: 100%;
    border: double black 5px;
    padding: 5px;
    margin-top: 12px;
    transition: filter 0.5s;
}
.image.landscape{width: 100%;}
.image.portrait{width: 66%;}
.image.even{width: 66%;}
.image:hover{
    filter: none;
}
.gallery-image img{max-width: 100%;}
.column iframe{
    border: double black 5px;
    padding: 5px;
    margin-top: 12px;
}
.arrow{
    margin-top: -5%;
    padding: 10px;
}
.next{float: right;} .prev{float: left;}



/* ANIMATIONS */
@keyframes blinker { 50% {opacity: 0;} }

/* MOBILE */
@media screen and (max-width: 700px) {
    h1{font-size: 2em;}
    .logo{
        left: 0;
        width: 100vw;
        text-align: center;
    }
    .light-circle{
        top: 45vw;
        left: 10vw;
        width: 50vw;
        height: 50vw;
        border-radius: 40vw;
    }
    h2, .footer{font-size: 1.7em;}
    .bg-title.news{
        font-size: 0.9em;
        padding: 0 10vw;
    }
    .content{
        position: relative;
        height: fit-content;
        grid-template-columns: 1fr;
    }
    .content p{font-size: 0.7em;}
    .description {grid-row-start: 1; padding-bottom: 0;}
    .info{
        padding-top: 0;
        padding-bottom: 20vh;
    }
    .arrow{margin-top: -14%;}
}