@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* *{
  margin: 0;
  padding: 0;
} */
body,
p,
h1,
h2,
h3,
h4,
ul,
li {
  margin: 0px;
  padding: 0px;
}

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

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

/* aluminum main styles */
#aluminum__header {
  width: 100%;
  height: 100vh;
}

.aluminum__field {
  background-image: url('../assets/About\(Aluminum\)/AluminumBackground.png');
  background-position: center;
  background-size: cover;
  height: 100%;

}

/*  */

/* Asadbek, [22/02/24 11:55] */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #000 !important;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: transparent;
  z-index: 99;

}

nav .navbar {
  max-width: 100vw;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 10px 50px;
  border-bottom: 1px solid #18C0B3;
}

.navbar.scrolled {
  backdrop-filter: blur(10px)
}

.navbar .logo a {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.logo_aybis {
  width: 120px;
}


nav .navbar .nav-links {
  line-height: 70px;
  height: 100%;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}

nav .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all ease-in-out .3s;
}

nav .navbar .links li a:hover {
  color: #18C0B3;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow,
.links li:hover .language-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 60px;
  left: 0;
  line-height: 32px;
  background: #fff;
  border-radius: 10px;
  display: none;
  z-index: 2;
  padding: 7px;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu,
nav .navbar .links li:hover .language-sub-menu {
  display: block;
}

.navbar .links li .sub-menu a {
  color: #000;
  font-size: 15px;
  font-weight: 400;
}

.navbar .links li .sub-menu a:hover {
  color: #18C0B3;
}

.navbar .search-box {
  position: relative;
  height: 40px;
  width: 40px;
}

.navbar .search-box i {
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar .search-box .input-box {
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #000;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.navbar.showInput .search-box .input-box {
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #000;
}

.search-box .input-box::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #000;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}

.search-box .input-box input {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}

.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}



/*  */
.aluminum__navbar--line {
  height: 70px;
  width: 100%;
  margin-bottom: 30px;
}

.aluminum__navbar ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  top: 97px;
  position: fixed;
  z-index: 1;
  backdrop-filter: blur(10px);
  padding: 10px;
  width: 100%;
  right: 0;
  justify-content: end;
}

.aluminum__navbar ul li {
  margin-right: 30px;
}

.aluminum__navbar ul li a {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  font-family: 'Rubik' sans-serif;
}

.aluminum__navbar ul li a:hover {
  color: #18C0B3;
  transition: all ease-in-out .3s;
}

.aluminum__navbar ul li a:active {
  color: #18C0B3;

}

.aluminum__hero {
  padding: 100px 0;
}

.aluminum__hero h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 47.4px;
  color: #fff;
  margin-bottom: 30px;
}

.aluminum__hero h4 {
  font-weight: 400;
  font-size: 20px;
  line-height: 27.3px;
  color: #fff;
  margin-bottom: 30px;
}

.aluminum__hero p {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #A1A1AA;
}

.aluminum__hero p span {
  display: block;
  height: 20px;
}

/* aluminum main style */

/* Alloys */
section {
  background-color: #000;
  color: #A1A1AA;
  border-bottom: 8px solid #222;
}

._head {
  width: max-content;
}

.heading {
  color: #fff;
  font-family: "Rubik" sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.topic_h {
  font-size: 30px;
  font-family: "Rubik" sans-serif;
  font-weight: 400;
  line-height: 35px;
  color: #fff;
}

.mb_l {
  display: none;
}

.mb_l ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.img-rel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.content--alloys {
  padding-top: 40px;
  padding-bottom: 80px;
}

.heading--alloys {
  width: max-content;
}

.heading--alloys p {
  padding-top: 8px;
  font-family: "Nunito", sans-serif;
}

.status-bar {
  background-color: #18C0B3;
  height: 3px;
  width: 100%;
  margin: 16px 0;
}

.content--alloys .lists-bar {
  display: flex;
}

.content--alloys .lists-bar ul {
  gap: 8px;
  list-style: none;
  margin-right: 32px;
}

.content--alloys .lists-bar ul li {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  position: relative;
  padding-left: 20px;
}

.content--alloys .lists-bar ul li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%)
}

/* Standart profile */
.st-profiles--content,
.cp-profiles--content,
.fabrication--content,
.s-treatment--content {
  padding: 64px 0 80px 0;
}

.st-profiles--content .modal .icon {
  padding: 20px;
  display: flex;
  justify-content: right;
}

.top_content {
  max-width: 68%;
}

.secondary-hdn {
  color: #fff;
  margin: 8px 0;
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  font-family: "Rubik" sans-serif;
}

.minory-txt {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.standart--profiles .top_content .minory-txt {
  margin-top: 8px;
}

.standart--profiles p span {
  font-weight: 700;
  color: #18C0B3;
  cursor: pointer;
}

.profile-types .types_r {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17%, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.profile-types .types_r .types_col {
  margin-top: 10px;
  width: 100%;
}

.profile-types .types_r .types_col:nth-child(5n) {
  margin-right: 0;
}

.profile-types .img-content {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  position: relative;
}

.profile-types .img-content ._hover-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: flex;
  z-index: 10;
}

.profile-types .img-content ._hover-effect div {
  flex: 1;
}

.profile-types .st-img,
.profile-types .nd-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute;
  transition: .5s;
}

.profile-types .st-img {
  background-color: #222;
  opacity: 1;
}

.profile-types .nd-img {
  background-color: #fff;
  opacity: 0;
}

.profile-types .img-content ._hover-effect .left:hover~.st-img {
  display: none;
}

.profile-types .img-content ._hover-effect .left:hover+.st-img+.nd-img {
  display: block;
}

.profile-types .img-content ._hover-effect .left:hover+.selection-bar span:first-child {
  background-color: #18C0B3;
}

.profile-types .img-content .type-1-img {
  position: absolute;
  right: 0;
  top: 0;
}

.profile-types .img-content .type-2-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.profile-types .types_r .types_col h2 {
  text-align: center;
  color: #fff;
  margin-top: 20px;
  font-size: 16px;
  line-height: 19px;
  font-family: "Rubik" sans-serif;
  font-weight: 400;
}

.profile-types .img-content .selection-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.profile-types .img-content .selection-bar span {
  width: 16px;
  height: 3px;
  border-radius: 14px;
  background-color: #A5A5A5;
  cursor: pointer;
  transition: .2;
}

.profile-types .img-content .selection-bar span.active {
  background-color: #18C0B3;
}

/* Custom profiles */
.custom--profiles .main_content,
.fabrication .main_content {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.custom--profiles .main_content .txt {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fabrication */
.fabrication .top_content .minory-txt,
.surface--treatment .top_content .minory-txt {
  margin-top: 8px;
}

.fabrication .main_content .txt {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fabrication .main_content .txt ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fabrication .main_content .txt ul li {
  position: relative;
  margin-left: 5px;
  padding-left: 8px;
}

.fabrication .main_content .txt ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background-color: #fff;
}

/* Surface treatment */
.surface--treatment ._contents {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.surface--treatment ._contents .main_content {
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
}

.surface--treatment .main_content .txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 45%;
}

.surface--treatment .main_content .minory-txt.txt {
  width: 100%;
}

.surface--treatment .main_content:nth-child(2) .txt {
  align-items: flex-end;
}

.surface--treatment .main_content:nth-child(2) .minory-txt.txt {
  text-align: right;
}

/* Modals */
.modal {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #151515cc;
}

.modal-inquiry {
  max-width: 1110px;
  padding: 32px 72px;
  border-radius: 16px;
  background-color: #222;
  position: relative;
  max-height: 90%;
  overflow-y: auto;
  animation-name: ease-out;
  animation-duration: .2s;
  animation-iteration-count: 1;
}

.modal-inquiry::-webkit-scrollbar {
  width: 10px;
}

.modal-inquiry::-webkit-scrollbar-thumb {
  background: #6B6B6B;
  border-radius: 10px;
}

.modal-inquiry::-webkit-scrollbar-track {
  margin-inline: 10px;
}

.modal-inquiry .icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.modal-inquiry .icon i::before {
  font-size: 25px;
}

.modal-inquiry .modal_content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.modal-inquiry .modal_content .entry h1 {
  font-family: "Rubik" sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
  color: #fff;
}

.modal-inquiry .modal_content .entry p {
  font-family: "Rubik" sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  margin-top: 8px;
  color: #CCC6C6;
}

.modal-inquiry .modal_content form .row .col {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.modal-inquiry .modal_content form label {
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  font-family: "Rubik" sans-serif;
}

.modal-inquiry .modal_content form input,
.modal-inquiry .modal_content form textarea {
  padding: 16px;
  border-radius: 6px;
  background-color: #343333;
  color: #fff;
  border: none;
  outline: none;
}

.modal-inquiry .modal_content form input::placeholder,
.modal-inquiry .modal_content form textarea::placeholder {
  color: #666666;
}

.modal-inquiry .modal_content form input {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  font-family: "Rubik" sans-serif;
}

.modal-inquiry .modal_content form textarea {
  resize: none;
  height: 152px;
}

.modal-inquiry .modal_content form .msg {
  display: flex;
  flex-direction: column;
}

.modal-inquiry .modal_content .submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.modal-inquiry .modal_content .submit button {
  padding: 12px 32px;
  color: #fff;
  border-radius: 6px;
  background-color: #00549C;
  outline: none;
  border: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  font-family: "Rubik" sans-serif;
  text-align: center;
}
#result{
  position: absolute;
  top: 50px;
  right: 50px;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  background-color: green;
  opacity: 0;
  /* display: block; */
}
.result-came{
  animation: fade-in;
  animation-duration: .5s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}

@keyframes fade-in {
  from{
    right: 0;
    opacity: 0;
  }
  to{
    right: 50px;
    opacity: 1;
  }
}

/* footer */

.footer {
  max-width: 100vw;
  padding: 30px 0;
  background-color: #181818;
  margin-top: 100px;
}

.custom-font {
  font-family: Rubik;
}

.footer-custom-color {
  color: #C9C9C9;
}

.logo {
  width: "40px";
}

.logo-author--card{
  display: block;
  text-align: center;
  width: 75%;
}
.logo-author img{
  width: 150px;   
  margin-bottom: 5px;
}

.phone {
  text-decoration: underline;
}

.footer-link {
  cursor: pointer;
  color: #C9C9C9;
}

.footer-link:hover {
  color: #18C0B3;
}

.ul {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.ul li>a{
  text-decoration: none;
  color: white;
  transition: all ease-in-out .3s;
}

.ul li>a:hover{
  color: #18C0B3;
}


/* Animations */
@keyframes ease-out {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.modal-table {
  display: flex;
  flex-direction: column;
  background-color: #313131;
  position: relative;
  max-height: 80%;
}

.modal-table .icon {
  display: flex;
  padding: 10px;
  justify-content: flex-end;
  color: #fff;
}

.modal-table .icon i::before {
  font-size: 23px;
}

.modal-table section {
  background-color: #222;
  border-bottom: 0;
  overflow-y: auto;
}

.modal-table section::-webkit-scrollbar {
  width: 6px;
}

.modal-table section::-webkit-scrollbar-thumb {
  background: #6B6B6B;
}

.t-row {
  display: flex;
}

.t-row .group {
  width: 178px;
}

.t-row .type {
  width: 262px;
}

.t-row .weight {
  width: 133px;
}

.t_heading {
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  position: sticky;
  top: 0;
  background-color: #222;
}

.t_heading .t-head_main,
.t_heading .t-head_secondary {
  text-align: center;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t_heading .t-head_secondary {
  height: 44px;
}

.t_heading div {
  border: 1px solid #313131
}

.t-row .type .t-head_sizes,
.t-row .type .t-content_sizes {
  display: flex;
}

.t-row .type .t-head_sizes div,
.t-row .type .t-content_sizes ul {
  flex: 1;
}

.t_content li {
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  font-family: "Rubik", sans-serif;
  color: #A1A1AA;
  border: 1px solid #313131;
}

/* img modal */
.modal-image {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 500px;
  height: 90%;
}

.modal-image .icon{
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  color: #fff;
}

.modal-image .img_content {
  display: -webkit-box;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 90%;
}

.modal-image .img_content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.modal-image .img_content::-webkit-scrollbar-thumb {
  background: #6B6B6B;
}

/* .modal-image .img_content {
  height: 100%;
  width: 400px;
 
} */

.modal-image .img_content img {
  width: 90%;
  height: 100%;
}








@media(max-width:1200px) {
  .profile-types .types_r {
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  }

  .modal-inquiry {
    max-width: 90%;
  }
}

@media(max-width:1024px) {
  .profile-types .types_r {
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
  }

  .dsk_l {
    display: none !important;
  }

  .mb_l {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width:920px) {
  nav .navbar {
    max-width: 100%;
    padding: 10px 25px;
  }

  nav .navbar .logo a {
    font-size: 27px;
  }

  nav .navbar .links li {
    padding: 0 10px;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
  }

  .ul {
    align-items: center;
  }

  .modal-inquiry::-webkit-scrollbar {
    width: 0px;
  }

}


@media(max-width:778px) {
  .top_content {
    max-width: 100%;
  }
  nav .navbar .links li .sub-menu {
    background: #493b3b;
  }

  .navbar .links li .sub-menu a {
    color: #fff;
  }

  section .main_content {
    flex-direction: column-reverse;
  }

  section .main_content div {
    width: 100% !important;
  }

  section .main_content .minory-txt {
    margin-top: 15px;
  }

  .surface--treatment .main_content ._head {
    width: max-content !important;
  }

  .surface--treatment ._contents .main_content>.txt {
    margin-top: 30px;
  }

  .surface--treatment .main_content .minory-txt {
    margin-top: 0;
  }

  .surface--treatment .main_content:nth-child(2) {
    flex-direction: column;
  }

  .fabrication .minory-txt .mb_l {
    justify-content: space-around;
    align-items: center;
  }

  .profile-types .types_r {
    grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
    gap: 30px;
  }

  .modal-inquiry .modal_content form .row .col {
    width: 100%;
  }

  .modal-inquiry {
    padding: 32px;
  }

  .modal-inquiry .modal_content .submit button {
    width: 100%;
  }

  .modal-table {
    width: 80%;
  }

  /* aluminum */

  /*  */

  .navbar .bx-menu {
    display: block;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 70%;
    background: #493b3b;
    line-height: 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
    height: 100vh;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links:last-child {
    width: max-content;
  }

  .logo_small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
  }

  .logo_aybis {
    width: 100px;
}


  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #fff;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: #fff;
  }

  nav .navbar .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .links li .arrow {
    line-height: 15px;
  }

  nav .navbar .links li {
    display: block;
  }

  nav .navbar .links li .sub-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }

  nav .navbar .links li .sub-menu li {
    border-bottom: none;
  }

  .sub-menu li>a {
    font-size: 14px !important;
  }

  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow,
  .links li:hover .language-arrow {
    transform: rotate(0deg);
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu,
  nav .navbar .links li:hover .language-sub-menu {
    display: none;
  }

  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .language-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links .htmlcss-arrow,
  .navbar .nav-links.show3 .links .js-arrow,
  .navbar .nav-links.show2 .links .language-arrow {
    transform: rotate(180deg);
  }

  /* Header section */

  .aluminum__navbar ul {
    float: none;
  }

  .aluminum__navbar ul li {
    margin: 0 7px;
    justify-content: center;
  }

  .aluminum__hero {
    padding: 20px 0;
    padding-top: 40px;
  }

  .aluminum__navbar ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    right: 0;
    top: 84px;
    position: fixed;
    z-index: 10;
    backdrop-filter: blur(10px);
    padding: 10px;
  }

  /* aluminum */
}

@media(max-width:558px) {
  .profile-types .types_r {
    display: -webkit-box;
    white-space: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
  }

  .modal-image .img_content .img {
    width: 400px;
  }
  .modal-image {
    width: 330px;
    height: 80%;
    
  }

  .modal-inquiry {
    padding: 20px;
  }
  .modal-image .img_content img {
    width: 100%;
    height: 100%;
  }

  .profile-types .types_r .types_col {
    margin-top: 10px;
    width: 70%;
    scroll-snap-align: start;
  }

  .img-rel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* aluminum */

  .aluminum__hero {
    padding: 20px 0;
    padding-top: 60px;
  }

  .aluminum__navbar ul {
    float: none;
  }

  .aluminum__navbar ul li {
    margin-bottom: 10px;

  }

  .aluminum__navbar ul li a {
    font-size: 10px;
  }

  .aluminum__hero h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
  }

  .aluminum__hero h4 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
  }

  .aluminum__hero p {
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  /* aluminum */


}

@media(max-width:480px) {
  .profile-types .types_r {
    padding: 0 10px;
  }

  .modal-image .img_content .img {
    width: 350px;
  }

  .mb_l {
    flex-direction: column;
  }

  .alloys .lists-bar .mb_l {
    gap: 10px;
  }

  .alloys .lists-bar .mb_l ul {
    align-items: unset;
  }

  .mb_l ul {
    justify-content: center;
    align-items: center;
    text-align: justify;
  }

  .aluminum__navbar ul {
    float: none;
    justify-content: space-between;
  }

  .aluminum__navbar ul li a {
    font-size: 14px;
  }
  .aluminum__hero {
    padding-top: 80px;
  }
}

@media(max-width:395px) {

  .heading--alloys {
    width: 100%;
  }

  .modal-image .img_content .img {
    width: 300px;
  }

  nav .navbar .nav-links {
    max-width: 100%;
  }
  .modal-image{
    width: 250px;
    height: 70%;
  }
}

@media(max-width:320px) {
  .profile-types .types_r {
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 40px;
  }
}
@media(max-width:260px) {
  .aluminum__hero {
    padding-top: 100px;
  }
}
