@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: NeueMontreal;
  src: url(/assets/font/NeueMontreal-Bold.otf);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  color: #000;
}

p {
  font-size: 1.5vw;
}

/* - ======================== Loading overlay ============================*/
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader animation */
.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}





.header {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;

}


.header {
  background-image: url("../images/desktop.png");
  height: 80vw;
  padding: 5vw;
  position: relative;
}

.links {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1vw;
  top: 18vw;
  left: 23vw;
  transition: all 0.3s ease-in-out;
}

.links img {
  transition: all 0.3s ease-in-out;
}

.links img:hover {
  scale: 1.1;
}

.ca {
  position: absolute;
  top: 31.8vw;
  left: 40vw;
}

.ca p {
  font-size: 1vw;
}

.ca button {
  width: 30px;
  height: 30px;
  position: absolute;
  position: absolute;
  top: 0vw;
  left: 30vw;
}


@media screen and (max-width: 480px) {
  .header {
    background-image: url("../images/iPhone\ 16\ -\ 3.png");
    height: 260vw;
    padding: 5vw;
  }


  .links {
    gap: 3vw;
    top: 53vw;
  }

  .links img {
    width: 25vw;
  }

  .links .x {
    width: 23vw;
  }

  

  .ca {
    position: absolute;
    top: 99.8vw;
    left: 28vw;
  }

  .ca p {
    font-size: 2vw;
  }

  .ca button {
    width: 30px;
    height: 30px;
    position: absolute;
    position: absolute;
    top: -3vw;
    left: 49vw;
  }

}