﻿
/* Basic CSS for styling the page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #128c43;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

    header h1 {
        margin: 0;
    }


.container {
    width: 80%;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

h2 {
    color: #333;
    margin-top: 1.5rem;
}

.features ul {
    list-style-type: none;
    padding: 0;
}

.features li {
    background: #e9ecef;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    position: absolute;
    width: 100%;
    bottom: 0px;
}

a {
    color: #007bff;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.download-btn {
    padding: 1rem 2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

    .download-btn:hover {
        background-color: #0056b3;
    }

/*    usercard style
*/
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12%;
}

.user-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 650px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 20px -5px rgba(0,0,0,0.5);
}

    .user-card:before {
        content: '';
        position: absolute;
        height: 300%;
        width: 173px;
        background: #262626;
        top: -60px;
        left: -125px;
        z-index: 0;
        transform: rotate(17deg);
    }

.user-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

    .user-card-img img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
    }

.user-card-info {
    text-align: center;
}

    .user-card-info h2 {
        font-size: 24px;
        margin: 0;
        margin-bottom: 10px;
        font-family: 'Bebas Neue', sans-serif;
        letter-spacing: 3px;
    }

    .user-card-info p {
        font-size: 14px;
        margin-bottom: 2px;
    }

        .user-card-info p span {
            font-weight: 700;
            margin-right: 10px;
        }

@media only screen and (min-width: 768px) {
    .user-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .user-card-img {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .user-card-info {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .wrapper {
        padding-top: 3%;
    }

    .user-card:before {
        width: 300%;
        height: 200px;
        transform: rotate(0);
    }

    .user-card-info h2 {
        margin-top: 25px;
        font-size: 35px;
    }

    .user-card-info p span {
        display: block;
        margin-bottom: 15px;
        font-size: 18px;
    }
}

