* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
.body {
    background-color: #080808;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* navigation bar */
.navbar-inverse{
    background-color: black !important;
    border-color: none;
    font-size: 20px;
    font-weight: 500;
    /* height: 8vh !important; */
    padding: 10px !important;
}
.logo {
    width: 50px;
    height: 50px;
    margin-top: -20%;
}
.container-fluid{
    width: 80%;
    margin: auto;
}
.navbar-collapse ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.5s;
}
.navbar-collapse ul li a:hover::after {
    width: 100%;
}

.navbar-collapse ul li a:hover {
    text-decoration: none !important;
    color: #fff !important;
} 
.navbar-header{
    background-color: black !important;
}
.navbar-nav{
    background-color: black !important;
}
@media only screen and (max-width: 770px){
    .navbar-collapse ul li a::after{
        display: none;
    }
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(./ban1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.container {
    padding: 10px 10%;
}

/* home-section */
.home {
    margin-top: 10%;
}

#multiple-text {
    color: #ff004f;
}

.home-content h3 {
    font-size: 30px;
    font-weight: 700;
}

.home-content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 15px;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: .2rem solid #ff004f;
    border-radius: 50%;
    font-size: 2.5rem;
    color: #ff004f;
    margin: 3rem 1.5rem 3rem 0;
    box-shadow: 0 0 1rem #ff004f;
}

.social-media a:hover {
    background: #ff004f;
    color: #323946;
    text-decoration: none;
}

.cv a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff004f;
    border-radius: 100px;
    box-shadow: 0 0 1rem #ff004f;
    font-size: 20px;
    color: #323946;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.cv a:hover {
    box-shadow: none;
    text-decoration: none;
    color: #323946;
}

/* about section */
#about {
    padding: 80px 0;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 30%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-button {
    margin-right: 40px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background-color: black;
    color: #ababab;
}

.tab-button.active {
    color: #fff;
    border-bottom: 3px solid #ff004f;
}

.tab-content {
    border: none;
    padding: 20px;
    position: relative;
    /* Needed for animation */
    overflow: hidden;
    /*Needed for animation*/
}

.tab-panel {
    display: none;
}

.tab-panel ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-panel ul li span {
    color: #b54769;
    font-size: 17px;
}

.tab-panel.active {
    display: block;
    animation: fade-in 0.3s ease-in-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* services section */
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
    font-weight: 500;
    display: inline-block;
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
    cursor: pointer;
}

/* portfolio section */
#portfolio{
    padding: 50px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    height: 60vh;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.layer a:hover{
    text-decoration: none;
    color: #ff004f;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.see-btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.see-btn:hover{
    background-color: #ff004f;
    color: #fff;
    text-decoration: none;
}

/* contact section */
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.cv-btn{
    display: inline-block;
    background: #ff004f;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}
.cv-btn:hover{
    box-shadow: 0 0 1rem #ff004f;
    color: #262626;
    text-decoration: none;
}
.submit-btn{
    display: inline-block;
    background: #ff004f;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}
.submit-btn:hover{
    box-shadow: 0 0 1rem #ff004f;
    color: #262626;
    text-decoration: none;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
/* footer */
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 15px;
}
.copyright p{
    font-size: 15px;
}
.copyright p i{
    color: #ff004f;
}

/* css for small screen */
@media only screen and (max-width: 900px){
    #header{
        background-image: url(./small-screen.png);
    }
}
@media only screen and (max-width: 600px){
    .home-content{
        margin-top: 50%;
    }
    .home-content h3{
        font-size: 16px;
    }
    .home-content h1{
        font-size: 25px;
    }
    .home-content p{
        font-size: 10px;
    }
    .social-media a{
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    .cv a{
        font-size: 12px;
        padding: 7px 15px;
    }
    .sub-title{
        font-size: 40px;
    }
    .row{
        padding: 20px;
    }
    .about-col-1{
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    .about-col-2{
        flex-basis: 100%;
        font-size: 14px;
    }
    .tab-button{
        margin-right: 10px;
        font-size: 16px;
    }
    .contact-left{
        flex-basis: 100%;
    }
    .contact-right{
        flex-basis: 100%;
    }
    .copyright p{
        font-size: 12px;
    }
}

#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}