@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
/* font-family: 'Raleway', sans-serif; */
@import url("https://fonts.googleapis.com/css2?family=Dosis&display=swap");
/* font-family: 'Dosis', sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/* font-family: 'Roboto', sans-serif; */

:root{
    --mainColor:#ff724c;
}

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

.bg-mainColor{
    background-color: var(--mainColor);
}

.text-mainColor{
    color: var(--mainColor);
}

.border-mainColor{
    border-color: var(--mainColor) !important;
}

h1, h2, h3{
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
}

h1{
    font-size: 60px;
}

h2{
    font-size: 48px;
}

@media(min-width: 1400px){
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl{
        max-width: 1140px;
    }
}

body{
    overflow: hidden;
}

.loading{
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: var(--mainColor) var(--mainColor) transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after,
  .loader::before {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent var(--mainColor) var(--mainColor);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
  }
  .loader::before {
    width: 32px;
    height: 32px;
    border-color: var(--mainColor) var(--mainColor) transparent transparent;
    animation: rotation 1.5s linear infinite;
  }
      
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 
  @keyframes rotationBack {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(-360deg);
    }
  }
      

.navbar{
    transition: 0.5s background-color;
    -webkit-transition: 0.5s background-color;
    -moz-transition: 0.5s background-color;
    -ms-transition: 0.5s background-color;
    -o-transition: 0.5s background-color;
}

.navbar .nav-link::after{
    content: '';
    background-color: var(--mainColor);
    width: 0;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.5s;
}

.navbar .nav-link.active::after{
    width: 100%;
}

.navbar .nav-link:hover::after{
    width: 100%;
}

.flip i{
    background-color: white;
    color: black;
    transition: 0.5s;
}

.flip:hover i{
    transform: rotate(360deg);
    background-color: black;
    color: white;
}

header {
    background-image: url(../img/introbg5.png);
    background-size: cover;
    background-position-y: -75px;
    background-repeat: no-repeat;
}

header p, header span{
    font-family: 'Raleway', sans-serif;
    font-size: 23px;
}

header .icons i{
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    margin-inline: 6px;
    transition: 0.5s;
}

header .icons i:hover{
    transform: rotate(360deg);
    cursor: pointer;
}

header .icons i:nth-of-type(1){
    color: #3b5999;
    border-color: #3b5999;
}
header .icons i:nth-of-type(1):hover{
    color: white;
    border-color: none;
    background-color: #3b5999;
}

header .icons i:nth-of-type(2){
    color: #ea4c89;
    border-color: #ea4c89;
}
header .icons i:nth-of-type(2):hover{
    color: white;
    border-color: none;
    background-color: #ea4c89;
}

header .icons i:nth-of-type(3){
    color: #1769ff;
    border-color: #1769ff;
}
header .icons i:nth-of-type(3):hover{
    color: white;
    border-color: none;
    background-color: #1769ff;
}

header .icons i:nth-of-type(4){
    color: #0077b5;
    border-color: #0077b5;
}
header .icons i:nth-of-type(4):hover{
    color: white;
    border-color: none;
    background-color: #0077b5;
}

header .icons i:nth-of-type(5){
    color: #dd4b39;
    border-color: #dd4b39;
}

header .icons i:nth-of-type(5):hover{
    color: white;
    border-color: none;
    background-color: #dd4b39;
}

.header-content p{
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #3333;
    animation: typing 4s infinite alternate-reverse steps(28) both, blink infinite 0.7s;
    -webkit-animation: typing 4s infinite alternate-reverse steps(28) both, blink infinite 0.7s;
}

@keyframes typing {
    form{
        width: 0;
    }
    to{
        width: 332px;
    }
}

@keyframes blink {
    form{
        border-color: #333333bd;
    }
    to{
        border-color: #33333300;
    }
}

.about > .container{
    position: absolute;
    left :50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, );
    -moz-transform: translate(-50%, );
    -ms-transform: translate(-50%, );
    -o-transform: translate(-50%, );
}

.about-records, .about-content i, .contact form i{
    background-color: #4e4e4e;
}

.about-records p{
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.about-btn:hover i{
    color: var(--mainColor) !important;
}

.about .container > .row{
    width: 90%;
    margin: auto;
}

.services{
    margin-top: 170px;
}

.service{
    padding: 30px;
    position: relative;
}

.service h3{
    padding-block: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

.title h2{
    color: rgb(59, 59, 59);
}

.service p{
    font-size: 14px;
    color: #818181;
}

.services .service::after{
    content: '';
    position: absolute;
    background-color: #f3f3f3;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 0;
    z-index: -1;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.services .service:hover::after{
    height: 100%;
}

.portfolio{
    background-color: #f3f3f3;
    padding-block: 110px;
}

.portfolio .nav-link{
    border: solid 1px !important;
    font-size: 13px;
    color: rgb(243, 243, 243);
}

.portfolio .nav-link{
    color: rgb(59, 59, 59);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.portfolio .nav-link.active{
    background-color: var(--mainColor);
    border: none;
    color: white;
}

.portfolio .project{
    margin-block: 5px;
}

.project-title h3{
    font-size: 18px;
    font-weight: 700;
}

.portfolio .overlay{
    background-color: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.project:hover .overlay{
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
}

.portfolio .project .overlay i{
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transition: 0.5s 0.1s;
    -webkit-transition: 0.5s 0.1s;
    -moz-transition: 0.5s 0.1s;
    -ms-transition: 0.5s 0.1s;
    -o-transition: 0.5s 0.1s;
    cursor: pointer;
}

.portfolio .project:hover .overlay i{
    transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
    -moz-transform: scale(1) rotate(360deg);
    -ms-transform: scale(1) rotate(360deg);
    -o-transform: scale(1) rotate(360deg);
}

.portfolio .project .overlay i:hover{
    border : 1px solid white;
    background-color: transparent;
    color: var(--mainColor) !important;
}

.portfolio .project .project-info{
    bottom: 25px;
    opacity: 0;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.portfolio .project:hover .project-info{
    bottom: 0;
    opacity: 1;
}

.resume, .cv, .clients, .contact, .services{
    padding-block: 110px;
}

.resume .head i{
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.resume .head::before, .resume .item:not(:last-of-type):before{
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top :25px;
    left :19px;
    background-color: black;
    z-index: -1;
}

.resume .item:not(.after-none):after{
    content: '';
    width: 11px;
    height: 11px;
    position: absolute;
    border: 1px solid var(--mainColor);
    border-radius: 100%;
    top:25px;
    left: 14px;
    background-color: white;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.resume .head:hover i{
    background-color: #f3f3f3;
    color: var(--mainColor) !important;
}

.resume .item:hover:after{
    background-color: var(--mainColor);
}

.bar{
    width: 90%;
    height: 5px;
    background-color: #4e4e4e;
    position: relative;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.bar:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 80%;
    background-color: var(--mainColor);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.resume .item[percentage="80%"] .bar-head{
    width: 72%;
}

.resume .item[percentage="70%"] .bar:after{
    width: 70%;
}

.resume .item[percentage="55%"] .bar:after{
    width: 55%;
}

.resume .item[percentage="70%"] .bar-head{
    width: 63%;
}

.resume .item[percentage="55%"] .bar-head{
    width: 50%;
}


.cv{
    background:linear-gradient(rgba(59, 59, 59, 0.75), rgba(59, 59, 59, 0.75)), url(../img/brandbg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.client h3{
    font-family: 'Roboto', sans-serif;
}

.client p ,.qoute{
    color: #5b5b5b;
}

.qoute i{
    color: black;
    font-size: 20px;
}

.client .qoute:hover, .qoute:hover i{
    background-color: #5b5b5b;
    color: #f3f3f3;
}

.carousel-indicators{
    bottom: -100px;
}

.carousel-indicators [data-bs-target]{
    width: 12px;
    height: 12px;
    border: 1px solid var(--mainColor);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.carousel-indicators .active{
    background-color: var(--mainColor);
}

.contact {
    background: linear-gradient(rgba(255, 114, 76, 0.85), rgba(255, 114, 76, 0.85)), url(../img/contactbg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-container{
    width: 60%;
    margin: auto;
}

.w-65{
    width: 65%;
}

.form-control:focus{
    border: 1px solid white !important;
    box-shadow: none;
}

.form-control::placeholder{
    color: white;
}

.contact form button{
    font-size: 13px;
}

.contact-methods .container{
    background-color: #282828;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    left: 50%;
    top: -55px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%,);
    -moz-transform: translate(-50%,);
    -ms-transform: translate(-50%,);
    -o-transform: translate(-50%,);
}

.contact-methods i{
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transition: 0.5s;
}

.contact-methods i:hover{
    cursor: pointer;
    background-color: var(--mainColor) !important;
    color: white !important;
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
}

.footer p{
    font-family: 'Raleway', sans-serif;
    color: rgb(33, 37, 41);
    font-weight: 500;
}

.back-to-top{
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}
