.mainContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  z-index: 1;
}

.mainWindow{
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  width: clamp(634px, 50vw, 800px);
  height: clamp(410.4px, 65vh, 495px);
  margin-bottom: 5px;

  border-radius: 10px;
  box-shadow: 0px 6px 0px 1px rgba(0, 0, 0, 0.15);

  transition: background-color 0.2s;
}

.mainWindowContent{
  border: 2px solid #afafaf;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px; 
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;

  transition: border 0.2s;
}

.mainWindowDecoration{
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  border: 2px solid #3e3e3e;
  border-bottom: none;
  background-color: #3e3e3e;
  color: white;
  font-weight: 500;
  font-size: 1.3rem;

  height: 44.83px;
  display: flex;
  align-items: center;
  padding-left: 20px;

  transition: border 0.2s, background-color 0.2s;
}

.greetingContainer{
  margin-top: 73px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcomingText{
  color: #424242;
  font-size: 5.3rem;
  font-weight: 400;

  transition: color 0.2s;
}

.name{
  color: #f59300;

  transition: color 0.2s;
}

.selfDescription{
  color: #424242;
  font-size: 1.9rem;

  transition: color 0.2s;
}

.windowIcons{
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 60px;
  width: clamp(322px, 25vw, 400px);
}

@media (max-height: 745px) {
  .greetingContainer{
    margin-top: 50px;
  }
}

@media (max-height: 700px) {
  .greetingContainer{
    margin-top: 40px;
  }
}

@media (max-height: 675px) {
  .greetingContainer{
    margin-top: 25px;
  }
}

@media (max-height: 650px) {
  .greetingContainer{
    margin-top: 10px;
  }
  .windowIcons{
    margin-top: 50px;
  }
}

.windowIconContainer{
  display: flex;
  flex-direction: column;
  
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.openWindowBtn{
  width: 80px;
  height: 80px;

  background-color: transparent;
  border: none;
  cursor: pointer;
}

.windowIcon{
  width: 70px;
  height: 70px;
}

.smaller{
  width: 62px;
  height: 62px;
}

.iconName{
  font-size: 1.2rem;
  font-weight: 500;
  color: #424242;

  transition: color 0.2s;
}

.windowIconContainer:active{
  transform: scale(0.95);
}

/* Footer */

.footerContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  margin: 5px;
  gap: 5px;
  z-index: 1;
}

.quickLinksContainer{
  width: 10vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quickIcons{
  width: 35px;
  height: 35px;
}

.quickLinks{
  transition: transform 0.1s;
}

.quickLinks:active{
  transform: scale(0.8);
}

.copyright{
  font-size: 0.8rem;
  font-weight: 500;
  color: #424242;

  transition: color 0.2s;
}

.modileModal,
.mobileModal *{
  display: none;
}

@media (max-width: 700px) {
  .mobileModal *{
    display: inline-block;
  }
  .mobileModal{
    background-color: #fff8e0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    opacity: 0.85;
    display: flex;
    padding: 15px 20px;
    color: #3e3e3e;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 3vw, 20px);

    transition: background-color 0.2s, color 0.2s;
  }

  .mobileModalText{
    font-size: clamp(0.85rem, 2dvh, 1.1rem);
  }

  .mobileModalText span{
    font-size: clamp(1.1rem, 2dvh, 1.3rem);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
  }

  .mobileModalBtn{
    margin-top: 15px;
    color: white;
    font-size: clamp(1rem, 2dvh, 1.3rem);
    font-weight: 500;
    background-color: #f59300;
    padding: 8px 17px;
    border-radius: 6px;
    border: none;

    transition: color 0.2s, background-color 0.2s;
  }


  .mainWindowDecoration{
    display: none;
  }
  .mainContainer{
    justify-content: center;
  }
  .mainWindow{
    width: clamp(250px, 90vw, 750px);
    height: clamp(300px, 73vw, 370px);
    box-shadow: none;
    background-color: white;
    justify-content: center;
  }
  .mainWindowContent{
    border-radius: 10px;
  }
  .greetingContainer{
    margin: 0px;
  }
  .welcomingText{
    font-size: clamp(3.3rem, 14vw, 4.5rem);
    font-weight: 500;
  }
  .selfDescription{
    font-size: clamp(1.1rem, 5vw, 1.7rem);
    font-weight: 500;
  }
  .windowIcons{
    width: clamp(250px, 68vw, 340px);
    margin-top: 35px;
  }
  .openWindowBtn{
    width: clamp(65px, 15vw, 80px);
    height: clamp(65px, 15vw, 80px);
    background-color: #fff8e0;
    border: 2px solid #afafaf;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .windowIcon{
    width: clamp(40px, 10vw, 52px);
  }
  .smaller{
    width: clamp(31px, 10vw, 43px);
    margin-right: 2px;
  }
  .iconName{
    font-size: clamp(0.8rem, 4vw, 1.3rem);
  }
}