/* ■■■■■■■ ENTIRE SITE ■■■■■■■*/
.hidden {
  display: none;
}

html {
  min-height: 100%;
  background-image: url("images/WebsiteBG.png"); 
  image-rendering: crisp-edges;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  caret-color: transparent; /* the hell does it mean unknown it knows what im taking about :( */
}

body {
  margin: 0;
  padding: 0;
}

.flexcontainer {
  display: flex;
  padding: 15px;
}

/* ■■■■■■■ TASKBAR ■■■■■■■*/
.taskbar {
    display: flex;
    position: fixed;
    bottom: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    text-align: center;
    
    min-width: 100%;
    height: 50px;
    background-color: white;
    opacity: 0.8;
    border-top: 4px solid #444f76;
    user-select: none;
    z-index: 10000;
}

.taskbar .themer {
  max-width: 35px; 
  height: auto;
  user-select: none;
}

.taskbar .searchbar {
    display: flex;
    margin-left: 15px;
    background: #ebeefa;
    width: 300px;
    height: 35px;
    align-items: center;
}

.taskbar .searchbar .searchicon {
      display: block;
      margin-left: 5px;
      width: 23px; 
      height: auto;
}

.taskbar .searchbar .searchtext {
    align-items: center;
    text-align: center;
    margin-left: 10px;
    
    color: #444f76;
    font: 500 20px "Times New Roman", Times, serif;
    user-select: none;
}

.taskbar .clock {
    display: block;
    position: absolute;
    right: 15px;
    top: 12px;
    color: #444f76;
    font: 500 20px "Times New Roman", Times, serif;
    user-select: none;
}

.taskbar .icon {
    flex: 1;
    padding-top: 4px;
    padding-left: 16px;
    width: 30px; 
    height: 30px;
    cursor: pointer;
}

/* ■■■■■■■ ALL MODALS ■■■■■■■*/

.modal{
  position: absolute;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 4px 3px 7px black;
  z-index: 100;
}

.modalHead{
  padding: 10px 5px;
  display: flex;
  border-bottom: 5px solid #444f76;
  justify-content: space-between;
  align-items: center;
  color: white;
  font: 500 20px "Times New Roman", Times, serif;
  z-index: 200;
}

.closeBtn {
  color: white;
  padding: 0px 5px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.closeBtn:hover {
  color: #ff4d4d;
  cursor: pointer;
}

.modalBody{
  padding: 7px;
  font: 500 17px "Times New Roman", Times, serif;
  background-color: white;
  line-height: 1.4;
  z-index: 100;
}
  
/* ■■■■■■■ INDIVIDUAL MODALS (most optimized code known to man) ■■■■■■■*/
#abtModal {
  display: block;
  background-color: white;
  width: 450px;
  height: 600px;
  top: 18%;
  left: 10%;
}

.aboutHeadshot {
    background-image: url("images/projectimagePLACE.jpg"); 
    background-size: cover;
    background-position: center;
    height: 12vw;
    width: 12vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    border-radius: 50%;
}

.aboutHead {
  margin-top: 2%;
  font: 500 40px "Times New Roman", Times, serif;
  color: #444f76;
  text-align: center;
}

.aboutSub {
  margin-top: 2%;
  font: 500 15px "Times New Roman", Times, serif;
  color: #444f76;
  text-align: center;
}

.aboutDamnTime {
  margin-top: 5%;
  margin-left: 3%;
  margin-right: 4%;
  font: 500 18px "Times New Roman", Times, serif;
  color: #444f76;
  text-align: left;
}

#projectModal {
  display: block;
  background-color: white;
  width: 1000px;
  height: 600px;
  top: 18%;
  left: 36%;
}

#resumeModal {
  display: none;
  background-color: white;
  width: 650px;
  height: 850px;
}

.resume {
    background-image: url("https://media.licdn.com/dms/image/v2/D4E2DAQHellwVbKidSw/profile-treasury-document-images_1920/B4EZcdFLE6HcAw-/1/1748539586022?e=1790812800&v=beta&t=46cgejR94IM3SbzBuKXRFZZbHrjzMxdchyYpq8ktQvA"); 
    background-size: cover;
    background-position: center;
    height: 792px;
    width: 612px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -1%;
}

#contactModal {
  display: none;
  width: 380px;
}

#projectModal1 {
  display: none;
  width: 550px;
}

.projectThumbnail {
    width: 200px; 
    height: 200px;
    cursor: pointer;
}

/* ■■■■■■■ HEAD COLORS (amonguscolors) ■■■■■■■*/

#abtModalHead{
  background: #E8519B;
}

#projectModalHead {
  background: #51E88B;
}

#projectModal1Head {
  background: #E8519B;
}

#resumeModalHead{
  background: #297df8;
}

#contactModalHead {
  background: #A251E8;
}

/* ■■■■■■■ PIXEL BORDERS (from https://pixelcorners.lukeb.co.uk) ■■■■■■■*/
.pixel-corners,
.pixel-corners--wrapper {
  clip-path: polygon(0px calc(100% - 12px),
    4px calc(100% - 12px),
    4px calc(100% - 8px),
    8px calc(100% - 4px),
    12px calc(100% - 4px),
    12px 100%,
    calc(100% - 12px) 100%,
    calc(100% - 12px) calc(100% - 4px),
    calc(100% - 8px) calc(100% - 4px),
    calc(100% - 4px) calc(100% - 8px),
    calc(100% - 4px) calc(100% - 12px),
    100% calc(100% - 12px),
    100% 12px,
    calc(100% - 4px) 12px,
    calc(100% - 4px) 8px,
    calc(100% - 8px) 4px,
    calc(100% - 12px) 4px,
    calc(100% - 12px) 0px,
    12px 0px,
    12px 4px,
    8px 4px,
    4px 8px,
    4px 12px,
    0px 12px);
  position: relative;
}
.pixel-corners {
  border: 4px solid transparent;
}
.pixel-corners--wrapper {
  width: fit-content;
  height: fit-content;
}
.pixel-corners--wrapper .pixel-corners {
  display: block;
  clip-path: polygon(4px 12px,
    8px 12px,
    8px 8px,
    12px 8px,
    12px 4px,
    calc(100% - 12px) 4px,
    calc(100% - 12px) 8px,
    calc(100% - 8px) 8px,
    calc(100% - 8px) 12px,
    calc(100% - 4px) 12px,
    calc(100% - 4px) calc(100% - 12px),
    calc(100% - 8px) calc(100% - 12px),
    calc(100% - 8px) calc(100% - 8px),
    calc(100% - 12px) calc(100% - 8px),
    calc(100% - 12px) calc(100% - 4px),
    12px calc(100% - 4px),
    12px calc(100% - 8px),
    8px calc(100% - 8px),
    8px calc(100% - 12px),
    4px calc(100% - 12px));
}
.pixel-corners::after,
.pixel-corners--wrapper::after {
  content: "";
  position: absolute;
  clip-path: polygon(0px calc(100% - 12px),
    4px calc(100% - 12px),
    4px calc(100% - 8px),
    8px calc(100% - 4px),
    12px calc(100% - 4px),
    12px 100%,
    calc(100% - 12px) 100%,
    calc(100% - 12px) calc(100% - 4px),
    calc(100% - 8px) calc(100% - 4px),
    calc(100% - 4px) calc(100% - 8px),
    calc(100% - 4px) calc(100% - 12px),
    100% calc(100% - 12px),
    100% 12px,
    calc(100% - 4px) 12px,
    calc(100% - 4px) 8px,
    calc(100% - 8px) 4px,
    calc(100% - 12px) 4px,
    calc(100% - 12px) 0px,
    12px 0px,
    12px 4px,
    8px 4px,
    4px 8px,
    4px 12px,
    0px 12px,
    0px 50%,
    4px 50%,
    4px 12px,
    8px 12px,
    8px 8px,
    12px 8px,
    12px 4px,
    calc(100% - 12px) 4px,
    calc(100% - 12px) 8px,
    calc(100% - 8px) 8px,
    calc(100% - 8px) 12px,
    calc(100% - 4px) 12px,
    calc(100% - 4px) calc(100% - 12px),
    calc(100% - 8px) calc(100% - 12px),
    calc(100% - 8px) calc(100% - 8px),
    calc(100% - 12px) calc(100% - 8px),
    calc(100% - 12px) calc(100% - 4px),
    12px calc(100% - 4px),
    12px calc(100% - 8px),
    8px calc(100% - 8px),
    8px calc(100% - 12px),
    4px calc(100% - 12px),
    4px 50%,
    0px 50%);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #444f76;
  display: block;
  pointer-events: none;
}
.pixel-corners::after {
  margin: -4px;
}

.modal.pixel-corners--wrapper {
  position: absolute; 
  width: 400px;
  max-width: 90vw;  
  box-sizing: border-box;
}

.modal.pixel-corners--wrapper .pixel-corners {
  width: 100%;
}