
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0px;
}
p{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    margin: 0px;
    font-size: 16px;
    font-weight: 400;
    color: #10285D;
}
img{
    width: 100%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    position: relative;
    height: 70px;
}

.logo{
    font-weight: 900;
}
.logo a{
    text-decoration: none;
    font-size: 36px;
    font-weight: 700;
    color: #8490ff;
}
nav ul{
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
}
nav ul li{
    list-style-type: none;
}
nav ul li.active a{
    color: #8490ff;
}
nav ul li a:hover{
    color: #8490ff;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
nav ul li a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}
.menu-icon{
    display: none;
}
.menu-icon i{
    color: #8490ff;
    font-size: 30px;
}
@media (max-width:600px) {
    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        text-align: center;
        background: #8490ff;
        gap: 0;
        overflow: hidden;
    }
    nav ul li{
        padding: 15px;
    }
    nav ul li a{
        color: #ffffff;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
    #menuList{
        transition: all 0.5s;
    }
}

/*----------------*/

.hero{
    background-color: #f9f9ff;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 16px 20px -12px;
}
.hero .hero-info .hero-img {
    height: 130px;
    width: 130px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.hero .hero-info .hero-img img{
    border-radius: 50%;
}
.hero .hero-info span{
    font-weight: 400;
    font-size: 28px;
    margin-top: 30px;
}
.hero .hero-info h1{
    font-size: 48px;
    font-weight: 500;
    margin: 15px 0 20px 0;
}
.hero .hero-info p{
    font-size: 20px;
}
.hero .hero-info p img{
    width: 20px;
}
.hero .hero-info p a{
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: #8490ff;
    text-transform: uppercase;
}

/*====================*/

.about{
    padding: 80px 0;
}
.about .about-me {
    display: flex;
    height: 100%;
    justify-content: center;
    flex-direction: column;
}
.about .about-me h3 {
    font-size: 34px;
    margin-bottom: 16px;
}
.about .about-me p{
    width: 85%;
}
.skill li{
    margin: 20px 0;
}
.bar{
    background: #ffffff;
    display: block;
    height: 20px;
    cursor: pointer;
    overflow: hidden;
}
.skill li h4{
    margin-bottom: 10px;
    font-size: 18px;
}
.bar span{
    height: 20px;
    float: left;
    background-color: #8490ff;
    border-radius: 20px;
}
.html{
    width: 95%;
    animation: html 3s;
}
.css{
    width: 90%;
    animation: css 3s;
}

.php{
    width: 50%;
    animation: php 3s;
}
.javascript{
    width:70%;
    animation: javascript 3s;
}

@keyframes html{
    0%{
        width: 0%;
    }
    100%{
        width: 95%;
    }
}

@keyframes css{
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}

@keyframes php{
    0%{
        width: 0%;
    }
    100%{
        width: 50%;
    }
}

@keyframes javascript{
    0%{
        width: 0%;
    }
    100%{
        width: 70%;
    }
}

/*============*/


.service .service-titel{
    margin-bottom: 60px;
}
.service .service-titel h2{
    font-size: 36px;
    line-height: 50px;
}
.service .service-style {
    background-color: #f9f9ff;
    padding: 40px 25px;
    border-radius: 10px;
    cursor: pointer;
}

.service .service-style:hover{
    background-color: #ffffff;
    transition: all 0.4s ease 0s;
    box-shadow: 0px 15px 30px rgba(77, 87, 222, 0.3);
}

.service .service-style img{
    width: 25%;
}

.service .service-style h5{
    font-size: 20px;
    margin: 10px 0 20px 0;
    text-transform: uppercase;
}

/*================*/

.portfolio{
    padding: 80px 0;
}
.portfolio .portfolio-titel{
    margin-bottom: 50px;
}
.portfolio .portfolio-titel h2{
    font-size: 36px;
    line-height: 50px;
    text-align: center;
}
.button-group{
  text-align: center;
  margin-bottom: 40px;
}
.button-group .button{
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background-color: #8490ff;
  color: #ffffff;
  font-style: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s;
  border: none;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}
.button-group .button.active{
  background-color: var(--primary-clr);
  color: var(--body-clr);
}
.button-group .button:hover{
  background-color: var(--primary-clr);
  color: var(--body-clr);
}
div.gallery{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
div.gallery .item{
  position: relative;
  margin: 10px;
  width: calc(33.33% - 20px);
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
}
.item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}
div.gallery .item:hover img{
  transform: scale(1.15);
}
.item .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8490ff;
  color: var(--body-clr);
  padding: 15px;
  overflow: hidden;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}
.item:hover .overlay{
  opacity: .8;
}
.item .overlay a{
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  font-weight: 700;
}
.item .overlay a:hover{
  color: #ffffff;
}

@media(max-width: 1024px){
  div.gallery .item{
    width: calc(50% - 8px);
  }
}

@media(max-width: 600px){
  div.gallery .item{
    width: 100%;
    margin: 4px 0px;
  }
}


/*======================*/

.testimonials .testimonials-text{
    margin-bottom: 80px;
}

.testimonials .testimonials-text h2{
    font-size: 36px;
    line-height: 50px;
    text-align: center;
}

.testimonials-info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 32px 32px 32px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-info::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 75%;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: #8490ff;
  z-index: -1;
  transition: all 1s cubic-bezier(.25,.8,.25,1);
}

.testimonials-info span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
  font-size: 48px;
  color: #ffffff;
}

.testimonials-info h4 {
  margin-top: 64px;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  color: #8490ff;
  transition: 0.3s;
}

.testimonials-info p {
  margin-bottom: 32px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.testimonials-info img {
  margin-bottom: 16px;
  max-width: 100px;
  border-radius: 100%;
  border: 2px solid #8490ff;;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.testimonials-info h5 {
  font-size: 20px;
  font-weight: 600;
  color: #8490ff;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.testimonials-info h6 {
  font-size: 16px;
  font-weight: 400;
  color: color: #10285D;;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.testimonials-info:hover::before {
  width: 400%;
}

.testimonials-info:hover :is(h4, h5) {
  color: #ffffff;
}

.testimonials-info:hover :is(p, h6) {
  color: #ffffff;
}

.testimonials-info:hover img {
  border-color: #ffffff;
}

/*=======================*/

footer{
    padding: 40px 0;
}
.wrapper {
  /*display: inline-flex;*/
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.wrapper .icon {
  margin: 0 15px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  color: #8490ff;
  background: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin-bottom: 30px;
}
.wrapper .icon span i {
  line-height: 60px;
  font-size: 25px;
}
.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  background: #fff;
  color: #fff;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
  top: -70px;
  opacity: 1;
  pointer-events: auto;
}
.icon .tooltip:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: inherit;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
}
.wrapper .icon:hover span {
  color: #fff;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}
.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip {
  background: #8490ff;
}
.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip {
  background: #8490ff;
}
.wrapper .github:hover span,
.wrapper .github:hover .tooltip {
  background: #8490ff;
}
.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip {
  background: #8490ff;
}
.go_to_top{
    position: absolute;
    top: 10px;
    right: 0;
    height: 40px;
    width: 40px;
    background-color: #8490ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.go_to_top a i{
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

/*===================*/