@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=s wap");

* {
  box-sizing: border-box;
}

body {
  margin:0;
  display: flex;
  flex-direction:column;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-image: url(/img/bg.jpg);
  background-size: cover;
  font-family: sans-serif;
  overflow: hidden;
  user-select: none;
}

img {
  object-fit: cover;
  max-width: 100%;
}

h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 0px;
  font-size: 1.5rem;
  text-align: center;
  opacity: .6;
}

p {
  color: white;
  margin: 0 auto;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: .8rem;
}

#p2 {
  opacity: .5;
}

.clock {
  display: flex;
  color: white;
  position: relative;
}

.clock div {
  margin: 5px;
}

.clock span {
  width: 100px;
  height: 100px;
  background: #111111d7;
  opacity: .6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0);
  border-radius: 60px;
}

.clock .text{
  margin-top: 2em;
  height: 30px;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: rgb(12, 33, 73);
}

.clock #ampm{
  bottom: .21em;
  position: absolute;
  width: 60px;
  height: 30px;
  font-size:1.1rem;
  background:  rgb(0, 81, 255);
}

.text {
  font-weight: bold;
}

#o {
  font-size: 1.29rem;
  opacity: .6;
}

footer{
  text-align: center;
  padding-bottom: 15px;
  margin-top: 50px;
}

#ig {
  color: rgb(241, 26, 231);
} 

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;

}

#dc {
  color: #5865F2;
}

.p1 {
  opacity: .5;
}

.socials {
  margin-top: 60px;
}

@media screen and (max-width: 500px) {

  body {
    padding: 400px 0;
    overflow:visible
  }
  p {
    margin: 0 2em;
    padding: 1em;
    margin-bottom: -1em;
  }

  .clock{
    margin: 2em 0;
    flex-direction: column;
  }

  .clock .text {
    background-color: rgb(12, 33, 73);
  }

  .clock #ampm {
    bottom: -1.7em;
    margin-left: 1em;
    background:  rgba(37, 181, 238, 0.603);
  }

  
footer{
  width: 0px;
  text-align: center;
}

.p1 {
  opacity: .5;
}

footer p {
  margin-top: -60px;
  margin-left: 0px;
  margin-left: 0px;
margin-right: 0px;
}


#ampm {
  margin-bottom: -17px;
}
}


