/* Media query for mobile devices (desktop layout disappears) */



/* Root Variables for different themes.*/
:root{
  --header-color: #b93c5f;
  --window-background-color: #fca9c0;
  --button-color: #c25b78;
  --header-font-family: "Poppin";
  --body-font-family: "Chillin on a Sunday";
  --desktop-background-color: magenta;
  --project-card-color: lightblue;
}
/* General / Body / HTML */

.centered{
  text-align: center;
  color: blue;
}

body {
  overflow: hidden;
  background-color: var(--desktop-background-color);
}

#desktop-layout{
  height: 100%;
  width: 100%;
  overflow: hidden;
  
}

p, footer, a, button, div {
  font-family: var(--body-font-family);
  font-size: 2.4vh;
}

/* Font */
@font-face {
  font-family: "Chillin on a Sunday"; 
  src: url("./Chillin\ on\ Sunday.ttf"); 
}

@font-face {
  font-family: "Poppin";
  src: url("./Poppin-Regular.otf");
}

/* Icons */
#icon-container{
  width: 120px;
  height: 95vh;
  display: flex;
  flex-direction: column;
}

.app-icons{
  background-color: transparent;
  display: block;
  border-radius: 5%;
  height: 75px;
  width: 75px;
  margin-bottom: 9%;
  margin-left: 1.5vw;
}

.desktop-icon-images {
  width: 100%;
  height: 100%;
  border-radius: 5%;
}
/* Windows (General) */
.headers{
  display: flex;
  flex-direction: row-reverse;
  cursor: move;
  width: 100%;
  background-color: var(--header-color);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  height: 30px;
  align-items: center;
  justify-content: right;
  touch-action: none;
}

.windows {
  border: 2px solid black;
  border-radius: 11px;
  position: absolute;
  z-index: 0;
  background-color: var(--window-background-color);
  resize: both;
  overflow: hidden;

}

.header-buttons {
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px
}

.originally-closed {
  display: none;
}

.window-content-containers {
  height: 95%;
  width: 100%;
}

/* Welcome Window & Icon */
#welcome {
  width: 40vw;
  height: 30vh;
  /* Min/Max Widths and Heights */
  max-width: 50vw;
  max-height: 50vh;
  min-width: 30vw;
  min-height: fit-content;  

}

#welcome-title {
  margin-left: 5%;
}
#welcome-paragraph{
  margin: 0 5% 5% 5%;
  font-size: 90%;
}

/* Projects Window Styling */
#projects {
  max-height: 90vh;
  max-width: 98vw;
  width: 90vw;
  height: 80vh;
  min-width: 90vw;
  min-height: 80vh;
}

.currently-selected {
  color: blue;
  background-color: pink;
}

.projects-container{
  height: 100%;
  display: flex;
  width: 95%;
  margin: 0 auto;
  flex-direction: column;
  /* overflow: hidden; */
}

.software-sections, .hardware-sections, .games-sections {
  background-color: pink;
  height: 120ch;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
  word-wrap: normal;
  overflow-x: auto;
  border-radius: 9px 0px 9px 9px;
  padding: 1vh;
  overflow-y: hidden;
}
.project-tabs {
  border: 0px;
  border-radius: 5px 5px 0px 0px;
}

.tabs-container {
  display: flex;
  justify-content: right;
  width: 100%;
  flex-direction: row;
}

.project-cards {
  width: 300px;
  height: 85%;
  border: 3px solid black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2%;
  margin: 0 2vw 0 2vw; 
  border-radius: 5%;
  background-color: var(--project-card-color);
  transition: transform 0.5s ease;
}

.project-cards:hover {
  transform: rotate(3deg);
}

.project-card-titles {
  margin-bottom: 0.5vh;
  margin-top: 0.25vh;
}

.section-titles {
  width: 100%;
  font-size: 1.5em;
  text-align: center;
  height: fit-content;
}

.project-images {
  width: 100%;
  height: 200px;
}

.project-descriptions{
  width: inherit;
  margin: 0;
  margin: 0.5vh 0 0.5vh 0;
}

.github-links, .demo-links {
  margin: 0;
  /* Button-like styling */
  background-color: var(--button-color);
  width: 90%;
  text-align: center;
  margin-bottom: 3px;
  border: 3px solid black ;
  border-radius: 10px;
  height: fit-content;
  padding: 2px;
  transition: transform 0.5s ease;
}

.github-links:hover, .demo-links:hover {
  transform: rotate(-2deg) scale(1.03)
}

.true-links {
  color: pink;
}

.nothing-here-text {
  width: 100%;
  justify-content: center;
  display: flex;
}

#projects-title {
  font-family: var(--header-font-family);
  margin:0;
  margin-left: 2vw;
  margin-top: 2vh;
  font-size: 2em;
  display: flex;
  justify-content: center;
  width: 95%;
}

#projects-content-container {
  overflow-y: scroll;
}
/* Socials Windows Styling*/
#socials {
  max-height: 90vh;
  min-height: 90vh;
  min-width: 20vw;
  max-width: 30vw;
}

/* Interests and Hobbies Styling */
#interests {
  max-width: 95vw;
  max-height: 85vh;
  min-width: 70vw;
  min-height: 70vh;
}

#interests-content{
  padding: 5%;
}

#interests-paragraph {
  margin: 0 5% 0 5%;
}

#interests-title {
  font-family: var(--header-font-family);
  width: 100%;
  display: flex;
  text-align: center;
  height: fit-content;
  justify-content: center;
  align-items: center;
  margin: 0 0 5% 0;
  padding: 0;
}

/* Taskbar Styling */
#taskbar {
  width: 100%;
  height: 6vh;
  background-color: pink;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
}

#time-and-date{
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 2px;
  width: fit-content;
  margin-left: auto; 
  margin-right: 2vw;
}

#taskbar-icons-container {
  width:auto;
  display: flex;
  justify-content: center;
  height: 100%;
}
.expanded {
  width: 95vw !important;
  height: 90vh !important;
}

.taskbar-icons{
  width: 6vh;
  height: 100%;
  background-color: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 0 1vw;  
  border-radius: 5px;
}

.taskbar-icon-images {
  width: 70%;
  height: 70%;
  padding-top: 10%;
  margin: 0;
 
}
.opened-icons{
  display: block;
  background-color: transparent;
}
.minimized {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid white;
}

.closed-icons {
  display: none;
}

/* Media Query for Mobile Screens */
@media only screen and (max-width: 600px){
  .app-icons{
    display: block;
    border-radius: 5%;
    height: 28vh;
    width: 46vw;
  }

  #icon-container {
    width: 100vw; 
    height: 94vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    
  }

  #desktop-layout{
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #welcome {
    width: 50%;
  }
}

