:root {
    --lightcolor: #efefef;
    --green-900: #22543d;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #272727;
    background-image: url("/media/ChronoCraft_Background.png");
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
    transition: all 0.2s ease;
}

.layoutfooter, .layoutfooter a {
    color: #888;
}

.cbsitehover {
    height: 100%;
    width: 100%;
    transition: all 0.5s ease;
}
    .cbsitehover2 {
        overflow: hidden;
    }
    .cbsitehover:hover {
        transform: scale(1.15);
    }

.ccdiscordjoin {
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
    .ccdiscordjoin:after {
        content: '\25B8';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
    }
    button.ccdiscordjoinpre:hover span {
    padding-right: 20px;
    }
    button.ccdiscordjoinpre:hover .ccdiscordjoin:after {
        opacity: 1;
        right: 0;
    }

.ccinfoframe {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
}

.ccmorecells {
    height: 200px;
}

@media screen and (min-width: 1024px) {
    .ccinfoframe {
        width: 500px;
        height: 80vh;
        min-height:600px;
        max-height: 900px;
    }
    .ccmorecells {
        height: 400px;
    }
}

#snackbar {
    visibility: hidden;
    min-width: 8em;
    margin-left: -4em;
    text-align: center;
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: 30px;
}
    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2s;
        animation: fadein 0.5s, fadeout 0.5s 2s;
    }
    @-webkit-keyframes fadein {
        from {bottom: 0; opacity: 0;} 
        to {bottom: 30px; opacity: 1;}
    }
    @keyframes fadein {
        from {bottom: 0; opacity: 0;}
        to {bottom: 30px; opacity: 1;}
    }
    @-webkit-keyframes fadeout {
        from {bottom: 30px; opacity: 1;} 
        to {bottom: 0; opacity: 0;}
    }
    @keyframes fadeout {
        from {bottom: 30px; opacity: 1;}
        to {bottom: 0; opacity: 0;}
    }

.parallax {
  background-image: url('assets/parallax-bg.jpg'); /* update filename if different */
  min-height: 100vh;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.parallax h1 {
  color: white;
  font-size: 4rem;
  font-family: 'Orbitron', sans-serif;
  z-index: 2;
  text-align: center;
}
