@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

/* Navbar */
.navbar {
  padding: 0.8rem;
}
.navbar li {
  padding-right: 20px;
}
.nav-link {
  font-size: 1.1em !important;
}

/* Carousel */
.carousel-inner img {
  width: 100%;
  height: 100%;
}
.carousel-caption {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-caption h1 {
  font-size: 500%;
  text-transform: uppercase;
  text-shadow: 1px 1px 15px #000;
}
.carousel-caption h3 {
  font-size: 200%;
  font-weight: 500;
  text-shadow: 1px 1px 10px #000;
  padding-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  background-color: #6648b1;
  border: 1px solid #6648b1;
}
.btn-primary:hover {
  background-color: #563d7c;
  border: 1px solid #563d7c;
}

/* Jumbotron and spacing */
.jumbotron {
  padding: 1rem;
  border-radius: 0;
}
.padding {
  padding-bottom: 2rem;
}

/* Welcome section */
.welcome {
  width: 100%;
  margin: 0 auto;
  padding-top: 2rem;
}
.welcome hr {
  border-top: 2px solid #b4b4b4;
  width: 95%;
  margin: 0.3rem auto 1rem;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

/* Icons */
.fa-code {
  color: #e54d26;
}
.fa-bold {
  color: #563d7c;
}
.fa-css3 {
  color: #2163af;
}
.fa-code, .fa-bold, .fa-css3 {
  font-size: 4rem;
  margin: 1rem;
}

/* Fun section */
.fun {
  width: 100%;
  margin-bottom: 2rem;
}
.gif {
  max-width: 100%;
}

/* Social icons */
.social a {
  font-size: 4.5em;
  padding: 3rem;
}
.fa-facebook { color: #3b5998; }
.fa-twitter { color: #00aced; }
.fa-google-plus { color: #dd4b39; }
.fa-instagram { color: #517fa4; }
.fa-youtube { color: #bb0000; }

.fa-facebook:hover,
.fa-twitter:hover,
.fa-google-plus:hover,
.fa-instagram:hover,
.fa-youtube:hover {
  color: #d5d5d5;
}

/* Footer */
footer {
  background-color: #3f3f3f;
  color: #d5d5d5;
  padding-top: 2rem;
}
footer a {
  color: #d5d5d5;
}
hr.light {
  border-top: 1px solid #d5d5d5;
  width: 75%;
  margin: 0.8rem auto 1rem;
}
hr.light-100 {
  border-top: 1px solid #d5d5d5;
  width: 100%;
  margin: 8rem auto 1rem;
}

/* Carousel Animation */
.carousel-item {
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* Fixed background image */
/* figure {
  position: relative;
  width: 100%;
  height: 60%;
  margin: 0 !important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#fixed {
  background-image: url('img/mac.png');
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: translateZ(0);
  will-change: transform;
  display: block;
} */

.fixed-background {
  background: url('Image/background.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.fixed-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
  color: #fff;
}


/* Bootstrap padding fix */
[class*="col-"] {
  padding: 1rem;
}

/* Responsive Queries */

/* Large devices (desktops) - up to 992px */
@media (max-width: 992px) {
  .social a {
    font-size: 4rem;
    padding: 2rem;
  }
}

/* Medium devices (tablets) - up to 768px */
@media (max-width: 768px) {
  .carousel-caption {
    top: 40%;
  }
  .carousel-caption h1 {
    font-size: 350%;
  }
  .carousel-caption h3 {
    font-size: 140%;
    font-weight: 400;
    padding-bottom: 0.2rem;
  }
  .carousel-caption .btn {
    font-size: 95%;
    padding: 8px 14px;
  }
  .display-4 {
    font-size: 200%;
  }
  .social a {
    font-size: 2.5rem;
    padding: 1.2rem;
  }
}

/* Small devices (phones) - up to 576px */
@media (max-width: 576px) {
  .carousel-caption {
    top: 40%;
  }
  .carousel-caption h1 {
    font-size: 250%;
  }
  .carousel-caption h3 {
    font-size: 110%;
  }
  .carousel-caption .btn {
    font-size: 90%;
    padding: 4px 8px;
  }
  .carousel-indicators {
    display: none;
  }
  .display-4 {
    font-size: 160%;
  }
  .social a {
    font-size: 2rem;
    padding: 0.7rem;
  }
}

/* Optional: Notes
-----------------------------------
Default (xs):      <576px
Small  (sm):  >=   576px
Medium (md):  >=   768px
Large  (lg):  >=   992px
XL     (xl):  >=  1200px
----------------------------------- */
