@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  -webkit-tap-highlight-color: transparent;
  overflow-y: scroll;
  overflow-x: hidden;
}

.body {
  position: absolute;
  height: 85%;
  width: 100%;
}

.body-device {
  position: absolute;
  height: 100%;
  width: 100%;
}

/*section: Projects*/
.swiper {
  width: 100%;
  height: 90%;
}

.device.swiper-slide {
  text-align: center;
  background: transparent !important;
  display: flex !important;
  align-items: baseline !important;
  margin-left: 3px;
  margin-right: 3px;
}

.swiper-slide {
  text-align: center;
  background: #f07995;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  border-radius: var(--swiper-pagination-bullet-border-radius,50%) !important;
  background: #ffffffa3 !important;
}

/*content multimedia: Projects*/
.img-contact {
  height: 185% !important;
  max-width: 165% !important;
}

.img-fluid-xs {
  width: 28%;
}

.img-fluid-sm {
  width: 32%;
}

.img-fluid-m {
  max-width: 50% !important;
}

.img-fluid-md {
  max-width: 60% !important;
}

.img-fluid-lg {
  width: 90%;
}

.img-fluid-xl {
  width: 100%;
}

.img-fluid {
    transition: transform .2s;
}
 
.img-fluid:hover {
    transform: scale(1.1);
}

.img-fluid-device:hover {
  transform: scale(2.2);
}

.reveal{
  position: relative;
  transform: translateY(160px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}
/*content btn go site : Projects*/
#btn-go #span-go{
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
 }
 
 #btn-go #span-go:after {
  content: '»';
  position: absolute;
  padding-right: 3px;
  opacity: 0;
  top: 3;
  right: 18px;
  transition: 0.5s;
 }
 
 #btn-go:hover #span-go {
  padding-right: 12px;
 }
 
 #btn-go:hover #span-go:after {
  opacity: 1;
  right: 0;
 }

/*detail: Projects(device)*/
.modal {
  display: none; 
  position: fixed; 
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.6); 
}

.modal-content {
  background-color: transparent; 
  padding: 20px;
  width: 97%;
  height: 70%;
  margin-top: 29px;
}

.close {
  color: #dddada;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 3%;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.img-div:hover .overlay {
  opacity: 0.95;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  height: 30%;
  width: 30%;
  opacity: 0;
  transition: .5s ease;
}

/*Social media*/
.wrapper .button {
  display: inline-block;
  height: 60px;
  width: 60px;
  margin: 0 5px;
  overflow: hidden;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}

.wrapper .button:hover {
  width: 200px;
  display: flex;
}

.wrapper .button:hover .icon i {
  color: #fff;
}

.wrapper .button .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 60px;
  transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1):hover .icon {
  background: #6042b2;
}

.wrapper .button:nth-child(2):hover .icon {
  background: #0276be;
}

.wrapper .button:nth-child(3):hover .icon {
  background: #e1306c;
}

.wrapper .button:nth-child(4):hover .icon {
  background: #0337a5;
}

.wrapper .button:nth-child(5):hover .icon {
  background: #1da1f2;
}

.wrapper .button:nth-child(6):hover .icon {
  background: #0aca03;
}

.wrapper .button .icon i {
  font-size: 25px;
  line-height: 60px;
  transition: all 0.3s ease-out;
}

.wrapper .button span {
  font-size: 20px;
  font-weight: 500;
  line-height: 60px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1) span {
  color: #4267b2;
}

.wrapper .button:nth-child(2) span {
  color: #1da1f2;
}

.wrapper .button:nth-child(3) span {
  color: #e1306c;
}

.wrapper .button:nth-child(4) span {
  color: #333;
}

.wrapper .button:nth-child(5) span {
  color: #ff0000;
}

/*theme advice*/
.tooltip-not-dark, .tooltip-dark  {
  visibility: hidden;
} 

.has-tooltip:hover .tooltip-not-dark {
  visibility: visible;
  opacity: 1;
}

.has-tooltip-dark:hover .tooltip-dark {
  visibility: visible;
  opacity: 1;
}

.has-tooltip-dark .tooltip-dark::after {
  content: "";
}

.has-tooltip .tooltip-not-dark::after {
  content: "";
}