@import url(../../index.css);

section.resume {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 50px;
    margin-bottom: 10px;
    background-color: rgba(128, 128, 128, 0.1);
    font-family: Arial, Helvetica, sans-serif;
}

span {
    color: whitesmoke;
    background: whitesmoke;
    background-clip: text;
}

.heading {
    text-align: center;
}

.heading h1 {
    font-size: xx-large;
}

.contact-info {
    margin: 35px;
}

.contact-info p {
    display: inline-block;
    font-size: small;
}

.contact-info p a,
.contact-info p u {
    color: white;
    text-decoration: underline;
}

div h1 {
    text-transform: uppercase;
    font-size: large;
}

hr {
    width: 101%;
    margin: 2px 0 4px 0;
    border: 1px solid whitesmoke;
}

table {
    margin: 10px 0;
    width: 100%;
    border-collapse: collapse;
}

table tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

table tr td {
    font-size: 1.5rem;
    font-weight: 400;
}

table tr:first-child td.left-sided {
    font-weight: 700;
}
table tr:last-child td {
    font-style: italic;
}

.left-sided {
    text-align: left;
}

.right-sided {
    text-align: right;
}

.project-box {
    margin: 10px 0;
}

.project-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: 10px;
}

.project-title p {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 300;
    font-style: italic;
}

.project-title span.math {
    font-style: normal;
}

.project-title p strong {
    font-style: normal;
}

.bullet-points {
    margin-top: 4px;
    margin-left: 43px;
}

.bullet-points ul li {
    margin: 2px 0;
    font-size: 1.35rem;
}

.technical-skills p:first-of-type {
    margin-top: 7px;
}
.technical-skills p {
    margin: 4px 0 4px 15px;
    font-size: 1.35rem;
    font-weight: 350;
}

.technical-skills p strong {
    font-weight: 580;
}

.certifications p:first-of-type {
    margin-top: 7px;
}

.certifications p {
    margin: 4px 0 4px 15px;
    font-size: 1.35rem;
    font-weight: 350;
}

.certifications p strong {
    font-weight: 580;
}

div.projects, div.technical-skills, div.certifications {
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Reduce overall margins for smaller screens */
    section.resume {
        margin: 20px;
    }

    .contact-info span.math.inline {
        display: none; /* Hides the '|' separator */
    }
    /* Stack table cells vertically instead of side by side */
    table tr {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Adjust project title layout */
    .project-title {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    /* Reduce left margin on bullet points for a more compact layout */
    .bullet-points {
        margin-left: 20px;
    }
    /* Display contact info in a block for better stacking */
    .contact-info p {
        display: block;
        text-align: center;
        margin: 2px 0;
    }
}

@media (max-width: 480px) {
    /* Further adjust font sizes for very small screens */
    .heading h1 {
        font-size: large;
    }

    .contact-info span.math.inline {
        display: none; /* Hides the '|' separator */
    }

    .project-title p,
    .bullet-points ul li,
    .technical-skills p,
    .certifications p {
        font-size: 1.2rem;
    }
    .technical-skills p,
    .certifications p {
        margin-left: 10px;
    }
}
