@import url('https://fonts.googleapis.com/css2?family=Libertinus+Keyboard&display=swap');

:root {
    --bg-color: rgb(31, 30, 30);
    --fg-color: rgb(255, 255, 255);
    --theme-color: rgb(3, 234, 3);
    --brand-font: "Libertinus Keyboard", system-ui
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--fg-color);
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/image.png);
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: var(--theme-color);
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    border: 5px solid black;
    position: fixed;
    overflow: hidden;
    box-shadow: 5px 9px 8px rgba(38, 38, 38, 0.2);
    z-index: 1000;
}
.spacer-w40 {
    height: 40px;
}
.logo {
    font-size: 2rem;
    color: black;
    color: rgb(2, 124, 0);
    transition: all 500ms ease-out;
}
.logo:hover {
    transform: translateY(-10px);
}
.logo span {
    font-size: 2rem;
    color: black;
    color: rgb(214, 0, 100);
}
.first-letter {
    font-size: 2rem;
    color: rgb(2, 124, 0);
    font-family: "Libertinus Keyboard"
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 17px;
    position: relative;
    display: inline-block;
    font-weight: bold;
}


nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: rgb(255, 0, 128);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.3s;
}
nav ul li a:hover::after {
    width: 100%;
}
.header-text {
    background-color: var(--theme-color);
    margin-top: 5%;
    font-size: 20px;
    color: black;
    padding: 20px;
    border: 3px solid black;
    border-radius: 8px;
    width: 68rem;
    text-align: center;
}
.header-text h1 {
    font-size: 40px;
    margin-top: 10px;
    text-align: center;
}
.header-text h1 span {
    color: rgb(0, 128, 0);
}
/* 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: 130%;
    border-radius: 15px;
}
.about-col-2 {
    flex-basis: 60%;
}
.about-col-2 .subtitle {
    color: white;
}
.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}
.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after {
    width: 50%;
}
.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span {
    color: #ff004f;
    font-size: 14px;
}
.tab-contents a {
    color: #a50034;
    text-decoration: none;
}
.tab-contents {
    display: none;
}
.tab-contents.active-tab {
    display: block;
}
/* 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 i {
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list a {
    text-decoration: none;
    color: var(--fg-color);
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    border: 1px solid white;
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
}
.services-list div:hover {
    background: #ff004f;
    transform: translateY(-10px)
}
/* 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-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background, 0.5s, transform 0.5s;
}
.work-list div:hover {
    background: #ff004f;
    transform: translateY(-10px)
}
.work-list a {
    text-decoration: none;
    color: var(--fg-color);
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    border: 1px solid white;
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
}
.work-list i {
    margin-top: 30px;
    font-size: 50px;
    margin-bottom: 30px;
}
/* Contact Section */
.contact-left {
    flex-basis: 35%;
}
.contact-right {
    flex-basis: 60%;
}
.contact-left p {
    margin-top: 1px;
}
.contact-left h1 {
    margin-bottom: 5px;
}
.contact-left p i {
    margin-top: 30px;
    margin-right: 15px;
    font-size: 25px;
}
.btn {
    background-color: #ff004f;
    padding: 14px 44px 14px 44px;
    border: none;
    border-radius: 5px;
    color: white;
    transition: all 500ms ease-out;
}
.btn:hover {
    background-color: #a50034;
    padding: 14px 44px 14px 44px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
.contact-right form {
    width: 100%;
}
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px;
    color: #fff;
    font-size: 15px;
    border-radius: 6px;
}
form .btn {
    padding: 14px 60px;
    font-size: 15px;
    margin-top: 20px;
}
form .btn:hover {
    padding: 14px 60px;
    font-size: 15px;
    margin-top: 20px;
}
.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
}

/* Mobile Friendly */
nav .fa-solid {
    display: none;
}
@media only screen and (max-width: 600px) {
    #header {
        background-image: url("images/image - phone.png");
        width: 380px;
        height: 50vh;
    }
    .logo {
        font-size: 1.5rem;
    }
    .logo span {
        font-size: 1.5rem;
    }
    .header-text {
        margin-top: 20px;
        font-size: 15px;
        width: 18rem;
    }
    .header-text h1 {
        font-size: 30px;
    }
    nav {
       width: 18rem; 
    } 
    nav .fa-solid {
        display: block;
        font-size: 22px;
    }
    nav ul {
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li {
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .subtitle {
        font-size: 30px;
    }
    .about-col-1 {
        flex-basis: 100%;
    }
    .about-col-1 img {
        width: 100%;
        height: 100%;
    }
    .about-col-1 {
        margin-bottom: 30px;
    }
    .about-col-2 {
        font-size: 14px;
    }
    .tab-links {
        font-size: 16px;
        margin-right: 35px;
    }
    .contact-left, .contact-right {
        flex-basis: 100%;
    }
    .copyright {
        font-size: 14px;
    }
}
/* Other Styles */
.img {
    transition: all 500ms ease-out;
}
.img:hover {
    transform: translateY(-30px);
}