@font-face {
    font-family: "Cyberwave";
    src: url("../fonts/Cyberwave2000-Regular.otf");
}

@font-face {
    font-family: "Pixalatte";
    src: url("../fonts/Cas-Pixalatte-Rounded.otf");
}

@font-face {
    font-family: "AudioNugget";
    src: url("../fonts/AudioNugget.ttf");
}

img.bg, img.lace-bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
  img.lace-bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}

body {
    background:
        linear-gradient(324deg, #232927 4%,   transparent 4%) -70px 43px,
        linear-gradient( 36deg, #232927 4%,   transparent 4%) 30px 43px,
        linear-gradient( 72deg, #e3d7bf 8.5%, transparent 8.5%) 30px 43px,
        linear-gradient(288deg, #e3d7bf 8.5%, transparent 8.5%) -70px 43px,
        linear-gradient(216deg, #e3d7bf 7.5%, transparent 7.5%) -70px 23px,
        linear-gradient(144deg, #e3d7bf 7.5%, transparent 7.5%) 30px 23px,

        linear-gradient(324deg, #232927 4%,   transparent 4%) -20px 93px,
        linear-gradient( 36deg, #232927 4%,   transparent 4%) 80px 93px,
        linear-gradient( 72deg, #e3d7bf 8.5%, transparent 8.5%) 80px 93px,
        linear-gradient(288deg, #e3d7bf 8.5%, transparent 8.5%) -20px 93px,
        linear-gradient(216deg, #e3d7bf 7.5%, transparent 7.5%) -20px 73px,
        linear-gradient(144deg, #e3d7bf 7.5%, transparent 7.5%) 80px 73px;
    background-color: #232927;
    background-size: 100px 100px;    margin: 0;

    padding: 20px;

    font-family: "Pixalatte";
}

/* HERO SECTION */
/* align hero data horizontally*/
#hero {
    display: flex;
    flex-direction: row;
    gap:20px;

    margin-bottom: 20px;
}

/* HERO-DATA SECTION */
#hero-data {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #FEA6BE,
            #FFF7FA
        );
    width: 75%;
    border-radius: 15px;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    text-align: center;
    color: #2D2D2D;
}

#hero-content h1 {
    color: #FF5781;
    font-family: "Pixalatte";
}
#hero-content h2 {
    color: #2D2D2D;
    font-family: "Cyberwave";
}

/* making sure that the text within hero sits in front of the animated cd background */
#hero-content {
    position: relative;
    z-index: 10;
}

/* CD BACKGROUND WITHIN HERO */
#cd-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    overflow: hidden;
    opacity: .35;   
    pointer-events: none;
}

.column {
    display: flex;
    flex-direction: column;

    flex-shrink: 0;
}

.column img {
    display: block;
    width: 100px;
    height: auto;
}

/* UP ANIMATION FOR CDS */
@keyframes move-up {
    from {
        transform: translateY(45%);
    }
    to {
        transform: translateY(-100%);
    }
}

.up {
    animation:
        move-up
        30s
        linear
        infinite;
}

/* DOWN ANIMATION FOR CDS */
@keyframes move-down {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(45%);
    }
}

.down {
    animation:
        move-down
        30s
        linear
        infinite;
}

/* DOWNLOADS */
/* download button img (interactable), put CSS stuff here */
/* make the "DOWNLOAD PDF HERE text alternate color and stuff, kinda flashy but not too bright*/
#downloads {
    background-color:#FDE1E9;
    width: 75%;
    border-radius: 15px;
    text-align: center;
    
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* creates a window header for each box */
#window-title {
    background: #FF5781;
    color: #2D2D2D;
    padding: 8px;
    border-radius: 15px;
    margin-bottom: 15px;
    text-align: center;
}

/* WINDOW CLASS */
/* changes color, border, shadow, and radius of resume slots*/
.window {
    background: #FDE1E9;
    color: #2D2D2D;
    border-radius: 25px;
    box-shadow:
        0 6px 15px rgba(0,0,0,.15);
    padding: 20px;

    /* BORDER LACE */
    border-top: 5px dotted #FFFFC5;
    padding-top: 15px;

    border-bottom: 5px dotted #FFFFC5;
    padding-bottom: 15px;

    border-left: 5px dotted #FFFFC5;
    padding-left: 15px;

    border-right: 5px dotted #FFFFC5;
    padding-right: 15px;
}

/* WINDOW HOVER EFFECT */
/* current hover effect for each card, but i feel like it drops too quickly at the moment :( */
.window:hover {
    transform: translateY(-3px);
    transition: .3s;
}

/* RESUME-BOX CLASS */
/* changes width, spacing, and alignment*/
.resume-box {
    width: 75%;
    margin-bottom: 20px;
}

/* left and right class, does as title says (title) */
.left {
    margin-right: auto;
}
.right {
    margin-left: auto;
}
/* container (contains EVERYTHING) */
#container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
#header {
    background:
        linear-gradient(
            to right,
            #FF5781,
            #FEA6BE
        );
    color: #2D2D2D;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
    border: 10px solid #FFCDD9;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* layout of main page */
#content {
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: flex-start;
}

/* LEFT SIDEBAR */
#left-column {
    width: 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#nav {
    background-color: #FFCDD9;
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

#fun-facts {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

#research {
    background-color: #FFCDD9;
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

#reading {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

#school {
    background-color: #FFCDD9;
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

#playing {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    gap: 20px;
}

/* CENTER CONTENT/COLUMN */
#center-column {
    width: 600px;
}

/* right sidebar */
#right-column {
    width: 250px;
    text-align: left;   
    display: flex;
    flex-direction: column;
    gap: 85px;
}

#updates {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
#updates h3 {
    text-align: center;
}

#web-dev {
    background-color: #FFCDD9;
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

#web-dev h3 {
    text-align: center;
}

#contact {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

#inspo {
    background-color: #FFCDD9;
    border: 5px solid #9C5D7B;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

#top-ten {
    background-color: #FFCDD9;
    border: 5px solid #FF5781;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* CENTER COLUMN (actual resume info goes here) */
#skills {
    width: 75%;
}

#skills h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#education {
    width: 65%;
}

#education h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#study-abroad {
    width: 45%;
}

#study-abroad h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#projects {
    width: 85%;
}

#projects h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#experience {
    width: 90%;
}

#experience h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#conf-cert {
    width: 65%;
}

#conf-cert h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#honors-awards {
    width: 80%;
}

#honors-awards h1 {
    border-bottom: 9px dotted #FFCDD9;
    padding-bottom: 10px;
}

#left-column h1, #left-column h2, #left-column h3 {
    text-align: center;
}

#left-column h2 {
    font-family: "Pixalatte";
}

#right-column h2, #right-column p {
    text-align: center;
}

#download-content {
    display: flex;
    align-items: center; /* vertically centers */
    gap: 30px;
}

.download-button {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 200px;
    height: 200px;
}

.download-button img {
    max-width: 100%;
    max-height: 100%;
    transform: scale(1.25);
}

.download-button:hover {
    transform: scale(1.27);
    transition: 0.3s;
}

.download-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: color-change 1s infinite;
    font-size: .7rem;
    text-align: center;
}


/* COLOR CHANGING TEXT */
@keyframes color-change {
    0% { color: #2D2D2D; }
    50% { color: #FF5781;}
    100% { color: #2D2D2D;; }
}
/* APPLYING COLOR CHANGE TO WEB-DEV CARD <p> TEXT IN RIGHT SIDEBAR */
#web-dev p {
  animation: color-change 1s infinite;
}