/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3.5rem;
  --font-semi: 600;
  /*===== Colores =====*/
  /*Purple 260 - Red 355 - Blue 224 - Pink 340*/
  /* HSL color mode */
  --hue-color: 224;
  --first-color: hsl(0, 100%, 0%);
  --second-color: hsl(var(--hue-color), 56%, 12%);
  /*===== Fuente y tipografia =====*/
  --body-font: "Poppins", sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
  --smaller-font-size: 0.75rem;
  /*===== Margenes =====*/
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: 0.875rem;
  }
}

/*===== BASE =====*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
}

h1,
h2,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section-title {
  position: relative;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--first-color);
  margin-top: var(--mb-2);
  margin-bottom: var(--mb-2);
  text-align: center;
  cursor: pointer;
}

/* .section-title::after {
  position: absolute;
  content: '';
  width: 64px;
  height: 0.1rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: var(--first-color);
} */
.section {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1024px;
  color: #000;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.about__text,
.bold-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: #000;
}

@media screen and (max-width: 822px) {
  .nav {
    height: 4.5rem;
  }

  .nav__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    margin-top: 3.5rem;
    top: -0.5rem;
    right: -100%;
    width: 70%;
    height: 91%;
    padding: 4rem;
    font-size: 2rem;
    color: #000;
    background-color: #fff;
    transition: 0.5s;
  }

  .nav__link {
    font-size: 1.6rem;
  }

  .nav__icons a {
    font-size: 2rem;
  }

  .about__3 {
    margin-top: 4rem;
  }
}

.nav__item {
  font-size: 0.9rem;
  margin-bottom: var(--mb-4);
}

.nav__link {
  position: relative;
  color: #000;
}

.nav__link:hover {
  position: relative;
  cursor: pointer;
}

.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.1rem;
  left: 0;
  top: 2rem;
  background-color: #000;
}

.nav__icons {
  margin-left: 2rem;
  font-size: 1rem;
}

.nav__icons a {
  margin-left: 0.2rem;
}

.nav__icons a:hover {
  margin-left: 0.2rem;
  cursor: pointer;
}

.nav__logo {
  color: var(--second-color);
  font-size: 1.35rem;
  font-weight: 300;
  cursor: pointer;
}

.nav__toggle {
  color: var(--second-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/*Active menu*/
.active::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.1rem;
  left: 0;
  top: 2rem;
  background-color: #0000;
  cursor: pointer;
}

/*=== Show menu ===*/
.show {
  right: 0;
}

/*===== HOME =====*/
.l-main {
  width: 100%;
  padding: 0;
  margin: 0;
}

.home {
  width: 100%;
  text-align: center;
  position: relative;
  row-gap: 1rem;
  padding: 4rem 0 5rem;
  margin-bottom: -15rem;
}

/* Slider */

:after,
:before,
* {
  box-sizing: border-box;
}

.container {
  width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
}

h2 {
  line-height: 1.1;
}

.hero-slider {
  width: 100%;
  height: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  z-index: 0;
}

@media (max-width: 991px) {
  .hero-slider {
    height: 900px;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    height: 900px;
  }
}

.hero-slider .swiper-slide {
  height: 100vh;
  overflow: hidden;
  color: #000;
}

.hero-slider .swiper-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
}

.hero-slider .slide-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  background: transparent;
  width: 55px;
  height: 55px;
  line-height: 53px;
  margin-top: -30px;
  text-align: center;
  border: 2px solid #d4d3d3;
  border-radius: 55px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }
}

.hero-slider .swiper-button-prev {
  left: 25px;
  transform: translateX(50px);
}

.hero-slider .swiper-button-prev:before {
  font-family: "Font Awesome 5 Free";
  content: "\f060";
  font-size: 15px;
  color: #d4d3d3;
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
  font-weight: 900;
}

.hero-slider .swiper-button-next {
  right: 25px;
  transform: translateX(-50px);
}

.hero-slider .swiper-button-next:before {
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  font-size: 15px;
  color: #d4d3d3;
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
  font-weight: 900;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  text-align: left;
  line-height: 12px;
  font-size: 12px;
  color: #000;
  opacity: 0.3;
  background: #fff;
  transition: all 0.2s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
  bottom: 30px;
}

@media screen and (min-width: 992px) {
  .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
  .hero-slider .swiper-pagination-custom,
  .hero-slider .swiper-pagination-fraction .swiper-pagination {
    text-align: left;
  }

  .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 50px;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 767px) {
  .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 30px;
  }
}

/*--------------------------------------------------------------
	#hero-style
--------------------------------------------------------------*/
.hero-style {
  height: 850px;
  transition: all 0.4s ease;
}

@media (max-width: 991px) {
  .hero-style {
    height: 700px;
  }
}

@media (max-width: 767px) {
  .hero-style {
    height: 650px;
  }
}

@media screen and (min-width: 992px) {
  .hero-style .container {
    padding-top: 95px;
  }
}

.hero-style .slide-title,
.hero-style .slide-text,
.hero-style .slide-btns {
  max-width: 690px;
}

.hero-style .slide-title h2 {
  font-size: 100px;
  font-weight: 600;
  line-height: 1;
  color: #ffffffc3;
  opacity: 0.8;
  margin: 0 0 40px;
  text-transform: capitalize;
  transition: all 0.4s ease;
}

@media (max-width: 1199px) {
  .hero-style .slide-title h2 {
    font-size: 75px;
  }
}

@media (max-width: 991px) {
  .hero-style .slide-title h2 {
    font-size: 50px;
    margin: 0 0 35px;
  }
}

@media (max-width: 767px) {
  .hero-style .slide-title h2 {
    font-size: 35px;
    margin: 0 0 30px;
  }
}

.hero-style .slide-text p {
  opacity: 0.8;
  font-family: Rajdhani;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  color: #ffffff;
  margin: 0 0 40px;
  transition: all 0.4s ease;
}

@media (max-width: 767px) {
  .hero-style .slide-text p {
    font-size: 16px;
    font-size: 1rem;
    font-weight: normal;
    margin: 0 0 30px;
  }
}

.hero-style .slide-btns > a:first-child {
  margin-right: 10px;
}

/*--------------------------------------------------------------
	#button-style
--------------------------------------------------------------*/
.theme-btn,
.theme-btn-s2 {
  background-color: #ffffff;
  opacity: 0.5;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: #4c4d52;
  padding: 9px 32px;
  border: 0;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  line-height: initial;
  transition: all 0.4s ease;
}

.slide-btns a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.theme-btn-s2 {
  background-color: rgba(255, 255, 255, 0.9);
  color: #131e4a;
}

.theme-btn:hover,
.theme-btn-s2:hover,
.theme-btn:focus,
.theme-btn-s2:focus,
.theme-btn:active,
.theme-btn-s2:active {
  background-color: #3d4156;
  color: #fff;
}

.theme-btn-s3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.6;
  text-transform: uppercase;
}

i.fa-chevron-circle-right {
  height: 22px;
  width: 22px;
}

.slide-btns a:hover {
  text-decoration: none;
}

@media (max-width: 991px) {
  .theme-btn,
  .theme-btn-s2,
  .theme-btn-s3 {
    font-size: 13px;
    padding: 15px 25px;
  }
}

@media (max-width: 767px) {
  .theme-btn,
  .theme-btn-s2 {
    padding: 13px 20px;
    font-size: 13px;
  }

  .scroll-container {
    display: none;
  }
}

/* SCROLL DOWN BUTTON */
.scroll {
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-container {
  width: 30px;
  height: 60px;
  border: 3px solid #d4d3d3;
  border-radius: 15px;
  position: relative;
  margin-bottom: -18rem;
}

.scroller {
  width: 16px;
  border-radius: 8px;
  background-color: #d4d3d3;
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 34px;
  animation: scroller 1500ms ease-out infinite;
}

@keyframes scroller {
  0% {
    bottom: 34px;
  }
  5% {
    top: 4px;
  }
  32% {
    bottom: 4px;
  }
  66% {
    top: 34px;
    bottom: 4px;
  }
  100% {
    top: 4px;
    bottom: 34px;
  }
}
/* SCROLL DOWN BUTTON */
html {
  scroll-padding-top: 4rem; /* Dodajemo 5rem razmaka pri skrolovanju */
}

section {
  scroll-margin-top: 4rem; /* Ovaj razmak se primenjuje na sekcije kada se skroluje do njih */
}

/* Prilagodite stilove za naslov sekcije, ako želite */
section h2.section-title {
  padding-top: 0rem; /* Dodajte 5rem razmaka od vrha za naslove sekcija */
}
.about__container {
  scroll-margin-top: 4rem;
  scroll-padding-top: 4rem;
}

/* ===== ABOUT =====*/
.about__container {
  margin-top: 5rem;
}

.about__container {
  row-gap: 2rem;
  text-align: center;
}

.section-title {
  font-family: Poppins;
  font-weight: 200;
}

.about__text {
  font-family: Poppins;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2rem;
  letter-spacing: 1px;
  color: #000;
}

.bold {
  font-family: Poppins;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3rem;
  color: #000;
}

.italic {
  font-family: Poppins;
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  color: #000;
}

.about__img {
  justify-self: center;
}

.about__img img {
  width: 200px;
  border-radius: 0.5rem;
}

/* ===== Reference =====*/
.skills__container {
  row-gap: 2rem;
  text-align: center;
}

.slider-logo {
  display: flex;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 2.5rem;
}

.item {
  animation: animate 20s linear infinite;
}

.item img {
  min-width: 240px;
  height: 140px;
  padding: 0 30px;
}

.slider-logo:hover .item {
  animation-play-state: paused;
}

@keyframes animate {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-2700px, 0, 0);
  }
}

.skills__subtitle {
  margin-bottom: var(--mb-2);
}

/* ===== PORTFOLIO =====*/
.work__container {
  row-gap: 2rem;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* BASE STYLES */
html {
  --default-opacity: 0;
  --hover-opacity: 0;
  overflow-x: hidden;
}

body {
  background-color: #fff;
  font-family: "Inter", sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;

  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.color {
  height: 100%;
  width: 1024px;
  /* background-image: radial-gradient(closest-side, rgba(255, 230, 0, 0.21), #000); */
  position: relative;
  top: -570px;
  left: 15%;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 62px;
  position: fixed;
  width: 100%;
}

/* MAIN */
/* .l-main{
  position: -webkit-sticky;
} */

.main {
  max-width: 1024px;
  min-height: 100%;
  margin: 0 auto;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 90px;
  padding: 0 25px;
}

/* INTRO */
.intro {
  padding-top: 125px;
  animation: fade-up 0.5s;
}

.first-heading {
  font-size: 48px;
  font-weight: 600;
  opacity: 0.94;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emoji {
  font-size: 35px;
  margin-top: -8px;
  margin-left: 3px;
}

.text {
  font-size: 40px;
  opacity: 0.9;
  font-weight: 300;
  margin-top: 11px;
  line-height: 1.1;
}

.text--second {
  display: block;
}

/* TOP */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.second-heading {
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 333px 119px 325px;
  gap: 25px;
  position: relative;
}

.project {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s;
  cursor: pointer;
}

.project:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.project:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.project:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.project:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.project:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
}

.project:nth-child(6) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.project::before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: #000;
  position: absolute;
  opacity: var(--default-opacity);
  z-index: 10;
  transition: all 0.4s;
}

.project:hover::before {
  opacity: 0;
}

.grid-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: all 0.4s;
}

.project:hover .grid-img {
  filter: blur(2px);
  transform: scale(1.01);
}

/* PROJECT INFO */
.project-info {
  opacity: 0;
  position: absolute;
  bottom: 0;
  z-index: 100;
  text-align: left;
  padding: 24px;
  transform: translateY(10px);
  transition: all 0.4s;
}

.project:hover .project-info {
  opacity: 1;
  transform: translate(0);
}

.third-heading {
  font-size: 1.1rem;
}

.description {
  font-size: 0.9rem;
  margin: 3px 0 12px;
  opacity: 0.8;
}

/* FADE */
.fade {
  height: 1024px;
  width: 100%;
  position: absolute;
  bottom: 0;
  /* background-image: linear-gradient(to top, #000, transparent); */
  pointer-events: none;
  transition: all 0.6s;
}

/* LINKS */
.links {
  position: fixed;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  animation: fade-left 0.5s 0.8s backwards;
}

.link-item {
  transition: all 0.3s;
}

.link-item:not(:last-child) {
  margin-bottom: 20px;
}

.link-item:hover {
  transform: scale(1.15);
}

.link-img {
  width: 20px;
  height: 20px;
}

/* MEDIA QUERIES */
@media (max-width: 1215px) {
  .header {
    padding: 25px;
    position: absolute;
  }

  .links {
    position: absolute;
    transform: initial;
    right: initial;
    top: 32px;
    left: 82px;
    display: flex;
    animation-name: fade-down;
  }

  .link-item:not(:last-child) {
    margin-right: 15px;
  }
}

@media (max-width: 1000px) {
  .project-info {
    opacity: 1;
    position: absolute;
    bottom: 0;
    z-index: 100;
    text-align: left;
    padding: 24px;
    transform: translateY(10px);
    transition: all 0.4s;
  }

  .project:hover .project-info {
    opacity: 0;
    transform: translate(0);
  }

  .intro {
    padding-top: 100px;
  }

  .work {
    margin-top: 35px;
  }

  .main {
    margin-bottom: 35px;
  }
}

@media (max-width: 825px) {
  .slider-logo .item {
    animation: animate 20s linear infinite;
  }

  @keyframes animate {
    0% {
      transform: translate3d(0, 0, 0);
    }

    100% {
      transform: translate3d(-3500px, 0, 0);
    }
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px 300px;
    gap: 15px;
  }

  .section-portfolio {
    margin-bottom: 3rem;
  }

  .project:nth-child(1) {
    grid-row: 1 / 2;
  }

  .project:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .project:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .project:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .project:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
}

@media (max-width: 620px) {
  .color {
    left: -15%;
  }

  .header {
    padding: 15px;
  }

  .links {
    top: 22px;
    left: 70px;
  }

  .first-heading {
    font-size: 42px;
  }

  .text {
    font-size: 30px;
  }

  .main {
    padding: 0 15px;
  }

  .about__container {
    margin-top: -6rem;
  }
}

@media (max-width: 520px) {
  html {
    --default-opacity: 0;
    --hover-opacity: 0;
  }

  .text--second {
    display: inline;
  }

  .top {
    margin-bottom: 20px;
  }
  .section-title {
    margin-bottom: 3rem;
  }
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 250px);
  }

  .grid .project {
    grid-column: initial;
    grid-row: initial;
  }
}

/* Start Mansory Gallery with Lightbox */
.mm {
  padding: 2rem 10rem;
}

.mm-columns {
  --col-width: var(--_col-width, 280px);
  --columns: var(--_columns, 5);
  --gap: var(--_gap, 20px);
  columns: var(--col-width) var(--columns);
  column-gap: var(--gap);
}

.mm-columns__item:not(:last-child) {
  margin-bottom: var(--gap);
}

.mm-columns__img {
  width: 100%;
  height: auto;
}

a {
  cursor: pointer;
}

/* MEDIA QUERIES */
@media (max-width: 1215px) {
  .mm {
    padding: 1rem;
  }
}

/* End Mansory Gallery with Lightbox */

/* .work__img {
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  border-radius: .5rem;
  overflow: hidden;
}

.work__img img {
  transition: 1s;
}

.work__img img:hover {
  transform: scale(1.1);
} */

/* ===== CONTACT =====*/
.contact__section {
  padding-top: 0;
  padding-bottom: 4rem;
}

.contact__section .section-title {
  cursor: context-menu;
}

.contact__container {
  display: grid;
  grid-gap: 50px;
  grid-template-columns: repeat(auto-fit, 400px);
  color: #444;
  margin-top: 100px;
  justify-content: center;
}

.bd-grid {
  background-color: white;
  color: #000;
  border-radius: 5px;
  font-size: 150%;
}

.contact__address p {
  margin-top: 1.5rem;
  padding: 0.5rem;
  font-size: 1.2rem;
}

.contact__address p a:hover {
  cursor: pointer;
}

.contact__address p a:hover {
  cursor: pointer;
}

.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--second-color);
  outline: none;
  margin-bottom: var(--mb-4);
}

.contact__button {
  display: block;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  cursor: pointer;
  margin-left: auto;
}

/* ===== FOOTER =====*/
.footer {
  background-color: #302e2e;
  color: #fff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}

.footer__title {
  font-size: 1.9rem;
  font-weight: 200;
  margin-bottom: var(--mb-4);
}

.footer__social {
  margin-bottom: var(--mb-4);
}

.footer__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  margin: 0 var(--mb-2);
  cursor: pointer;
}

.footer__copy {
  font-size: var(--smaller-font-size);
  font-weight: 300;
}

/* ===== MEDIA QUERIES=====*/
@media screen and (max-width: 320px) {
  .nav__icons {
    margin-left: -0.1rem;
  }

  .home {
    row-gap: 2rem;
  }

  .home__img {
    width: 200px;
  }

  .item img {
    min-width: 180px;
    height: 80px;
    padding: 0 30px;
  }

  .about__container {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 400px) {
  .nav__icons {
    margin-left: -0.1rem;
  }

  .section-title {
    margin-bottom: 3rem;
  }
  .contact__form {
    margin-top: 1rem;
    margin-right: 2rem;
    margin-left: 2rem;
    font-size: 1.2rem;
  }

  .contact__address {
    padding-right: 2rem;
  }

  #gmap_canvas {
    margin-right: 2rem;
  }

  .contact__section {
    margin-bottom: -4rem;
  }
}
@media screen and (min-width: 400px) {
  .nav__icons {
    margin-left: -0.1rem;
  }
}

@media screen and (min-width: 576px) {
  .nav__icons {
    margin-left: -0.1rem;
  }
  .home {
    padding: 4rem 0 2rem;
  }

  .home__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }

  .home__social-icon {
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }

  .home__img {
    width: 300px;
    bottom: 25%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: initial;
    margin-top: -5rem;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .skills__container {
    grid-template-columns: 0.7fr;
    justify-content: center;
    column-gap: 1rem;
  }

  .item img {
    min-width: 220px;
    height: 120px;
    padding: 0 30px;
  }

  .work__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 2rem;
  }

  .contact__form {
    width: 360px;
    padding-top: 2rem;
  }

  .contact__container {
    justify-items: center;
  }
}

@media screen and (min-width: 822px) {
  body {
    margin: 0;
  }

  .section {
    padding-top: 0rem;
    padding-bottom: 3rem;
  }

  .section-title {
    margin-bottom: var(--mb-6);
  }

  .section-title::after {
    width: 80px;
    top: 3rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    padding-top: 0;
  }

  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .nav__link {
    color: var(--second-color);
  }

  .nav__icons {
    margin-left: 2.7rem;
  }

  .nav__icons .bx-phone {
    display: none;
  }

  .home {
    padding: 2rem 0 2rem;
  }

  .home__img {
    width: 400px;
    bottom: 10%;
  }

  .about__img img {
    width: 300px;
  }

  .about__container {
    margin-top: 5rem;
  }

  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    align-items: center;
    text-align: initial;
  }

  .work__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .home {
    padding: 10rem 0 2rem;
  }

  .home__img {
    width: 450px;
  }

  .about__container {
    margin-top: -6rem;
  }
}
html {
  scroll-padding-top: 3rem; /* Razmak od 3rem sa vrha za sve sekcije */
}
