@font-face {
  font-family: 'Rainy Hearts';
  src: url('rainyhearts.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --font: 'Rainy Hearts', sans-serif;
  --heading-font: 'Rainy Hearts', sans-serif;

  --mc-border: #1e2d19;            
  --mc-bg: rgba(59, 107, 55, 0.814); 
  --mc-text: #f0e6d2;        
  --mc-link: #9b0f73;          
  --mc-link-hover: #ffffff;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  font-family: var(--font);
  
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
}

body.main-page {
    background-image: url("0keroppi.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 20px;
    font-family: var(--font);
    margin-top: 150px;
    
}

.site-wrapper {
    width: 100%; 
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 200px; 
    grid-template-rows: auto 1fr;
    gap: 7px;
    align-items: start;
}

.site-header {
    grid-column: 1 / -1;
    text-align: center;

    position: relative;
    top: 28px;
    z-index: 1;
    left:8px;

}

#left-col,
#center-col,
#right-col {
    display: flex;
    flex-direction: column;
}

.box {
  border: 2px solid var(--mc-border);
  background-color: var(--mc-bg);
  color: var(--mc-text);
  padding: 6px 8px;
  margin: 3px;
  backdrop-filter: blur(2px);
}

.box p {
  margin: 3px 0;
  line-height: 1.5;
}

a {
  color: var(--mc-link);
  text-decoration: none;
}

a:hover {
  color: var(--mc-link-hover);
}


#navigation p {
    margin: 2px 0;
}

#main-content h1 {
    font-size: 27px;
    margin-bottom: 6px;
    color: rgb(68, 235, 135);
}

.site-footer {
    grid-column: 1 / -1;
    text-align: center;
    color: rgb(227, 34, 24);
    font-size: 11px;
    padding: 6px 0;
  }


#nav-gif {
    position: absolute;
    z-index: 1;
    bottom: 137px;
    left: 11px;
}

#status-text {
    position: absolute;
    z-index: 1;
    top: -18px;
    left: 50px;
}

#changelog-text {
    position: absolute;
    z-index: 10;
    top: 138px;
    left: 20px;
}

#links-text {
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 30px;
}

#currently-text {
    position: absolute;
    z-index: 1;
    top: -18px;
    left: 20px;
}

.finished-movie {
    color: rgb(28, 214, 31);
    border-bottom: 2px dotted #b9a556;
}
.watching-movie {
    color: rgb(235, 204, 68);
    border-bottom: 2px dotted #b9a556;

}
.watch-list {
    color: rgb(21, 196, 219);
    border-bottom: 2px dotted #b9a556;

}

.month-header-movie {
    color: rgb(235, 204, 68);
    font-size: 24px;
    margin-bottom: 4px;
    border-top: #e1d9b8 3px dashed;
}

#changelog {
  max-height: 150px;
  overflow-y: auto;
}

#left-col,
#right-col {
    position: sticky;
    top: 20px; 
}

.hover-container {
    position: relative;
    display: inline-block;
}

.hover-container .tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: rgba(61, 65, 102, 0.95);
    color: rgb(235, 182, 68);
    text-align: center;
    padding-top: 6px;
    padding-right: 8px;
    padding-bottom: 6px;
    padding-left: 8px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(235, 182, 68);
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(235, 182, 68);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(235, 182, 68);
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(235, 182, 68);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 8px;
    margin-left: 0;
}

.hover-container:hover .tooltip-text {
    visibility: visible;
}



.hover-tilt-container {
    position: relative;
    display: inline-block;
    margin-top: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
    margin-left: 2px;
}

.hover-tilt-container img {
    transition-property: transform;
    transition-duration: 0.01s;
    transition-timing-function: ease-in-out;
}

.hover-tilt-container:hover img {
    transform: scale(1.2) rotate(6deg);
}

.hover-tilt-container .tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: rgba(61, 65, 102, 0.95);
    color: rgb(235, 182, 68);
    text-align: center;
    padding-top: 6px;
    padding-right: 8px;
    padding-bottom: 6px;
    padding-left: 8px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(235, 182, 68);
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(235, 182, 68);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(235, 182, 68);
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(235, 182, 68);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 8px;
    margin-left: -50%;
}

.hover-tilt-container:hover .tooltip-text {
    visibility: visible;
}


.profile-header {
  display: flex;
  align-items: center; 
  gap: 15px;           
}

.profile-text h1 {
  margin: 0;
}