body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 0;
    font-size: 19.5px;
    font-family: "Inconsolata", "Fira Code", "Monospace", "Helvetica";
    color: #c0caf5;
    line-height: 1.4;
    background-image: url("../images/bg-color-v3.png");
    background-color: #1a1a21;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 3rem auto;
    padding: 1rem 1.5rem 0.5rem;
    background-color: #1a1a26;
    border: 1px solid white;
    box-shadow: 2px 2px 10px #1a1c29;
    overflow: hidden;
    position: relative;
}

.smallcontainer {
    max-width: 1000px;
    width: 100%;
    margin: 8rem auto;
    padding: 1rem 1.5rem 0.5rem;
    background-color: #1a1a26;
    /*#23252E;*/
    border: 1px solid white;
    box-shadow: 2px 2px 10px #1a1c29;
}

/* text */

h1, h2, h3 {
    margin: 1rem 0 0.5rem 0.2rem;
    font-family: "Quantico";
    font-weight: bold;
}

h1 {
    color: #326270;
    font-size: 2.2em;
}

h2, h3 {
    color: #395F73;
}

h4 {
    margin: 5px 0 5px 0;
}

.h-footer {
    margin: -10px 0 0 0.2px;
    font-size: 0.8em;     
}

p {
    margin-top: 0.6rem;
}

footer {
    font-size: 10px;
    color: #8f97bd;
    padding-top: 17px;
}

blockquote {
    margin-left: 26px;
    border-left: 4px solid #666c8a;
    padding-left: 10px;
    color: #8f97bd;
    font-style: italic;
}

.c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-quote {
    font-style: italic;
    text-align: var(--quotealign);
    display: block;
    width: fit-content;
    padding: 5px 15px;
    margin: 20px auto;
    position: relative; /*using as anchor for extension */        
    z-index: 0; /*stacking*/  
    background: var(--quotebg);
    color: var(--quotecolor);
}

.center-quote.extend-left::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;   
    right: 100%;   
    z-index: -1; /*behind quote */
    background: var(--quotebg);
}

.center-quote.extend-right::before {
    content: "";
    position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;   
  right: -100vw;    
  z-index: -1;
  background: var(--quotebg)
}

/* media */

.image-container {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  width: 85%; 
  padding: 19px 0;
  margin-left: 1.5rem;
}

.image {
  width: 48%;   
  height: auto;
  object-fit: cover;
  box-shadow: 2px 2px 10px #1a1c29;
}

.spotify {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 120px;
    flex-direction: column;
    margin-right: 10px;
    padding-bottom: 0.5rem;
}

/* lists/links */

a:link, a:visited {
    color: #9aa5ce;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #5a3e8e;
}

.nav-link:link {
    color: #9aa5ce;
}

.nav-link:visited {
    color: #626b96;
}

.nav-link:hover {
    color: #5a3e8e;
    text-decoration: underline;
}

.post-list {
    list-style-type: none;
    padding-left: 1rem;
}

.post-list li::before {
    content:attr(date);
    padding-right: 0.8rem;
    color: #666c8a;
}

/* media queries ig */

@media (max-width: 1100px) and (min-width: 768px), (max-height: 594px) and (min-width: 768px) {
    .container {
        max-width: 80%;
        padding: 1rem;
    }

    .smallcontainer {
        max-width: 80%;
        padding: 1rem;
        margin: 5rem auto;
    }

    body {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 90%;
        padding: 0.5rem 1rem;
    }

    .smallcontainer {
        max-width: 90%;
        padding: 0.5rem 1rem;
        margin: 5rem auto;

    }

    body {
        font-size: 16px;
        padding: 20px;          
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0.7rem;
    }

    body {
        font-size: 14px;    
    }
}

@media (max-width: 390px) {

    body {
        padding-top: 10px;
    }
}

