* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    list-style: none;
}

body {
    font-family: 'Open Sans', sans-serif;

}

:root {
    --primary: #ce3635;
    --secondary: #1B9CFC;
    --light: #34495e;
    --dark: #2c3e50;
    --text: #e7e7e7;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
}

/*** header section start ***/
#header {
    background-color: var(--light);
    text-align: center;
}

.nav_bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu li {
    padding: 20px 10px;
}

.menu li a {
    font-size: 20px;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--text);
    transition: 0.3s ease-in;
}

.menu li a:hover {
    color: var(--primary)
}

.contact_btn {
    padding: 7px 20px;
    text-transform: capitalize;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background: var(--primary);
    color: #e7e7e7;
    cursor: pointer;
}

.resume {
    margin-left: 5px;
}

/*** collapse button ***/
.threeline {
    display: none;
}

.line1, .line2, .line3 {
    width: 25px;
    height: 2px;
    background: #ffffff;
    margin-top: 5px;
    transition: all 0.4s;
} 

.line1 {
    margin-top: 0px;
}

.change .line1 {
    transform: translate(0, 7px) rotate(-45deg);
}

.change .line2 {
  opacity: 0%;
}

.change .line3 {
    transform: translate(0, -7px) rotate(45deg);
}

.logo  {
    display: none;
    
}

.logo h3 {
    color: var(--primary);
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: .1rem;
    text-transform: uppercase;
    margin-top: 7px;
}

/*** collapse side bar design ***/
.collapse-bar {
    width: 100%;
    height: 100vh;
    background-color: rgb(212, 211, 211);
    text-align: center;
    padding: 50px;
    position: fixed;
    right: -100%;
    z-index: 99;
    transition: all .5s;
    margin-top: 60px;
}

.n-menu {
    right: 0;
}

.collapse-bar .cp-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collapse-bar .cp-menu a {
    text-decoration: none;
    font-size: 20px;
    color: gray;
    padding: 10px 40px;
    text-transform: capitalize;
    width: 100%;
    transition: 0.3s;
}

.collapse-bar .cp-menu a:active {
    color: var(--primary);
}

.collapse-bar .cp-menu a:hover {
    color: var(--primary);
}

.resume-btn button {
    padding: 7px 20px;
    text-transform: capitalize;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}

.resume-btn button:hover {
    background-color: var(--primary);
}

/* home section design */
#home {
    background: var(--dark);
    width: 100%;
    padding-bottom: 100px;
}

.home-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    padding: 50px 0px;
    overflow-x: hidden;
    
}

.intro-text {
    margin-top: 100px;
    padding: 0 50px;
}

.intro-text h2 {
    text-transform: capitalize;
    font-size: 40px;
    color: #fff;
}

.typewrite {
    color: var(--primary);
    text-decoration: none;
    font-size: 25px;
}

.home-image img {
    width: 100%;
}

.home-image {
   padding: 50px;
   margin-top: 50px;
}

.intro-text p {
    font-size: 17.2px;
    font-family: "open sans", sans-serif;
    color: #e7e7e7;
    line-height: 1.8rem;
    padding: 15px 0;
}

.dot-img {
    position: absolute;
    left: 47px;
    top: 115px;
    width: 110px;
}

.dot-img1 {
    position: absolute;
    right: 47px;
    top: 115px;
    width: 110px;
}

.dot-img2 {
    position: absolute;
    right: 396px;
    top: 200px;
    width: 28px;
}

.dot-img3 {
    position: absolute;
    right: 97px;
    top: 284px;
    width: 40px;
}

.dot-img4 {
    position: absolute;
    right: 358px;
    top: 458px;
    width: 40px;
    z-index: 999;
}

#cont_btn {
    border: 1px solid #e7e7e7;
    background: none;
    margin-left: 10px;
}

#cont_btn:hover {
    background-color: var(--primary);
}

.tech-img-wrapper {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 2rem;
}

.tech-img {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0px 2px 19px #891f1f;
    transition: all .3s;
}

.tech-img:hover {
    margin-top: -8px;
    cursor: pointer;
}

.tech1 {
    background-image: url("../images/html.png");
}

.tech2 {
    background-image: url("../images/css.png");
}
.tech3 {
    background-image: url("../images/bootstrap.png");
}
.tech4 {
    background-image: url("../images/js.png");
}
.tech5 {
    background-image: url("../images/jquery.png");
}
.tech6 {
    background-image: url("../images/react.png");
}

/*** about section start ***/
#about {
    background-color: var(--light);
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 50px 0;
    overflow-x: hidden;
}

.about-img {
    width: 400px;
    height: 500px;
    background-image: url("../images/about-me.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 50px;
    border-radius: 15px;
}

.about-img:hover {
    box-shadow: 1px 3px 17px rgba(0, 0, 0, 0.7);
}

.about-text {
    width: 50%;
    padding: 50px;
}

.about-text h3 {
    text-align: center;
    text-transform: capitalize;
    padding: 50px 0;
    padding-bottom: 20px;
    font-size: 36px;
    color: var(--primary);
}

.about-text p {
    font-size: 18px;
    color: var(--text);
    font-family: "open sans", sans-serif;
    line-height: 1.8rem;
    text-align: center;
}

/*** portfolio section start ***/
#portfolio {
    background-color: var(--dark);
}

.portfolio-wrapper h3 {
    text-align: center;
    text-transform: capitalize;
    padding: 50px 0;
    padding-bottom: 20px;
    font-size: 36px;
    color: var(--primary);
}

.portfolio-wrapper {
    overflow-x: hidden;
}

.portfolio_s_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.portfolio_s_row .portfolio_s {
    width: 400px;
    height: 400px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0;
    border: 1px solid gray;
    border-top: 12px solid gray;
    border-radius: 5px;
}

.sbox1 {
    background-image: url("../images/porfolio/portfolio1.png");
}
.sbox2 {
    background-image: url("../images/porfolio/portfolio2.png");
}
.sbox3 {
    background-image: url("../images/porfolio/portfolio3.jpg");
}
.sbox4 {
    background-image: url("../images/porfolio/portfolio4.jpg");
}
.sbox5 {
    background-image: url("../images/porfolio/portfolio5.jpg");
}
.sbox6 {
    background-image: url("../images/porfolio/portfolio6.jpg");
}

.view_more {
   text-align: center; 
   padding: 20px 0px 50px 0px;
}

.view_more button {
    padding: 15px 20px;
    font-size: 18px;
}

/*** service section start ***/
#service {
    background-color: var(--light);
    padding-bottom: 80px;
}

#service h3 {
    text-align: center;
    text-transform: capitalize;
    padding: 50px 0;
    padding-bottom: 20px;
    font-size: 36px;
    color: var(--primary);
}

.service_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;  
    overflow-x: hidden;
}

.card-body {
    background: var(--dark);
    color: var(--text);
}

.single_card {
    padding: 5px;
}

/*** experience section start ***/
#experience {
    background: var(--dark);
    padding-bottom: 80px;
    overflow-x: hidden;
}

#experience  h3 {
    text-align: center;
    text-transform: capitalize;
    padding: 50px 0;
    padding-bottom: 20px;
    font-size: 36px;
    color: var(--primary);
}

.ex_wrapper {
    margin: 0 150px;
    border: 1px solid gray;
    padding-left: 0px;
    box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.08);
}

.ex_tab {
    padding: 20px 0;
}

.ex_tab strong {
    padding: 20px;
    border: 1px solid gray;
    border-left: none;
    font-size: 18px;
    font-family: "open sans", sans-serif; 
    color: gray;
    cursor: pointer;
}

.ex_text {
    background-color: var(--light);
}

.ex_text > div {
    padding: 5px 50px 50px 30px;
}

.ex_text .ex_title {
    padding: 30px 0px 40px;
}

.ex_text .ex_title h4 {
    font-size: 19px;
    font-family: "open sans", sans-serif; 
    color: gray;
    line-height: 7.2px;
}
.ex_text .ex_title h4 a {
    font-size: 19px;
    cursor: pointer;
    color: var(--primary);
}

.ex_text .ex_title h4 a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.ex_text .ex_title span {
    color: var(--primary);
    font-weight: bold;
    font-size: 15px;
}

.ex_text div li {
    font-size: 18px;
    color: var(--text);
}

.ex_text .div2, .div3 {
     display: none; 
}

/*** contact section start ***/
.contact {
    padding: 0px 0px 90px;
    background-color: var(--light);
}

.section-title .title {
    text-align: center;
    text-transform: capitalize;
    padding: 50px 0;
    padding-bottom: 20px;
    font-size: 36px;
    color: var(--primary);
}

.contact .info-box {
    background: var(--dark);
    margin-bottom: 30px;
    padding: 30px 30px 22px;
    position: relative;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.08);
}

.right .content p {
    color: var(--text);
}

.contact .info-box .left {
    margin-bottom: 25px;
}

.contact .info-box .left .icon {
    font-size: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    display: inline-block;
    position: relative;
}

.contact .info-box .left .icon::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed #0250c5;
    animation: shapeani2 10s linear infinite;
}

.contact .info-box .left .icon i {
    background-image: linear-gradient(55deg, #0250c5 0%, #d43f8d 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact .info-box .right {
    text-align: center;
}

.contact .info-box .right .content p {
    margin-bottom: 0px;
}

.contact .info-box:hover .left .icon::after {
    border: 1px dashed #d43f8d;
}

.contact .contact-form-wrapper {
    background: var(--dark);
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.08);
    padding: 40px 25px 40px;
    transition: 0.3s ease-in;
}

.contact .contact-form-wrapper input {
    margin-bottom: 15px;
    width: 100%;
    padding: 12px 10px;
    background-color: var(--text);
}

.contact .contact-form-wrapper #contact-form textarea {
    margin-bottom: 9px;
    width: 100%;
    height: 150px;
    background-color: var(--text);
    padding: 5px 10px;
}

.contact .contact-form-wrapper #contact-form .mybtn1 {
    margin-top: 7px;
}

.contact .google_map_wrapper {
    padding: 0px !important;
    border: 8px solid var(--dark);
}

.contact .google_map_wrapper iframe {
    width: 100% !important;
    height: 400px !important;
    margin: 0px;
    padding: 0px;
}

/*** footer section start ***/
.footer {
    padding: 90px 0px 0px;
    background: var(--light);
}

.footer .footer-info-area {
    text-align: center;
}

.footer .footer-info-area .text p {
    color: var(--text);
    font-size: 18px;
}

.footer .fotter-social-links {
    text-align: center;
    margin-top: 30px;
}

.footer .fotter-social-links ul {
    padding-left: 0px;
    margin-left: 0px;
}

.footer .fotter-social-links ul li {
    display: inline-block;
}

.footer .fotter-social-links ul li a {
    font-size: 25px;
    width: 45px;
    height: 45px;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    margin: 0px 5px;
    color: var(--text);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease-in;
}

.footer .fotter-social-links ul li a.facebook {
    background: #0069f7;
    border-color: #0069f7;
}

.footer .fotter-social-links ul li a.twitter {
    background: #00c6f7;
    border-color: #00c6f7;
}

.footer .fotter-social-links ul li a.linkedin {
    background: #007bb5;
    border-color: #007bb5;
}

.footer .fotter-social-links ul li a.dribbble {
    background: #f7007a;
    border-color: #f7007a;
}

.footer .fotter-social-links ul li a.google-plus {
    background: #d1062c;
    border-color: #d1062c;
}

.footer .copy-bg {
    padding: 20px 0px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-top: 60px;
    background-color: var(--dark);
}

.footer .copy-bg p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0px;
    color: var(--text);
}

.footer .copy-bg a {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0px;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s ease-in;
}

.footer .copy-bg a:hover {
    color: var(--primary);
}