/* Header for dragging */
.window-header {
  background-color: #333;
  color: white;
  padding: 10px;
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

/* ---------------------same as the window header but its transparent for the ff7 window*/
.ff7-window-header {
  background-color: transparent;
  color: white;
  padding: 10px;
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

/* Window content */
.window-content {
  padding: 15px;
}

#about-window {
  position: fixed;
  z-index: 10;
  left: 10%;
  top: 10%;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 70%;
  background-color: #f4f4f4;
  border: 5px solid #c4c6c5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
}

#work-window {
  z-index: 10;
  top: 15%;
  left: 27%;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 50%;
  height: 50%;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
}

#contact-window {
  position: fixed;
  z-index: 10;
  left: 40%;
  top: 16%;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 45%;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
}

#about-window * {
  font-family: "Dongle";
  font-size: xx-large;
}

.window-title {
  font-family: "Dongle";
  font-size: xx-large;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.close-button {
  cursor: pointer;
  border: none;
  background: none;
  font-size: 20px;
}

/*
---------------------------animations---------------------------
*/

@keyframes shrink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes grow {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hidden {
  animation: shrink 0.5s forwards;
}

.not-hidden {
  animation: grow 0.5s forwards;
}

/* ----------------------making sure windows don't show on load---------------------- */

#about-window.hidden.not-opened {
  display: none;
}

#work-window.hidden.not-opened {
  display: none;
}

#contact-window.hidden.not-opened {
  display: none;
}
/* ----------------------about image styling---------------------- */
.about-image {
  width: 200;
  height: 200px;
}

/* ----------------------education header styling---------------------- */
.about-page-headers {
  font-size: 50px !important;
}

/* ----------------------ff7 style---------------------- */

.ff7 {
  border: solid 1px #abaeb5;
  box-shadow:
    1px 1px #e7dfe7,
    -1px -1px #e7dfe7,
    1px -1px #e7dfe7,
    -1px 1px #e7dfe7,
    0 -2px #9c9a9c,
    -2px 0 #7b757b,
    0 2px #424542;
  width: 500px;
  padding: 5px 10px;

  background: #04009d;
  background: -moz-linear-gradient(top, #04009d 0%, #06004d 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #04009d),
    color-stop(100%, #06004d)
  );
  background: -webkit-linear-gradient(top, #04009d 0%, #06004d 100%);
  background: -o-linear-gradient(top, #04009d 0%, #06004d 100%);
  background: -ms-linear-gradient(top, #04009d 0%, #06004d 100%);
  background: linear-gradient(to bottom, #04009d 0%, #06004d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#04009d",
    endColorstr="#06004d", GradientType=0 );

  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}

.ff7 * {
  color: #eff1ff;
  text-shadow: 2px 2px #212421, 1px 1px #212021;
  font-family: Verdana, sans-serif;
  font-size: 20px;
  font-weight: normal;
  margin: 5px 0;
}

/* ----------------------about window internal styling---------------------- */
.stat-label {
  color: #25b1b5;
}

/* ---------------------row styling--------------------- */
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/*-------------------education text adjustment-----------------*/

#school {
  font-size: 60px;
  margin-top: -30px;
}

#degree {
  font-size: 40px;
  margin-top: -35px;
}

#graduation-date {
  margin-top: -30px;
  margin-left: 20px;
}

/*---------------adjusting the font size of interests--------*/

/*---------------------------------adjusting for smaller screens*/
@media (max-width: 500px) {
  .about-image {
    width: 100px;
    height: auto;
  }
  #about-window {
    top: 0;
    left: 0;
    position: fixed;
    z-index: 10;
    align-items: center;
    justify-content: center;
    width: 93%;
    height: 100%;
    background-color: #f4f4f4;
    border: 5px solid #c4c6c5;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
  }

  #work-window {
    top: 0%;
    left: 0%;
    z-index: 10;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
  }

  #contact-window {
    position: fixed;
    z-index: 10;
    left: 0%;
    top: 0%;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
  }

  #school {
    font-size: 35px;
  }
  #degree {
    font-size: 30px;
    margin-top: -25px;
  }
  #graduation-date {
    margin-top: -25px;
  }
}
