/*
Theme Name: Raffaele Altamura
Author: Raffaele
Version: 1.0
Description: Tema personalizzato classico
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --main-color: rgb(62, 65, 198);
  --secondary-color: #6366f1;
  --bg-color: #1F1F26;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
}

.py-100 {
  padding: 100px 0 100px 0;
}

.pt-100 {
  padding-top: 100px;
}

body {
  color: #e5e5e5 !important;
  background: linear-gradient(359deg, rgb(16, 17, 66) 0%, rgba(31, 31, 38, 1) 50%);
  font-family: "Montserrat", sans-serif;
}

body::-webkit-scrollbar, .modal-body::-webkit-scrollbar {
  width: 10px !important;
}

body::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track {
  background: var(--bg-color) !important;
  border-radius: 1px !important;
}

body::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb {
  background: var(--main-color) !important;
  border-radius: 1px !important;
  border: 1px solid #232E33 !important;
}

@supports not selector(::-webkit-scrollbar) {
  body, .modal-body {
    scrollbar-color: var(--main-color)
                     var(--bg-color);
  }
}

nav {
  height: 70px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10;
  background-color: var(--bg-color);
  /* background: linear-gradient(180deg, var(--main-color) 0%, var(--bg-color) 100%); */
}

.logo-nav img {
  height: 80px;
  width: 150px;
  object-fit: contain;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

.hero {
  height: calc(100dvh - 70px) !important;
  margin-top: 70px !important;
  width: 100% !important;
}

.hero video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section-title {
  text-align: center;
  font-size: 40px;
}

.project-card:hover {
  transform: scale(105%);
  transition: transform .4s, box-shadow .4s ease;
  cursor: pointer;
  box-shadow: 0px 0px 15px 4px var(--secondary-color);
}

.project-card img {
  height: 350px;
  object-fit: cover;
}

.modal-title {
  font-size: 25px;
}

.modal-img {
  max-height: 500px;
  max-width: 400px;
}

.modal-content {
  background-color: var(--bg-color) !important;
}

.custom-audio-player {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #444;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
}

.custom-audio-player .audio-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.custom-audio-player .play-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.custom-audio-player .progress-range {
  -webkit-appearance: none;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 3px;
  cursor: pointer;
}

.custom-audio-player .progress-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--main-color);
  cursor: pointer;
}

.custom-audio-player .progress-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: crimson;
  cursor: pointer;
}

.custom-audio-player .time {
  font-size: 12px;
  min-width: 40px;
  text-align: center;
}

.skill {
  background: rgba(62, 65, 198, 0.326);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
  border: 1px solid rgba(13, 28, 185, 0.46);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.skill:hover {
  background: rgba(62, 64, 198, 0.223);
  transform: translateY(-5px);
}

.skill-img img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.badge-btn {
  background-color: var(--secondary-color);
  padding: 10px 20px !important;
  border-radius: 20px;
}

.badge-btn a {
  color: white;
  text-decoration: none;
}

.badge-btn:hover {
  background-color: var(--main-color);
}

.footer-banner {
  border-top: 1px solid white;
}

.logo-footer img {
  height: 90px;
  width: 90px;
  object-fit: contain;
}

/* media */
@media only screen and (max-width: 992px) {
  .container {
    max-width: 770px !important;
  }
}

@media only screen and (max-width: 700px) {
  .badge-btn {
    padding: 7px 15px !important;;
  }
}

@media only screen and (max-width: 500px) {
  .nav-item {
    font-size: 18px !important;
  }

  .logo-nav img {
    height: 70px !important;
    width: 70px !important;
  }

  .section-title {
    font-size: 32px;
  }
}

@media only screen and (max-width: 400px) {
  .nav-item {
    font-size: 15px !important;
  }

  .logo-nav img {
    height: 60px !important;
    width: 65px !important;
  }

  .project-card img {
    height: 300px;
    object-fit: cover;
  }

  .badge-btn {
    padding: 7px 12px !important;;
  }
}


/* media min-width */
@media only screen and (min-width:500px) {
  nav {
    height: 80px !important;
  }

  .hero {
    height: calc(100dvh - 80px) !important;
    margin-top: 80px !important;
  }
}

@media only screen and (min-width:576px) {
  .modal-content {
    height: 900px !important;
  }
}

@media only screen and (min-width:1200px) {
  .about-desc {
    font-size: 20px;
  }
}

@media only screen and (min-width:1400px) {
  .socials {
    text-align: start !important;
  }
}
