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

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

body {
  font-family: 'Work Sans', sans-serif;
}

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

:root {
  --golden-ratio: 1.61803398875;
}

html {
  font-size: 16px;
}

body {

  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: calc(var(--golden-ratio) * 2em);
  font-weight: bold;
}

h2 {
  font-size: calc(var(--golden-ratio) * 1.5em);
  font-weight: bold;
}

h3 {
  font-size: calc(var(--golden-ratio) * 1.25em);
  font-weight: bold;
}

h4 {
  font-size: calc(var(--golden-ratio) * 1.125em);
  font-weight: bold;
}

h5 {
  font-size: 1em;
  font-weight: bold;
}

h6 {
  font-size: calc(var(--golden-ratio) * 0.875em);
  font-weight: bold;
}

p {
  font-size: calc(1em / var(--golden-ratio));
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }

  h1 {
    font-size: calc(var(--golden-ratio) * 2.5em);
  }

  h2 {
    font-size: calc(var(--golden-ratio) * 1.75em);
  }

  h3 {
    font-size: calc(var(--golden-ratio) * 1.375em);
  }

  h4 {
    font-size: calc(var(--golden-ratio) * 1.25em);
  }

  h5 {
    font-size: 1.125em;
  }

  h6 {
    font-size: calc(var(--golden-ratio) * 0.9375em);
  }

  p {
    font-size: calc((1em / var(--golden-ratio)) * 1.1);
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }

  h1 {
    font-size: calc(var(--golden-ratio) * 3em);
  }

  h2 {
    font-size: calc(var(--golden-ratio) * 2em);
  }

  h3 {
    font-size: calc(var(--golden-ratio) * 1.5em);
  }

  h4 {
    font-size: calc(var(--golden-ratio) * 1.375em);
  }

  h5 {
    font-size: 1.25em;
  }

  h6 {
    font-size: calc(var(--golden-ratio) * 1.0625em);
  }

  p {
    font-size: calc((1em / var(--golden-ratio)) * 1.2);
  }
}

.custom-name {
  font-weight: 900;
}

.custom-text-color {
  color: #7acbfe;
  font-weight: 600;
}

:root {
  --btn-color: #fff;
  --btn-bg: #7acbfe;
  --btn-border-color: #7acbfe;
  --btn-hover-color: #fff;
  --btn-hover-bg: #61bffd;
  --btn-hover-border-color: #61bffd;
  --btn-focus-shadow-rgb: 49, 132, 253;
  --btn-active-color: #fff;
  --btn-active-bg: #76c9ff;
  --btn-active-border-color: #76c9ff;
  --btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --btn-disabled-color: #fff;
  --btn-disabled-bg: #91d3ff;
  --btn-disabled-border-color: #91d3ff;
  --fb-bg: #3b5998;
  --twiter-bg: #00acee;
  --insta-bg: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  --lin-color: #0077b5;
  --git-color: #171515;

}

.btn-warning {
  --bs-btn-color: #000;
  --bs-btn-bg: #ffe038;
  --bs-btn-border-color: #ffe038;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ffca2c;
  --bs-btn-hover-border-color: #ffc720;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ffcd39;
  --bs-btn-active-border-color: #ffc720;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #ffc107;
  --bs-btn-disabled-border-color: #ffc107;
}

.redmore {
  color: dimgray;
}

.redmore:hover {
  color: #7acbfe;
}

.btn-primary {
  color: var(--btn-color);
  background: var(--btn-bg);
  border-color: var(--btn-border-color);
}

.btn-primary:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border-color);
}

.btn-primary:active {
  background: var(--btn-active-bg);
  border-color: var(--btn-active-border-color);
}

.btn-primary:disabled {
  background: var(--btn-disabled-bg);
  border-color: var(--btn-disabled-border-color);
}



.navbar-nav a:hover {
  text-decoration: underline;
  font-weight: 600;
}

.navbar-text a:hover {
  text-decoration: none;
}

.active {
  font-weight: 500;
}

.navbar-brand {
  font-family: 'Work Sans', sans-serif;
  font-weight: bold;
}

.custom-icon-a a:hover {
  text-decoration: none;
}

/* span navbar */
/* .fa-facebook-f {
  border: 1px solid black;
  border-radius: 50%;

}

i.fa-brands.fa-facebook-f:hover {
  color: var(--btn-bg);
}

i.fab.fa-twitter {
  color: var(--twiter-bg);
}

i.fab.fa-instagram {
  color: #fff;

  background: var(--insta-bg);
}

i.fab.fa-linkedin {
  color: var(--lin-color);
}

i.fab.fa-github {
  color: var(--git-color);
} */

.introduction {
  background-color: #3f5bd7;
  background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}

footer {
  background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}

/* button */


#potrait {
  z-index: 4;
}

.rel {
  position: relative;
}

.g1 {
  width: 300px;
  height: 300px;
  background-color: #3bc3f9a8;
  position: absolute;
  border-radius: 50%;
  bottom: -120px;
  left: -150px;
  opacity: 20%;
  overflow: hidden;
  z-index: -1;
}

.g2 {
  width: 400px;
  height: 400px;
  background-color: #3bc3f9a8;
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 5%;
}

.img-height {
  height: 50%;
  max-height: 450px;


}


#custom img {
  background: linear-gradient(45deg, rgb(166, 193, 210), rgb(255, 254, 222));
  width: 80%;
}

/* my work  */


.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}

.active.fade-bottom {
  animation: fade-bottom 1s ease-in;
}

.active.fade-left {
  animation: fade-left 1s ease-in;
}

.active.fade-right {
  animation: fade-right 1s ease-in;
}

@keyframes fade-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


/* .custom-control {
  width: 80%;
} */

.cards-wrapper {
  display: flex;

}

#custom-card img {
  max-width: 100%;
  max-height: 100%;
}

#custom-card {
  margin: 0 0.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 0;
  width: 29%;
}

.carousel-inner {
  padding: 1em;

}

.carousel-control-prev,
.carousel-control-next {
  background-color: rgb(105, 197, 244);
  width: 3vh;
  height: 3vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);

}

.carousel-indicators button {
  width: 10px;
  height: 10px;

  border: none;
  background-color: #ffffff80;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.carousel-indicators button.active,
.carousel-indicators button:hover {
  background-color: #060000;
}

@media (min-width: 768px) {
  #custom-card img {
    height: 11em;
  }
}

/* custom card-1 */
.custom-card1 {

  margin: 0 0.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 29%;
  border: none;
  border-radius: 0;
}

.custom-deck::after {
  content: "";
  width: 18rem;
}

/* custom card-2*/
.custom-card2 {
  margin: 0 0.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 29%;
  border: none;
  border-radius: 0;
}

/* custom head */
.custom-header-color1 {
  background-color: #fff;
  border: none;
  border-radius: 0;
  border-left: 4px solid lightpink;
}

.custom-header-color2 {
  background-color: #fff;
  border: none;
  border-radius: 0;
  border-left: 4px solid rgb(105, 197, 244);
}

.custom-header-color3 {
  background-color: #fff;
  border: none;
  border-radius: 0;
  border-left: 4px solid rgb(252, 226, 122);
}

.bg {
  position: absolute;
  top: -30px;
  right: -50px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(109, 165, 167, 0.72);
  border-radius: 50%;
  display: inline-flex;
  margin: auto;


}

/* footer icon hover */
.custom-icon:hover {
  transform: scale(1.5);
}


a {
  text-decoration: none;
}


.services a:hover {
  text-decoration: underline;
  font-weight: 500;
}

.custom-footer a:hover {
  text-decoration: underline;
  font-weight: 600;
}

.custom-contact a:hover {
  text-decoration: underline;
  font-weight: 500;
}

/* @media screen and (min-width: 780px) and (max-width: 970px) {
  .custom-card1{
    width:15rem; 
  }
  
} */


/* Small	sm	≥576px
Medium	md	≥768px
Large	lg	≥992px
Extra large	xl	≥1200px
Extra extra large	xxl	≥1400px */


@media only screen and (max-width:1200) {
  .custom-card1 {
    width: 25%;

  }
}

@media only screen and (max-width:992px) {
  .custom-card1 {
    width: 30%;

  }
}

@media only screen and (max-width:768px) {
  .custom-card1 {
    width: 100%;

  }

  .reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;

  }

  .reveal.active {
    transform: translateY(0);
    opacity: 1;

  }

  .custom-card2 {
    width: 95%;

  }

  #custom-card {
    width: 95%;
  }

  .custom-deck {
    justify-self: center;
    justify-content: center;
    margin: 0 auto;
  }

  .custom-deck::after {
    content: "";
    width: 15rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    background-color: transparent;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);

  }

  /* hide */


  /* .custom-card1{
    width: 50%;
   
  } */
  #custom img {
    background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
    width: 100%;
    padding: 0;
  }
}

@media only screen and (max-width:576px) {
  .custom-card1 {
    width: 100%;

  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;

  }

  #custom-card {
    width: 100%;
  }

}

.fnav {
  list-style-type: none;
  padding-left: 0;
}

.fnav li {
  padding: 0.2rem 0;
}


/* @media screen and (min-width: 576px) and (max-width: 765px) {
  .custom-card1{
    width:12rem; 
  }
  
} */



/* /* .custom-card1{
    width: 100%;
  } */


@media only screen and (max-width: 576px) {
  .img-height {
    height: 300px;
  }

  .h {
    height: 100vh;
  }

  .fnav li {
    font-size: medium;
  }
}