@font-face {
  font-family: ms_sans;
  src: url(../fonts/ms_sans_serif.woff) format('woff');
  src: url(../fonts/ms_sans_serif.woff2) format('woff2');
}

@font-face {
  font-family: ms_sansB;
  src: url(../fonts/ms_sans_serif_bold.woff) format('woff');
  src: url(../fonts/ms_sans_serif_bold.woff2) format('woff2');
}

@font-face {
  font-family: perfectVGA;
  src: url(../fonts/Perfect\ DOS\ VGA\ 437.ttf) format('truetype');
}
  
html{
  background-color: #007E7D;
}

  body {
    margin: 0;
    cursor: url("../assets/cursor.png"), auto;
  }
  
  h1 {
    font-family: ms_sans;
    font-size: 25px;
    color: black;
    display: block;
    position: relative;
    top: -4px;
  }
  
  p {
    font-family: ms_sans;
  }
  p1 {
    font-family: ms_sans;
    margin-left: -10px;
    font-size: 15px;
  }

iframe{
  width: 60%;
  height: 600px;
    margin: 0;
    padding-left: 5em;
    padding-bottom: 2rem;
    border: none;
    
    /*   height: 400px; */
    display: inline-block;
    float: left;
    margin-bottom: 2%;
  }

  #lnf{
    padding-top: 5em;
    width: 25%;
    height: 400px;
  }

  #illusion{
    width: 40%;
  }

  #portrait{
    width: 50%;
    height: 650px;
  }

  #game{
    width: 65%;
    height: 400px;
      margin: 0;
      padding-left: 5em;
      padding-bottom: 2rem;
      border: none;
      
      /*   height: 400px; */
      display: inline-block;
      float: left;
      margin-bottom: 2%;
  }


  .StartMenu-item {
    margin-top: 90px;
    margin-left: 35px;
  }
  
  .menu-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    z-index:auto;
  }
  
  .menu-item img {
    max-width: 50px;
    width: auto;
    height: auto;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  
  .menu-item p {
    font-size: 18px;
    margin-left: 10px;
    margin-bottom: 25px;
    font-weight: bold;
    z-index:5;
  }
  
  .menu-button img {
    width: auto;
    height: auto;
    margin-top: 92px;
    margin-left: 225px;
  }
  
  .Taskbar {
    display: grid;
    grid-template-columns: 212px 215px 1fr 47px 173px;
    grid-template-rows: 1fr 541px 51px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    height: 100vh;
    position: relative;
  }
  
  .Background {
    grid-area: 1 / 1 / 4 / 6;
    background-color: #007E7D ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
  }
  
  .Browser {
    grid-area: 1 / 1 / 3 / 6;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  
  .Taskbarline {
    grid-area: 3 / 1 / 4 / 6;
    background-image: url("../assets/ui/taskbar.png");
    height: 100%;
    z-index: 0;
    background-size: cover;
  }
  
  .AboutMeTask {
    grid-area: 3 / 2 / 4 / 4;
    background-image: url("../assets/ui/tab.png");
    height: 100%;
    z-index: 0;
    margin: 7px -5px;
    background-repeat: no-repeat;
  }
  
  #aboutMeButton {
    display: inline-block;
    cursor: pointer;
    /* background-color: #f5f8fb; */
    padding-right: 300px;
  }
  
  .Start {
    grid-area: 3 / 1 / 4 / 2;
    background-image: url("../assets/ui/startbutton.png");
    height: 100%;
    z-index: 4;
    cursor: pointer;
    background-size: auto 51px;
    background-repeat: no-repeat;
    background-position: left center;
    /* background-color: azure; */
  }
  
  .StartMenu {
    display: none;
    grid-area: 2 / 1 / 3 / 3;
    background-image: url("../assets/ui/startmenu.png");
    background-size: auto 540px;
    background-position: 2px bottom;
    background-repeat: no-repeat; */
     position: absolute;
    bottom: 51px;
    height: 100%;
    z-index: 7;
    /*  overflow: hidden; */
    /* position: fixed;  */
    /* background-color: aqua; */
  }
  
  .StartMenu.visible {
    display: block !important;
  }
  
  .Language {
    grid-area: 3 / 4 / 4 / 5;
    height: 100%;
    z-index: 1;
  }
  
  .Time {
    grid-area: 3 / 5 / 4 / 6;
    background-size: 173px 45px;
    height: 100%;
    z-index: 1;
    /* background-color: #ffffff; */
  }
  
  #clock {
    font-family: ms_sans;
    color: black;
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
    position: relative;
    top: -5px;
  }
  
  #link {
    text-decoration-line: none;
    width: 100%;
    color: black;
    transition: font-size 0.5s;
  }
  
  #link:hover,
  #link:focus {
    color: #ff0081;
    font-size: 1.5rem;
  }
  
  .AboutMeBrowser {
    display: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 70px 300px 1fr;
    /* margin-left: 450px;
    margin-top: 50px; */
    min-width: 850px;
    min-height: 600px;
    width: auto;
    height: auto;
    position: absolute; /* Ensure it's absolute for positioning */
    background-image: url("../assets/ui/window.png");
    background-size: cover;
    background-repeat: no-repeat;
    cursor: move; /* Change cursor to indicate draggable */
    z-index: 1;
  
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;

    font-family: ms_sans;
  }
  
  .AboutMeWeb {
    grid-area: 2 / 1 / 3 / 2;
    padding: 20px 0 0 50px;
    display: flex;
    justify-content: space-between;
  }

  .AboutMeWeb p{
    margin: 3px;
    padding: 7px;
  }
  
  .AboutMeBrowser.visible {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .AboutMeBrowser.hidden {
    display: none;
  }
  