@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    opacity: 0;
    transition: opacity 3s;
}

.hero {
    width: 100%;
    height: 100vh;

}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 200px;
}

.nav .link ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.nav .link ul a {
    text-decoration: none;
    color: #2a2a2a;
    font-weight: 600;
    transition: all 2000ms ease-in-out;
}

ul a .active {
    color: #f4637b;
}

.nav .link ul a:hover {
    color: #f4637b;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-top: 70px;

}

.main .men {

    width: 400px;
    transition: all 2000ms ease;
    cursor: pointer;
}

.main .men:hover{
    transform: scale(1.3);
}

.main .main-detil {
    text-align: center;
    color: #2a2a2a;
}

.main .main-detil h1 {
    font-size: 50px;

}

.main .main-detil h4 {
    font-size: 30px;
    margin-bottom: 20px;
}

.main .btn button {
    padding: 8px 20px;
    background: transparent;
    border-radius: 30px;
    border: 1px solid #2a2a2a;
    margin-right: 1rem;
    margin-bottom: 30px;
    cursor: pointer;
}

.main .btn .btn-2 {
    padding: 8px 30px;
    background: #2a2a2a;
    color: #fff;
    border: none;
    outline: none;
    transition: all 2000ms ease-in-out;

}

.main .btn .btn-2:hover {
    background: #f4637b;
    transform: scale(1.1);
}

.social i {
    color: #2a2a2a;
    font-size: 40px;
    margin: 0px 14px;
    transition: all 2000ms ease-in-out;
    cursor: pointer;
}

.social i:hover {
    color: #f4637b;
}

.sub-btn a{
    position: absolute;
    bottom: 60px;
    right: 50px;
    padding: 10px 20px;
    background: red;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-radius: 6px;
}


@media only screen and (max-width: 768px) {
    .nav {
        padding: 20px;
    }
    
    .main {
        flex-direction: column;
        gap: 3rem;
        margin-top: 20px;
    }

    .main .men {
        width: 250px; 
    }

    .main .main-detil {
        text-align: center;
    }

    .main .main-detil h1 {
        font-size: 40px; 
    }

    .main .main-detil h4 {
        font-size: 24px;
    }

    .btn button, .btn .btn-2 {
        padding: 6px 16px; 
        margin-bottom: 20px;
    }

    .social i {
        font-size: 30px; 
        margin: 0px 10px; 
    }

    .sub-btn a {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px; 
        font-size: 16px; 
    }
}

/* Add transition property to create smooth transition effect */
.btn button,
.btn .btn-2,
#hire-me-btn {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Add this CSS to change button styles when clicked */
.btn button:active,
.btn .btn-2:active,
#hire-me-btn:active {
    background: black;
    color: white;
}

/* Add this CSS to hide the mailto link */
a[href^="mailto"] {
    text-decoration: none;
    color: inherit;
}

/* Add this CSS to style the cursor as pointer when hovering over the "Hire Me" button */
#hire-me-btn:hover {
    cursor: pointer;
}
