body {
  background-image: url(src/macoswallpaper.png);
  background-size: cover;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif;
}

html,
body {
  overflow: hidden;
}

#macnavbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: linear-gradient(
    to bottom,
    rgb(233, 233, 233),
    rgb(148, 148, 148)
  );
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.226));
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  font-family: Helvetica, sans-serif;
  overflow: hidden;
  user-select: none;
}
#macnavbar img,
.macnavleft *,
.macnavright * {
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 5px;
  padding-right: 5px;
}
#macnavbar img:hover,
.macnavleft *:hover,
.macnavright *:hover {
  background-color: gray;
  cursor: default;
}
#macnavbar img {
  height: 80%;
}
#programname {
  font-weight: 600;
}
.navtext {
}
.macnavleft,
.macnavright {
  display: flex;
  height: 100%;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}
.macnavright {
  margin-left: auto;
  padding-right: 32px;
}
.macnavright img {
  height: 70% !important;
}

/* safari-------------------------------- */

#mainpanel {
  width: 60%;
  height: 70%;
  top: 10%;
  left: 10%;
  position: absolute;
  display: flex;
  flex-direction: column;
}

.windowpanel {
  background-color: #ececec;
  color: black;
  border-radius: 5px;
  filter: drop-shadow(2px 2px 5px black);
}

.topbar {
  background-image: linear-gradient(to bottom, #dedede, #9d9d9d);
  border-bottom: #7a7a7a 1.6px solid;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
}
.topbarinactive {
  background-image: linear-gradient(to bottom, #f7f7f7, #929292) !important;
}

.tbheader {
  margin-top: 0px;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  height: 25px;
  width: 100%;
}
.tbmiddle {
  margin-top: 4px;
  height: 25px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-left: 10px;
  align-items: center;
}
.tbfooter {
  margin-top: 4px;
  height: 25px;
  width: 100%;
  margin-left: 10px;
  margin-top: 5px;
  gap: 10px;
  display: flex;
  flex-direction: row;
  margin-bottom: 5px;
}

.tbmiddlebtn {
  height: 100%;
  background-image: linear-gradient(to bottom, #f0f0f0, #a5a5a5);
  border: #727272 1.5px solid;
  border-radius: 4px;
  width: 40px;
}
.tbmiddlebtn:active {
  background-color: #8d8d8d;
  background-image: none;
}

.tbfooter img {
  height: 100%;
  border: 1.5px transparent solid;
  box-sizing: border-box;
  padding-left: 3px;
  padding-right: 3px;
}
.tbfooter img:active {
  background-color: #8d8d8d;
  border-radius: 4px;
  border: #727272 1.5px solid;
}

.newtab {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 32px;
}

.backfw {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-image: linear-gradient(to bottom, #f0f0f0, #a5a5a5);
  border-radius: 3px;
  border: #727272 1.5px solid;
}
.backfw img {
  height: 60%;
  opacity: 0.8;
  margin: 0;
  border-radius: 1px;
}
.backbtn {
  padding-right: 10px;
  padding-left: 7px;
  padding-top: 5px;
  padding-bottom: 5px;
  /* margin-right: 1px !important; */
}
.backbtn:active {
  background-color: #8d8d8d;
}
.fwbtn {
  padding-right: 7px;
  padding-left: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.linediv {
  margin: 0;
  width: 0.5px;
  height: 80%;
  background-color: rgb(151, 151, 151);
}

.searchbar {
  height: 100%;
  background-color: white;
  border-radius: 4px;
  border: #8a8a8a 1.5px solid;
  display: flex;
  align-items: center;
  margin-right: 20px;
  min-width: 0;
  width: 100%;
}
.searchbar p {
  margin: 0;
  font-family: Helvetica, sans-serif;
  text-overflow: ellipsis;
  min-width: 0;
}
.linkunfocus {
  color: gray;
}
.webicon {
  height: 70%;
  margin-left: 5px;
  margin-right: 5px;
  filter: saturate(1.5);
}
.refreshicon {
  margin-left: auto;
  height: 90%;
  opacity: 0.65;
}
.refreshicon:active {
  opacity: 0.5;
}

.topbarbtn {
  border-radius: 7px;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  /* filter: blur(1px); */
  box-sizing: border-box;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
}
.btninactive {
  background: linear-gradient(
    0deg,
    rgba(237, 237, 237, 1) 25%,
    rgba(179, 179, 179, 1) 73%,
    rgba(255, 255, 255, 1) 100%
  ) !important;
  border: gray solid 0.5px !important;
}

.closebtn {
  background: linear-gradient(
    0deg,
    rgb(228, 157, 157) 10%,
    rgb(219, 21, 48) 75%,
    rgba(255, 255, 255, 1) 92%
  );
  border: 0.5px solid rgb(134, 3, 3);
}
.minbtn {
  background: linear-gradient(
    0deg,
    rgb(221, 212, 89) 10%,
    rgb(224, 169, 38) 75%,
    rgba(255, 255, 255, 1) 92%
  );
  border: 0.5px solid rgb(133, 75, 0);
}
.maxbtn {
  background: linear-gradient(
    0deg,
    rgb(163, 219, 119) 10%,
    rgb(117, 175, 58) 75%,
    rgba(255, 255, 255, 1) 92%
  );
  border: 0.5px solid rgb(37, 92, 1);
}

.closebtn:hover {
  background:
    url("src/closebtn.svg") center / 100% no-repeat,
    linear-gradient(
      0deg,
      rgba(255, 166, 166, 1) 0%,
      rgba(255, 13, 45, 1) 69%,
      rgba(255, 255, 255, 1) 92%
    );
  background-size: 100%;
}
.minbtn:hover {
  background:
    url("src/minbtn.svg") center / 80% no-repeat,
    linear-gradient(
      0deg,
      rgba(255, 244, 87, 1) 0%,
      rgba(247, 191, 59, 1) 69%,
      rgba(255, 255, 255, 1) 92%
    );
}
.maxbtn:hover {
  background:
    url("src/maxbtn.svg") center / 80% no-repeat,
    linear-gradient(
      0deg,
      rgba(171, 242, 116, 1) 0%,
      rgba(122, 191, 54, 1) 69%,
      rgba(255, 255, 255, 1) 92%
    );
}

.minbtn:hover,
.maxbtn:hover {
  background-position: center center;
  background-repeat: no-repeat;
  background-size:
    10px 10px,
    auto;
}

.topbarbtn:active {
  filter: brightness(0.85);
}

.windowtitle {
  font-family: Helvetica, sans-serif;
  color: #414141;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.titleinactive {
  color: #8b8b8b;
}

#content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 10px;
  width: 100%;
}

.panelcontent {
  box-sizing: border-box;
  background-image: white;
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#webpage {
  background-color: black;
  cursor: url(src/cursors/Normal\ Select.cur), auto;
  width: 100%;
  height: 100%;
}

#skeletonback {
  position: absolute;
  bottom: 0;
  left: 0;
}
#skullrotate {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
}

/* skype------------------------------------------ */

#skype {
  width: 45%;
  height: 55%;
  right: 10%;
  top: 30%;
  position: absolute;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
#chattable {
  width: 100%;
  height: 100%;
  flex: 1;
}
#skypepanel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  border-top: 2px #bdbdbd solid;
}
#skypetopbar {
  width: 100%;
  height: 60px;
  background-color: #e4e4e4;
  border-bottom: 2px #cdcecb solid;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#skypeiconsright {
  height: 70%;
  margin-left: auto;
}
#skypeiconsright img {
  height: 100%;
  margin-right: 10px;
}
#skypepfp {
  height: 95%;
  margin-left: 5px;
}
.skypepfp {
  height: 90%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-left: 5px;
  border: 2px solid #e2e2e2;
}
#skypeiconsleft {
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-left: 5px;
}
#skypeiconsleft img {
  height: 30%;
}
#skypetext {
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}
#skypetitle {
  color: black;
  font-weight: 500;
  margin: 0;
  margin-bottom: 5px;
}
#skypemedium {
  color: rgb(44, 44, 44);
  font-weight: 600;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}
#onlinetxt {
  color: #8d8d8d;
  font-size: 14px;
  margin: 0;
  margin-bottom: 3px;
}
#skype .topbar {
  border-bottom: none;
}

#mypfp {
  height: 95%;
  width: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border: 2px white solid;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.377));
}

.skypemiddle {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 10px 10px;
  box-sizing: border-box;
}
.skypemiddleright {
  display: flex;
  margin-left: auto;
  flex-direction: row;
  align-items: center;
  height: 24px;
}
.skypemiddleright img {
  height: 90%;
  margin-right: 10px;
  filter: opacity(0.8);
}
#skypesearch {
  width: 200px;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: row;
  border: 1.5px solid rgb(146, 146, 146);
  border-radius: 12px;
  align-items: center;
  padding-left: 6px;
  margin-right: 10px;
}
#skypesearch img {
  height: 60%;
  margin-right: 4px;
  filter: opacity(0.6);
}

#mystatus {
  height: 40%;
  margin-left: 4px;
}

#skypenav {
  width: 250px;
  overflow: hidden;
  height: 100%;
  background-image: linear-gradient(to bottom, #eaedf1, #abb8c5);
  border-right: 2px #cdcecb solid;
  padding-left: 10px;
  box-sizing: border-box;
}
.skypenavtab {
  height: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 6px;
  padding: 2px;
}
.skypenavtab p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skypenavtab img {
  height: 85%;
  margin-right: 6px;
}

.chatwindow {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#chatbox {
  width: 100%;
}
#navrecent {
  margin-top: 20px;
  margin-bottom: 2px;
  color: #6e6e6e;
  font-weight: 600;
  font-size: 14px;
}
#navhistory {
  margin-top: 20px;
}

.skypenavchat {
  cursor: pointer;
}
.skypenavchat:hover {
  background-color: #c0c0c0;
}
.chatselected:hover,
.chatselected {
  background-color: #a0a0a0;
}
