* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Marcellus", serif;
}
body {
  background-image: url("../assets/technology/background-technology-desktop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  transition: all 0.3s;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 150px;
  padding: 20px;
}
.link {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.097);
  backdrop-filter: blur(5px);
  padding: 0px 100px;
  margin-right: -20px;
}
.link a.active::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    bottom: 0;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.link a {
  padding: 30px 0px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  word-spacing: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.link a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: white;
  bottom: 0;
  transform-origin: center;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  /* display: none; */
}
.link a:hover::before {
  transform: scale(1);
  /* display: block; */
}
.menu{
  display: none;
}
.line {
  margin-left: 20px;
  width: 70%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.176);
  backdrop-filter: blur(10px);
}
.main-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2% 3%;
  overflow: hidden;
  border-bottom: 1px solid grey;
  padding-bottom: 0px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px 5px rgba(128, 128, 128, 0.409),
    inset 0 0 10px 5px rgba(128, 128, 128, 0.409);
}
.heading {
  word-spacing: 10px;
  color: white;
  font-size: 1.3rem;
  letter-spacing: 2px;
  white-space: nowrap;
  padding-bottom: 40px;
}
.technology-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: 55%;
}
.technology-data {
  display: flex;
  align-items: center;
  /* flex-direction: ; */
  gap: 60px;
  overflow: hidden;
}
.technology-link {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(176, 174, 174, 0.661);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 7px;
  cursor: pointer;
  transition: all 0.3s;
}
.technology-link.active{
  font-size: 2rem;
  background-color: white;
}
.technology-link:hover {
  font-size: 2rem;
}

.technology-details p {
  padding: 30px 0px;
  color: rgb(207, 205, 205);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  word-spacing: 5px;
  white-space: nowrap;
}
.technology-name {
  text-transform: uppercase;
  color: white;
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: 5px;
  /* white-space: nowrap; */
}
.technology-details-text {
  word-spacing: 5px;
  color: rgb(188, 188, 188);
  font-size: 1rem;
  letter-spacing: 2px;
  padding-top: 20px;
  text-wrap: wrap;
}
.technology-image {
  /* border-bottom: 1px solid grey; */
  max-width: 250px;
  height: 550px;
  z-index: -1;
  padding-right: 0px;
  /* max-width: 50%; */
  margin-right: 15rem;
  /* border-width: 100%; */
}
.technology-image img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .link{
    padding:0px 20px;
  }
  .main-content {
    flex-direction: column-reverse;
    margin: 0 auto;
    align-items: center;
    position: relative;
  }
  .technology-content {
    width: 100%;
  }
  .technology-image {
    margin-top: 30px;
    width: 100%;
  }
  .technology-data {
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
  }
  .heading {
    position: absolute;
    top: 10px;
    left: 57px;
  }
  .technology-links{
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 768px){
    body {
    background-image: url(../assets/technology/background-technology-mobile.jpg);
  }
  .link {
    width: 60%;
    height: 90vh;
    display: none;
    flex-direction: column;
    position: absolute;
    align-items: flex-start;
    top: 100px;
    right: 20px;
    background-color: rgba(65, 65, 65, 0.561);
    backdrop-filter: blur(8px);
    padding: 2rem;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(10%);
    border-radius: 50px 0px 0px 50px;
    gap: 5px;
  }
  .link.show {
    transform: translateX(0);
    display: flex;
  }

  .menu {
    display: block;
    cursor: pointer;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    overflow: hidden;
  }
  .technology-links{
    padding-top: 0px;
  }
  .technology-link{
    width: 40px;
    height:40px;
  }
  .technology-name{
    letter-spacing: 0px;
    font-size: 2.3rem;
  }
  .technology-data{
    gap:0px;
  }
  .heading{
    margin-left: 0px;
    letter-spacing: 0px;
    word-spacing: 0px;
    text-align: left;
  }
   .technology-image{
    max-width: 90%;
    margin: 30px;
    display: block;
    max-width: 350px;
    height: auto;

   }
  .technology-image img{
    /* min-width: 100%; */
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }
}