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

.primary-color {
    background-color: #1f1f1f;
    color: #999999;
}

body {
    background: #FCE97F;
    animation: fadeBackground 10s 4s infinite;
    animation-fill-mode: forwards;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
@keyframes fadeBackground {
    from { background-color: #1f1f1f; }
    to { background-color: #101011; }
}

/* ---frame--- */
.frame {
    visibility: hidden;
}

/* ---sec-1-cards-- */

.section-1 {
    position: fixed;
    left: 0;
    top: 4rem;
}

/* section-2-intro-and-other */
/* .section2{
    position: relative;
    left: 320px;
} */
/* serction-3-navbar */
.section3 {
    position: fixed;
    top: 11.5rem;
    right: 15px;
}

/* ---card--- */
.card {
    padding: 15px;
    width: 350px;
    background: #222;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7);
    /* box-shadow: 0 0 15px #00dcff; */
}

.cover-photo {
    position: relative;
    background: url(images/background\ img\ 0102.png);
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 5px 5px 0 0;
}

.profile {
    position: absolute;
    width: 120px;
    bottom: -12px;
    left: 15px;
    border-radius: 50%;
    border: 2px solid #222;
    background: #222;
    padding: 5px;
}

.profile-name {
    font-size: 20px;
    margin: -25px 0 0 120px;
    color: #ffffff;
}

.about {
    margin-top: 30px;
    line-height: 1.6;
    color: #ffffff;
}

.icons {
    width: 180px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 18px;
}
.icons-animation>i{
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
    padding: 5px;
}
.icons-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    transform: scale(.9);
    z-index: -1;
}
.icons-animation:hover {
    color: #00dcff;
    box-shadow: 0 0 5px #00dcff;
    text-shadow: 0 0 5px #00dcff;
}
/* .section2{
    margin-left: 25%;
} */
.subtitle {
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid #565656;
    padding: 9px 20px;
    border-radius: 30px;
    /* margin-bottom: 53px; */
    margin: 60px 0px;
    display: inline-flex;
    align-items: center;
}

.subtitle>i {
    margin-bottom: 1px;
    font-size: 16px;
    margin-right: 15px;
}
.subtitle:hover>i{
    color:#00dcff;
    transition: 1.5s;
    /* box-shadow: 0 0 5px #00dcff; */
    text-shadow: 0 0 5px #00dcff;
}

.subtitle>span {
    letter-spacing: 4px;
}
.subtitle:hover>span {
    letter-spacing: 4px;
    color:#00dcff;
    transition: 1s;
}

.intro>h1 {
    font-size: 78px;
    letter-spacing: -0.2px;
    line-height: 90px;
    margin-bottom: 43px;
    font-weight: 300;
}
.intro-span{
    /* color:#00ffcf; */
    /* color:#19c730; */
    color: #00dcff;
}

.intro>p {
    font-size: 1.25rem;
    font-weight: 300;
}

.avlogo {
    width: 50px;
    position: relative;
    right: 95px;
    bottom: -2px;
    opacity: 0.6;
}

.avlogo:hover {
    opacity: 1.5;
}

.rotate {
    animation: rotation 6s infinite linear;

}

.round-text {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


/* .about-main {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
} */

.about {
    margin-top: 3rem !important;
}

.resume-main {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
}

.resume-items {
    position: relative;
    padding-left: 74px;
    padding-bottom: 68px;
}

.resume-data>h3 {
    font-size: 50px;
}

.date::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    /* background: #656565; */
    border-radius: 50%;
    background: #00dcff;
    left: -6px;
    top: 7px;
    transition: .3s;

}

.date::after {
    content: '';
    background: #333333;
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 10px;
    z-index: -1;
}

/* services */
.service-item {
    border: 1px solid #4f4f4f;
    border-radius: 20px;
    transition: .3s;
    position: relative;
    padding: 44px 48px 41px 48px;
    margin-bottom: 10px;
    margin-right: 50px;
}

.service-text>h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 8px;
    color: #fff;
}
/* .service-text:hover>h2 {
    
} */

.service-text>i {
    position: absolute;
    font-size: 30px;
    color: #999999;
    top: 45px;
    right: 50px;
}

.service-item:hover .service-text>h2{
    color: #00dcff;
}
.service-item:hover .service-text>i{
    color: #00dcff;
}
.service-item>p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 30px;
}
.service-item:hover>p {
    color: #ffffff;
}
.service-item:hover>span {
    color: #ffffff;
}

.projects {
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
}

/* ---skills--- */

.skill-inner {
    border: 2px solid #565656;
    border-radius: 85px;
    padding: 54px 0 48px 0;
    /* margin-bottom: 20px; */
    transition: .3s;
    text-align: center;
    margin: 10px;
}
.skill-inner:hover{
    color: #00dcff;
    box-shadow: 0 0 5px #00dcff;
    text-shadow: 0 0 5px #00dcff;
}

.skill-inner>img {
    margin: 30px;
    /* width: 50%; */
    width: 75px;
    transform: rotateY(360deg);
}

.skill-inner>h1 {
    font-size: 30px;
    color: #00dcff;
    font-weight: 300;
    margin: 0;
}

.skill>p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

/* contact */
.needs-validation {
    margin-right: 50px;
}

#preloader {
    background: #000 url(images/Anuj\ Vashist\ ....gif) no-repeat center center;
    background-size: 20%;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
}

.ok {
    width: 100%;
    height: 380px;
    border: 1px solid #565656;
    border-radius: 20px;
    position: relative;
}

.ok:hover {
    transform: scale(1.1);
    transition: all 0.8s;
    border: 1px solid;
    border-color: #00d084;
    border-radius: 20px;

}

.portfolio-main {
    /* margin-right: 50px; */
    margin: 30px 50px 30px 0;
}

.portfolio_img {
    overflow: hidden;

}




/* ---section 3--- */
.list-style {
    list-style: none;
    padding-left: 0rem;
}

.nav-link {
    color: aliceblue
}
.nav-link:hover {
    color: #00dcff;
    box-shadow: 0 0 5px #00dcff;
    text-shadow: 0 0 5px #00dcff;
}

/* ---data-margin--- */
.data-margin{
    margin-bottom: 50px !important;
}




