* {
    box-sizing: border-box;
}

body {
    background-color: gray;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Fira Sans",
        "Droid Sans",
        "Helvetica Neue",
        sans-serif;
}

/* ===== CV ===== */
.cv {
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #ccc;
}

.container {
    display: flex;
}

.sidebar {
    flex: 3;
    background: #2c3e50;
    color: white;
    padding: 20px;
}

.sidebar img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.sidebar .info {
    margin-bottom: 10px;
    margin-left: 0;
}

.sidebar h2 {
    margin-bottom: 10px;
}

.sidebar ul {
    padding-left: 20px;
}

.infor {
    flex: 7;
    padding: 20px;
}

h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.heading-1,
.part ul li {
    margin-left: 18px;
    margin-bottom: 5px;
    list-style-type: disc;
}

.heading-2 {
    margin-bottom: 10px;
}

.title {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.part {
    margin-bottom: 20px;
}

.footer {
    margin-top: 20px;
}

/* ===== Pricing =====  */
body {
    background: #f5f5f5;
    padding: 20px;
}

.pricing {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-item {
    flex: 1;
    max-width: 300px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 30px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3f2bff, #5f5bff);
    color: white;
    text-align: center;

    transition: 0.3s;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-item:nth-child(2) {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pricing-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-list {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

.pricing-list li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #eee;
}

@media (max-width: 768px) {
    .pricing {
        flex-direction: column;
        align-items: center;
    }

    .pricing-item {
        max-width: 100%;
        width: 100%;
    }
}

/* ===== Product List ===== */
body {
    background: #f5f5f5;
    padding: 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-item {
    flex: 1 1 calc(33.333% - 20px);
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.3s;
}

.product-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 18px;
    margin: 10px 0;
}

.product-price {
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #2ecc71;
    color: white;
    cursor: pointer;
}

.btn:hover {
    background: #27ae60;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 1 100%;
    }
}

/* ===== Register ===== */
.container {
    display: flex;
    height: 100vh;
}

.left,
.right {
    flex: 1;
}

.container .left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-box {
    width: 320px;
}

.form-box h2 {
    margin-bottom: 10px;
}

.form-box p {
    margin-bottom: 15px;
    color: #666;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.check {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 15px;
}

.check input {
    width: auto;
    margin-top: 12px;
    margin-right: 10px;
    padding: 0;
}

.btn {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.primary {
    background: #4a90e2;
    color: white;
}

.fb {
    background: #3b5998;
    color: white;
}

.tw {
    background: #1da1f2;
    color: white;
}

.gg {
    background: #db4437;
    color: white;
}

.or {
    text-align: center;
    margin: 10px 0;
    color: #888;
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .right {
        height: 250px;
    }
}
