/* Varialbles fonts and shi */

@font-face {
    font-family: Jagrat;
    src: url("fonts/HindiRaj.otf");
}

@font-face {
    font-family: Pyri;
    src: url("fonts/pyriform-tones-nf/PyriformTonesNF.ttf");
}
:root {
    --bg: #171512;
    --panel: #1d1a16;
    --panel-light: #242019;
    --text: #eadfc9;
    --gold: #c8892d;
    --muted: #9c9280;
    --gold-light: #dba64b;
    --red: #7d3021;
    --border: rgba(232, 223, 201, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

/* Main shi */

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  width: 100%;
  height: 100%;
  background-image: url("assets/maxmil.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #111;
}

.mainapp {
    min-height: 100vh;
    padding-top: 42px;

    display: grid;
    grid-template-columns: 220px 1fr 280px;
}

/* tabs*/

.browsertabs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  display: flex;
  align-items: end;
  padding-left: 10px;
  background: rgba(20, 18, 15, 0.9);
  z-index: 67;
  border-bottom: 3px solid rgba(255, 255, 255, 0.08);
}


.tabs {
  width: 220px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(50, 47, 42, 0.95);
  border-radius: 8px 8px 0 0;
  color: #eee5d2;
}



.tabIcn {
  color: #d99a27;
  font-size: 16px;
}

.tabTitle {
    flex: 1;
    font-family: "Jagrat", serif;
    font-size: 13px;
}

.tabX {
  border: 0;
  background: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
}

.tabX:hover {
  color: white;
}

.newTab {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #eee5d2;
  font-size: 22px;
  cursor: pointer;
}

.newTab:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Making gridy layout * .center .hero*/

.center {
    min-width: 0;
    min-height: calc(100vh - 42px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero {
    width: 100%;
    max-width: 750px;
    text-align: center;
}

/* Clock widget */

.clock {
    font-family: "Jagrat", serif;
    color: var(--gold);
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 2px;
}

.ampm {
    font-size: 18px;
    margin-left: 8px;
}

.date {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}
/* search engine Took some AI help here*/

.searchPanel {
    width: 100%;
    max-width: 600px;
    display: flex;
    margin: 30px auto 12px;
    background: rgba(20, 18, 15, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.searchPanel input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
}

.searchPanel input::placeholder {
    color: var(--muted);
}

.searchPanel button {
    width: 50px;
    border: 0;
    background: var(--gold);
    color: var(--bg);
    cursor: pointer;
}

.search-engines {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.search-engines button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: rgba(20, 18, 15, 0.6);
    color: var(--muted);
    cursor: pointer;
}

.search-engines button:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.search-engines button.selected {
    color: var(--gold);
    border-color: var(--gold);
}

/* tuff quotes */

.tuffskt {
    font-family: "Jagrat", serif;
    font-size: 22px;
    color: var(--gold-light);
    margin-bottom: 5px;
}
.quote {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.bottom {
    margin-top: 45px;
    text-align: center;
    color: var(--muted);
}

.sanskrit {
    font-family: "Jagrat", serif;
    font-size: 22px;
    color: var(--gold-light);
    margin-bottom: 5px;
}

/* music */

/* music player */

.music {
    width: 500px;
    margin-top: 40px;
    padding: 15px;
    background: rgba(20, 18, 15, 0.95);
    border: 2px solid var(--border);
    border-radius: 10px;
}

.music-info {
    display: flex;
    align-items: center;
}

.music-cover img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.music-text {
    flex: 1;
    text-align: center;
}

.music-title {
    font-family: "Jagrat", serif;
    color: var(--text);
    font-size: 16px;
}

.music-artist {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}
.music-line {
    height: 1px;
    margin: 14px 5px 10px;
    background: var(--border);
}

.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.music-controls button {
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}

.music-controls .play {
    font-size: 20px;
}

.music-controls button:hover {
    color: var(--gold);
}

/* weather */

.weather {
  width: 220px;
  padding: 15px;
  margin: 20px;
  background: rgba(20, 18, 15, 0.95);
  border: 2px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.weather h3 {
    font-family: "Pyri", sans-serif;
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: 1px;
}


.weather-temp {
    color: var(--gold);
    font-size: 32px;
}

.weather-place {
    margin-top: 5px;
    color: var(--text);
    font-size: 14px;
}

.weather-status {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

/* recent tabs */

.sidebar {
    padding: 25px 12px;

}

.recent-title {
    font-family: "Pyri", sans-serif;
    color: var(--gold);
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin: 5px 10px 12px;
}

.recent-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    margin-bottom: 4px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    background: rgba(20, 18, 15, 0.95);
    border: 2px solid var(--border);
    border-radius: 10px;
}

.recent-tab:hover {
    background: rgba(20, 18, 15, 0.65);
    color: var(--gold-light);
}

.recent-icon {
    width: 20px;
    text-align: center;
    color: var(--gold);
    font-size: 13px;
}
