@font-face {
    font-family: 'Adwaita Sans';
    src: url("../fonts/adwaita/adwaita-sans/AdwaitaSans-Regular.ttf") format('truetype'), local('Adwaita Sans'), local('Adwaita Sans');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Adwaita Mono';
    src: url("../fonts/adwaita/adwaita-mono/AdwaitaMono-Regular.ttf") format('truetype'), local('Adwaita Mono'), local('Adwaita Monos');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'Adwaita Sans', Arial, Helvetica, sans-serif;
    padding: 10px;
}

/*HEADER AND NAVIGATION*/

.header{
    overflow: hidden;
    background-color: #202134;
    padding: 14px 16px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.header .openbtn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.header .openbtn .material-icons {
    font-size: 32px;
    vertical-align: middle;
}

.header-title {
    margin: 0;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    z-index: 1;
}

.img-header {
  width: 100%;
  height: 400px;
  background-image: url('../images/astral-express-honkai-star-rail-thumb.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 5px 0 2.5px 0;
filter: brightness(70%);
}

.img-header-holder {
    width: 100%;
    min-height: 320px;
    max-height: 550px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.caption {
    position: absolute;
    left: 6vw;
    bottom: 4vw;
    color: #fff;
    font-size: 2.2rem;
    font-family: 'Adwaita Sans', sans-serif;
    z-index: 5;
    text-shadow: 2px 2px 18px rgba(0,0,0,0.6);
    max-width: 60vw;
    font-weight: 600;
    line-height: 1.2;
    animation: fadeInUp 1.2s;
}

.pretextline::before{
    font-size: 16px;
    padding: 0px;
    content: "Acheron";
}

.textline::after{
        font-size: 35px;
        padding: 0px;
        content: "Lone voyagers in the cosmos are driven by two desires — to tread in the trails of the past and to forge their own way. But under THEIR scrutiny... most end up adhering to the former."
    }

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #714c64;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  color: white;
  display: flex;       
  align-items: center;
  transition: 0.3s;
  justify-content: flex-start; 
  gap: 14px;  
}

.sidebar-icon {
  font-size: 28px;
  color: white;
  margin-right: 2px;
}

.sidebar a:hover {
    color: #b4c1e7;
}

.sidebar-icon:hover {
    color: #b4c1e7;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #fff;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/*IMAGES*/

img {
    margin: 0 auto;
    max-width: 100%;
}

/*BOX CONTAINERS AND BOXES*/

.containers{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box, .box-large {
    color: #202134;
    background-color: #DAD7F1;
    border-style: none;
    border-width: 0.5px;
    margin: 5px 0 5px 0;
    box-sizing: border-box;
    transition: 0.3s ease;
    padding: 0;
    display: flex;
    align-items: stretch;
    width: 49.7%;
    min-height: 220px;
}

.box-large{
    width: 100%;
}

.box:hover, .box-large:hover{
    background-color: #E3E1F7;
}

.box-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 20px;
    gap: 18px;
    justify-content: space-between;
    min-height: 200px;
}

.box-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    word-break: break-word;
    font-size: 1rem;
    color: #202134;
}

.box-text a{
    text-decoration: none;
    color: #202134
}

.box-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    max-width: 250px;
}

.box-image img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    background: rgba(103,80,164,0.08);
    box-shadow: 0 2px 8px rgba(103, 80, 164, 0.08);
}

.box-icon {
    font-size: 24px;
    vertical-align: middle;
    margin-right: 6px;
    color: #202134;
}

.box-list-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 6px;
    color: #202134;
}

/*FOOTER*/

.footer {
    text-align: center;
    font-size: 13px;
    font-family: 'Adwaita Sans', sans-serif;
    background-color: #202134;
    color: white;
    padding: 1px;
}

.footer-link {
    text-decoration: none;
    color: #202134;
}

/*MOBILE RESPONSIVE*/

@media (max-width: 900px) {
    .textline::after{
        font-size: 35px;
        padding: 0px;
        content: "Welcome to Limorina's Personal Page"
    }
    .pretextline::before{
        font-size: 35px;
        padding: 0px;
        content: ""
    }
    .containers {
        flex-direction: column;
    }
    .box, .box-large {
        width: 100%;
        min-height: unset;
        margin: 5px 0 5px 0;
        padding: 30;
    }
    .box-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 8px;
        min-height: unset;
    }
    .box-image, .box-image img {
        width: 85vw;
    }
    .box-text {
        font-size: 16px;
        text-align: left;
    }
}
