* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

:root {
  --bg-section: #1d809f;
}
/* Start sidebar */
#sidebarToggle {
  display: none;
}

.toggle-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1100;
  background-color: rgba(52, 58, 64, 0.5);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.toggle-btn:hover {
  background-color: #343a40;
  transition: all 0.3s ease-in-out;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 270px;
  height: 100%;
  background-color: aqua;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  background: #1d809f;
}

.sidebar .nav-link,
.sidebar .nav-link:hover,
.sidebar .nav-link:active,
.sidebar .nav-link:visited {
  color: white;
}

.sidebar > h4 {
  height: 80px;
  background-color: rgba(52, 58, 64, 0.1);
  color: #fff;
  padding: 15px;
  margin: 0;
}

.sidebar .nav-item:hover {
  background-color: rgba(171, 177, 184, 0.582);
}

#sidebarToggle:checked ~ .sidebar {
  transform: translateX(0);
}

#sidebarToggle:checked + label::after {
  font-family: "Font Awesome 5 Free";
  content: "\f00d";
  font-weight: 900;
}

.toggle-btn::after {
  content: "☰";
}
/* End sidebar */

/* Start header */
header {
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url(https://startbootstrap.github.io/startbootstrap-stylish-portfolio/assets/img/bg-masthead.jpg);
  min-height: 100vh;
  height: auto;
  width: 100%;
  background-position: center center;
  background-size: cover;
}

header h1 {
  font-size: calc(4rem + 1vw);
}
/* End header */

/* Start content section */
/* End content section */

/* Start services */
.services {
  background-color: var(--bg-section);
}
.circle {
  width: 110px;
  height: 110px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  color: var(--bg-section);
  font-size: 40px;
  margin-bottom: 5px;
}
/* End services */

/* Start download-website */
.download-website {
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url(https://startbootstrap.github.io/startbootstrap-stylish-portfolio/assets/img/bg-callout.jpg);
  width: 100%;
  min-height: 100vh;
  background-position: center center;
  background-size: cover;
}
.download-website h1 {
  font-size: 3.5rem;
}
/* End download-website */

/* Start portfolio */
.portfolio a {
  text-decoration: none;
  color: #fff;
}

.portfolio-item {
  transition: transform 1s ease;
}
.caption {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.caption-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
}
.portfolio-item:hover {
  transform: scale(0.85);
}
.portfolio-item:hover .caption::before {
  opacity: 1;
}

.caption-content {
  bottom: 2rem;
  left: 2rem;
}

/* End portfolio */

/* Start Content section 2 */
.content-section2 {
  background-color: var(--bg-section);
}
/* End Content section 2 */

/* Start Social */
.social .social-icon {
  background-color: var(--bg-section);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.social .social-icon:hover {
  transition: all 0.3s ease-in-out;
  background-color: #1c677d;
}
/* End Social */

/* Start go-top */
.go-top {
  right: 15px;
  bottom: 15px;
  position: fixed;
  background-color: var(--bg-section);
  z-index: 1100;
  background-color: rgba(52, 58, 64, 0.5);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.go-top:hover {
  transition: all 0.3s ease-in-out;
  background-color: #343a40;
}
/* End go-top */
body .button {
  color: #fff;
  background-color: var(--bg-section);
  border-color: var(--bg-section);
  transition: all 0.3s ease-in-out;
}
body .button:hover {
  color: #fff;
  transition: all 0.3s ease-in-out;
  background-color: #1a718b;
  border-color: #1a718b;
}
