html {
  height: 100%;
  -webkit-user-select: none; /* Safari / Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
  overflow: hidden;
}

body {
    font-family: monospace;
    background-image: linear-gradient(#1D3557,#457B9D);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*clock*/

#clock {
  color: #A8DADC;
  font-size: 22px;
  text-align: center;
  padding-bottom: 10px;
}

/*introduction*/
.pane {
  position: absolute;
  /* box-sizing: border-box; */
  top: 0px;
  left: 0px;
}

.header {
    background-color: #A8DADC;
    margin: auto;
    width: 520px;
    height: 5px;
    border: 3px solid #457B9D;
    border-radius: 10px 10px 0px 0px;
    border-style: solid solid hidden solid;
    padding: 20px;
    color: #1D3557;
    
}

.title {
    font-size: 15px;
    position: relative;
    bottom: 5px;
}

.homewindow {
    background-color: #F1FAEE;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #457B9D;
    border-style: hidden solid solid solid;
    padding: 20px;
    width: 520px;
    height: 260px;
    text-align: center;
    line-height: 20px;
}

#greet {
    font-size: 60px;
    color: #1D3557;
}

#intro {
    font-size: 83px;
    color: #457B9D;
}

.nav-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  word-spacing: 50px;
}

.nav-link button {
  border: none;
  background: none;
}

/*about page*/
#about-window {
  display: none;
  position: fixed;
}

.window-header {
    background-color: #A8DADC;
    border: 3px solid #457B9D;
    border-radius: 10px 10px 0px 0px;
    border-style: solid solid hidden solid;
    padding: 20px;
    color: #1D3557;
    display: flex;
    cursor: pointer;
}

#window-header-about {
  width: 650px;
  height: 5px;
}

#nav-bar-about {
    font-size: 15px;
    display: flex;
    border: none;
    background: none;
    position: relative;
    bottom: 20px;
    font-family: monospace;
    color: #1D3557;
}

.exit {
  display: grid;
  border: none;
  background: none;
  font-size: 15px;
  justify-items: left;
  width: auto;
  color: #1D3557;
  animation-name: unexithover;
  animation-duration: 0.25s;
  animation-fill-mode: both;
}

#exit-about {
  position: relative;
  bottom: 8px;
  left: 555px;
}

#about-container {
    background-color: #F1FAEE;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #457B9D;
    border-style: hidden solid solid solid;
    display: flex;  
    gap: 20px;    
    padding: 20px;
    width: 650px;
    height: 430px;
    text-align: center;
    line-height: 20px;
}

.profile-pic {
  width: 150px;
  height: 180px;
  background-color: #ccc;
  border-radius: 10px;
  object-fit: cover;
}

.profile-text {
  text-align: left;
  font-size: 12pt;
  font-family: monospace;
  color: #1D3557;
}


.alt-name {
  color: #A91521;
}

#about-info {
  background-color: #F1FAEE;
  margin: auto;
  border-radius: 0px 0px 10px 10px;
  border: 3px solid #457B9D;
  border-style: dotted solid solid solid; 
  gap: 20px;    
  padding: 20px;
  width: 650px;
  height: 210px;
  position: relative;
  bottom: 251px;
  text-align: left;
  font-size: 12pt;
  color: #1D3557;
  overflow-y: scroll;
}

.title-info {
  color: #457B9D;
}

.list-linespace{
  line-height: 27px;
}

/*Link Window*/

#link-window {
  display: none;
  position: fixed;
}

#window-header-link {
  width: 450px;
  height: 5px;
}

#nav-bar-link {
    font-size: 15px;
    display: flex;
    border: none;
    background: none;
    position: relative;
    bottom: 8px;
    font-family: monospace;
    color: #1D3557;
}

#exit-link {
  position: relative;
  bottom: 8px;
  left: 360px;
}

.link-container {
    background-color: #F1FAEE;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #457B9D;
    border-style: hidden solid solid solid;
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
    gap: 20px;    
    padding: 20px;
    width: 450px;
    height: 230px;
    text-align: center;
  }

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.link-container img {
  animation-name: unhovering;
  animation-duration: 0.25s;
  animation-fill-mode: both;  
}

#X {
  position: relative;
  top: 2.22%;
}

#YT {
  position: relative;
  top: 2.5%;
}

/*Works Window*/

#work-window {
  display: none;
  position: fixed;
}

#window-header-work {
  width: 700px;
  height: 5px;
}

#exit-work {
  position: relative;
  bottom: 8px;
  left: 599px;
}

#work-container {
    background-color: #F1FAEE;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #457B9D;
    border-style: hidden solid solid solid;
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
    gap: 20px;    
    padding: 20px;
    width: 700px;
    height: 430px;
    text-align: center;
  }

/*Works Window*/
#contact-window {
  display: none;
  position: fixed;
}

#window-header-contact {
  width: 350px;
  height: 5px;
}

#exit-contact {
  position: relative;
  bottom: 8px;
  left: 230px;
}

#contact-container {
    background-color: #F1FAEE;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #457B9D;
    border-style: hidden solid solid solid;
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
    gap: 20px;    
    padding: 20px;
    width: 350px;
    height: 330px;
    text-align: center;
  }

.text {
  color: #457B9D;
}

.contact-pic {
    width: 240px;
    height: 240px;
    position: relative;
    bottom: 50px;
}

.text-phone {
  color: #457B9D;
  position: relative;
  bottom: 100px;
}

/*effect & stuff*/

.nav-link img {
  animation-name: unhovering;
  animation-duration: 0.25s;
  animation-fill-mode: both;
}

.nav-link img:hover {
  animation-name: hovering;
  animation-duration: 0.25s;
  animation-fill-mode: both;
  cursor: pointer;
}

.link-container img:hover {
  animation-name: hovering;
  animation-duration: 0.25s;
  animation-fill-mode: both;
  cursor: pointer;  
}

.exit:hover {
  animation-name: exithover;
  animation-duration: 0.25s;
  animation-fill-mode: both;
  cursor: pointer;
}


/*animations*/

@keyframes hovering {
  0% {scale: 100%;}
  100% {scale: 105%;}
}

@keyframes unhovering {
  0% {scale: 105%;}
  100% {scale: 100%;}
}

@keyframes exithover {
  0% {font-size: 100%;}
  100% {font-size: 105%;}
}

@keyframes unexithover {
  0% {font-size: 105%;}
  100% {font-size: 100%;}
}
/*footer*/
footer {
  position: fixed;
  bottom: 5px;
  color: #A8DADC;
}


/*rain effect*/

.rain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
}

.rain.back-row {
  display: none;
  z-index: -50;
  bottom: 60px;
  opacity: 0.5;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 15px;
  height: 120px;
  pointer-events: none;
  animation: drop 0.5s linear infinite;
}

@keyframes drop {
  0% {
    transform: translateY(0vh);
  }
  75% {
    transform: translateY(90vh);
  }
  100% {
    transform: translateY(90vh);
  }
}

.stem {
  width: 1px;
  height: 60%;
  margin-left: 7px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
  animation: stem 0.5s linear infinite;
}

@keyframes stem {
  0% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.splat {
  width: 15px;
  height: 10px;
  border-top: 2px dotted rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  transform: scale(0);
  animation: splat 0.5s linear infinite;
  display: none;
}

body.splat-toggle .splat {
  display: block;
}

@keyframes splat {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  80% {
    opacity: 1;
    transform: scale(0);
  }
  90% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.dragging .window-header {
  background-color: #73a8aa;
}
