
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}

body {
  background-image: url("../images/bg.png");
  background-size: 100%;
  background-repeat:none;
  font-family: monospace;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}


#container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
}

/* ------------------------ Contact Side ------------------------ */
#contact {
  text-align: left;
  padding-left: 5%;
}

#contact h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#contact p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

/* ------------------------ Phone Side ------------------------ */
#phone {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#device-screen {
  background-color: #868686;
  background-image: url("../images/bg.png");
  background-size: 100%;
  border: #000000;
  border-style: solid;
  border-width: 15px;
  border-radius: 45px;
  padding: 20px;
  padding-top: 0;
  width: 375px;
  height: 667px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

#notch {
  background-color: #000000;
  width: 150px;
  border-radius: 20px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  height: 30px;
  position: sticky;
  top: 0px;
  margin-left: 25%;
}

.clock {
  position: sticky;
  transform: translateX(10px) translateY(-25px);
  font-size: 14px;
  letter-spacing: 2px;
  width: fit-content;
}

#top {
  position: sticky;
  top: 0px;
  backdrop-filter: blur(5px);
  height: 30px;
}

#home {
  background-color: #272727;
  width: 150px;
  border-radius: 20px;
  height: 10px;
  position: sticky;
  margin: 10px;
  margin-left: 110px;
  transform:translateY(-45px);
}

#app-grid {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.app {
  text-decoration: none;
  color: gray;
  text-align: center;
  padding: 10px;
}

.app img {
  width: 100%;
  max-width: 50px;
  margin-bottom: 10px;
  border-radius: 15px;
}

.app span {
  display: block;
  font-size: 14px;
}


/* ------------------------ About Page ------------------------ */


.atile {
  margin-top: 20px;
  color: #f0f0f0;
  margin-bottom: 50px;
  padding-left: 5px;
  padding-right: 5px;
}

.atile li {
  text-align: left;
  list-style:inside;
  
}

.atile a {
  color: #f0f0f0;
}


/* ------------------------ mobile vesrsion ------------------------ */


@media (max-width: 768px) {

  #container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  #contact {
    text-align: center;
    padding-left: 0%;
  }

  #phone {
    text-align:left ;
  }

  

}