@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");

:root {
  --main-font: "Poppins", sans-serif;
  --yellow: #DAC5A7;
  --black: #1E1E1E;
  --main-color: #121212;
  --black-one: #1E1E1E;
}
::selection{
  background-color: var(--yellow);
  color: #000;
}
html {
  scroll-behavior: smooth;
}

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

p {
  margin: 0;
}

.navbar-toggler-icon {
  background-image: url(../images/navbar-toggle-icon.png) !important;
}

.navbar-toggler {
  border: #DAC5A7 solid 2px;
  border-radius: 10px;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 9999;
}

.sidebar .nav-link {
  color: var(--yellow);
  padding: 10px 20px;
  display: block;
}

.sidebar .nav-link:hover {
  background: #444;
}

.sidebar .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  background: none;
  border: none;
  color: var(--yellow);
  cursor: pointer;
}

header {
  position: sticky;
  z-index: 99999999999999999;
  top: 0;
  left: 0;
  background-color: transparent;
  width: 100%;
  transition: all 1s ease;
}

.head.scrolled {
  border-bottom: 1px solid #dac5a75d;
  background-color: #000000da;
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav {
  margin-left: 150px;
  padding: 20px 0;
  gap: 10px;
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li a {
  font-family: var(--main-font);
  color: white;
  font-weight: 600;
  transition: all 0.5s ease-in-out;
  position: relative;
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li a:hover {
  color: var(--yellow);
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li a:hover::after {
  opacity: 1;
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li a::after {
  opacity: 0;
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 100%;
  height: 3px;
  border-radius: 5px;
  bottom: -28px;
  left: 0;
  transition: all 0.8s ease-in-out;
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li .active {
  color: var(--yellow);
}

header .container .navbar .container-fluid .navbar-collapse .navbar-nav li .active::after {
  opacity: 1;
}

header .container .navbar .container-fluid .navbar-brand {
  font-family: var(--main-font);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 2px;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  margin-top: -96px;
  background-image: url(../images/backgrund.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
}

.hero-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .row {
  padding: 150px 0 100px 0;
}

.hero-section .col-lg-6:first-child {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.hero-section .col-lg-6:first-child>div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-section .col-lg-6:first-child>div img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}

.hero-section .col-lg-6:first-child>div p {
  color: var(--yellow);
  font-family: var(--main-font);
  font-size: 2.69rem;
  font-weight: 800;
}

.hero-section .col-lg-6:first-child h1 {
  color: var(--yellow);
  font-family: var(--main-font);
  font-size: 2rem;
  font-weight: 800;
  margin: 20px 0;
}

.hero-section .col-lg-6:first-child>p {
  color: var(--yellow);
  font-family: var(--main-font);
  font-weight: 800;
}

.hero-section .col-lg-6:first-child>a {
  text-decoration: none;
  color: #000;
  background-color: var(--yellow);
  font-family: var(--main-font);
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  padding: 20px 3rem;
  margin-top: 30px;
  border-radius: 5px;
  gap: 10px;
  transition: all 0.5s ease;
  font-weight: 600;
}

.hero-section .col-lg-6:first-child>a i {
  color: var(--yellow);
  background-color: #000;
  font-size: 12px;
  padding: 5px;
  border-radius: 20px;
}

.hero-section .col-lg-6:first-child>a:hover {
  background-color: transparent;
  color: var(--yellow);
  border: 1px var(--yellow) solid;
  gap: 13px;
}

.hero-section .col-lg-6:first-child>a:hover i {
  color: #000;
  background-color: var(--yellow);
}

.hero-section .col-lg-6:first-child .my-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.hero-section .col-lg-6:first-child .my-links a {
  color: var(--yellow);
  background-color: transparent;
  font-size: 25px;
  transition: all 0.5s ease-in-out;
}

.hero-section .col-lg-6:first-child .my-links a:hover {
  color: white;
}

.hero-section .col-lg-6:last-child img {
  height: 100%;
  width: 100%;
}

.hero-section .scroller {
  gap: 40px;
  z-index: 10;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  align-items: center;
  background-color: var(--black);
}

.hero-section .scroller .scrolling-content {
  flex-shrink: 0;
  display: flex;
  gap: 40px;
  min-width: 100%;
  animation: scroll 50s linear infinite;
  padding: 70px 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 40px));
  }
}

.hero-section .scroller .scrolling-content span {
  color: var(--yellow);
  font-size: 2rem;
  font-family: var(--main-font);
  font-weight: 800;
  display: flex;
}

#about {
  background-color: var(--main-color);
  color: var(--yellow);
  text-align: center;
  font-family: var(--main-font);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about h1 {
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0 0 50px 0;
  position: relative;
  display: flex;
  width: fit-content;
  justify-content: center;
}

#about h1::after {
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 40px;
  height: 4px;
  top: -10px;
  border-radius: 3px;
}

#about .container .col-lg-4 {
  padding: 30px 15px;
  position: relative;
  cursor: default;
  transition: all 0.8s ease;
}

#about .container .ele .content {
  padding: 50px 20px;
  background-color: var(--black-one);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #4e4e4d;
  transition: all 0.7s ease-in-out;
}

#about .container .ele .content i {
  position: absolute;
  top: 0;
  font-size: 1.8rem;
  background-color: white;
  color: var(--black-one);
  padding: 10px;
  top: 0;
  border-radius: 50px;
  width: 56px;
  display: flex;
  justify-content: center;
  border: var(--yellow) solid 3px;
}

#about .container .ele.ele-e .content {
  background-color: var(--main-color);
}

#about .container .ele .content:hover {
  background-color: #0e0d0d;
}

#about .container .ele:hover {
  transform: translateY(-5px);
}

#services {
  background-color: var(--black-one);
  color: var(--yellow);
  text-align: center;
  font-family: var(--main-font);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#services h1 {
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0 0 50px 0;
  position: relative;
  display: flex;
  width: fit-content;
  justify-content: center;
}

#services h1::after {
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 40px;
  height: 4px;
  top: -10px;
  border-radius: 3px;
}

#services .container .col-lg-4 {
  padding: 30px 15px;
  position: relative;
  cursor: default;
  transition: all 0.8s ease;
}

#services .container .ele .content {
  padding: 50px 20px;
  background-color: var(--black-one);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #4e4e4d;
  transition: all 0.7s ease-in-out;
}

#services .container .ele .content span {
  position: absolute;
  top: 0;
  font-size: 1.8rem;
  background-color: white;
  color: var(--black-one);
  font-weight: 700;
  padding: 5px;
  top: 0;
  border-radius: 50px;
  width: 60px;
  display: flex;
  justify-content: center;
  border: var(--yellow) solid 3px;
}

#services .container .ele.ele-e .content {
  background-color: var(--main-color);
}

#services .container .ele .content:hover {
  background-color: #0e0d0d;
}

#services .container .ele:hover {
  transform: translateY(-5px);
}

#skills {
  background-color: var(--main-color);
  color: var(--yellow);
  text-align: center;
  font-family: var(--main-font);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#skills h1 {
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0 0 50px 0;
  position: relative;
  display: flex;
  width: fit-content;
  justify-content: center;
}

#skills h1::after {
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 40px;
  height: 4px;
  top: -10px;
  border-radius: 3px;
}

#skills .container .ele .content img {
  width: 70px;
  height: 70px;
}

#skills .container .ele .content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

#projects {
  background-color: var(--black-one);
  color: var(--yellow);
  text-align: center;
  font-family: var(--main-font);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#projects h1 {
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0 0 50px 0;
  position: relative;
  display: flex;
  width: fit-content;
  justify-content: center;
}

#projects h1::after {
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 40px;
  height: 4px;
  top: -10px;
  border-radius: 3px;
}

#projects>p {
  margin-bottom: 50px;
}

#projects .container .ele {
  margin-top: 40px;
}

#projects .container .ele .content h3 {
  margin: 20px 0;
}

#projects .container .ele .content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-color: var(--main-color);
  height: 100%;
}

#projects .container .ele .content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.5s ease;
  cursor: zoom-in;
}

#projects .container .ele.ele.ele-e a {
  text-decoration: none;
  background-color: var(--yellow);
  color: #000;
  font-family: var(--main-font);
  display: flex;
  width: fit-content;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 20px 30px;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}

#projects .container .ele.ele.ele-e a:hover {
  background-color: transparent;
  color: var(--yellow);
  border: 1px var(--yellow) solid;
}

#projects .container .ele .content img:hover {
  transform: skewX(-5deg);
}

#projects .container .ele .content p {
  margin-bottom: 20px;
}

#projects .modal {
  display: none;
  position: fixed;
  z-index: 999999999999999999999999999999999999999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#projects .modal img {
  max-width: 90%;
  max-height: 90%;
}

#projects .row {
  display: flex;
  justify-content: center;
}

#projects .row>a {
  text-decoration: none;
  background-color: var(--yellow);
  color: #000;
  font-family: var(--main-font);
  display: flex;
  width: fit-content;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 20px 30px;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  margin-top: 40px;
}

#projects .row>a:hover {
  background-color: transparent;
  color: var(--yellow);
  border: 1px var(--yellow) solid;
}

#contact {
  background-color: var(--main-color);
  color: var(--yellow);
  text-align: center;
  font-family: var(--main-font);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact h1 {
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0 0 50px 0;
  position: relative;
  display: flex;
  width: fit-content;
  justify-content: center;
}

#contact h1::after {
  position: absolute;
  content: '';
  background-color: var(--yellow);
  width: 40px;
  height: 4px;
  top: -10px;
  border-radius: 3px;
}

#contact .ele {
  margin-top: 50px;
}

#contact .ele:first-child #contactForm {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 30px;
  background-color: var(--black-one);
  border: #887e7073 1px solid;
}

#contact .ele:first-child #contactForm input {
  outline: none;
  border-style: none;
  border: #887e7073 1px solid;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
}

#contact .ele:first-child #contactForm textarea {
  height: 236px;
  resize: none;
  outline: none;
  border-style: none;
  border: #887e7073 1px solid;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
}

#contact .ele:first-child #contactForm button {
  text-decoration: none;
  background-color: var(--yellow);
  color: #000;
  font-family: var(--main-font);
  display: flex;
  width: fit-content;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 20px 30px;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#contact .ele:first-child #contactForm button:hover {
  background-color: transparent;
  color: var(--yellow);
  border: 1px var(--yellow) solid;
}

#contact .ele:last-child h2 {
  font-weight: 700;
  font-family: var(--main-font);
}

#contact .ele:last-child {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

#contact .ele:last-child a {
  text-decoration: none;
  font-family: var(--main-font);
  color: var(--yellow);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  width: fit-content;
  gap: 10px;
  transition: all 0.5s ease;
}

#contact .ele:last-child a:hover {
  color: white;
}