* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #EEEEEE;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 400'%3E%3Cdefs%3E%3CradialGradient id='a' cx='396' cy='281' r='514' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23C28868'/%3E%3Cstop offset='1' stop-color='%23EEEEEE'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='400' y1='148' x2='400' y2='333'%3E%3Cstop offset='0' stop-color='%2347402A' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%2347402A' stop-opacity='0.5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='400'/%3E%3Cg fill-opacity='0.24'%3E%3Ccircle fill='url(%23b)' cx='267.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='532.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='400' cy='30' r='300'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    padding: 0px;
    margin: 0px;
}

#all {
    background-color: #f0e7d611;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 50px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 30px;
}

h1 {
    font-size: 1.8rem;
    color: #462B22;
    margin-bottom: 5px;
}

#job-card {
    display: flex;
    background: rgba(255, 255, 255, 0.336);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px auto;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

#job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
    border-radius: 16px;
}

#job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.651);
}

#job:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.job-logo {
    width: 150px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(149, 80, 46, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #95502E;
    text-align: center;
    padding: 15px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.job-logo img {
    max-width: 150px;
    max-height: 300px;
    padding: inherit;
}

.job-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#company {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: fit-content;
    margin-top: 20px;
    padding: 0;
}

#company_details {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: fit-content;
    margin: 0;
    padding: 0;
}

#company h4 {
    margin: 0;
    padding: 0;
}

#company_logo img {
    height: auto;
    width: 200px;
    margin-right: 20px;
}

#company_name {
    font: normal normal 700 sans-serif;
    margin: 0;
    color: rgb(46, 46, 46);
}

#position {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: fit-content;
    margin-top: 1 0px;
    padding: 0;
}

#position_details {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: fit-content;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

#position h3 {
    padding: 10px;
    margin: 0;
}

#position_name {
    font: normal normal 700 sans-serif;
    margin: 0;
    background-image: linear-gradient(135deg,
            #2924109d 0%,
            #584e2067 20%,
            #a38e3a7e 50%,
            #584e208c 80%,
            #29241070 100%);
    color: #31230a;
    text-align: center;
}

#program {
    font: normal normal 500 sans-serif;
    color: rgb(46, 46, 46);
    margin-right: 10px;
}

#time {
    font: normal normal 500 sans-serif;
    color: rgb(90, 90, 90);
    margin: 0;
    padding: 0;
}

#divider {
    padding-left: 10px;
    padding-right: 10px;
    color: rgb(117, 117, 117);
}

#skills {
    margin-bottom: 10px;
}


@media screen and (max-width: 1000px) {
    #company_logo img {
        height: auto;
        width: 100px;
        margin-right: 20px;
    }

    #skills img {
        height: 24px;
    }

    #all {
        margin: 10px;
        padding: 20px;
    }

    #position_name {
        font-size: medium;
    }

    #job-card {
        flex-direction: column;
        max-width: 500px;
    }

    .job-logo {
        width: 100%;
        height: 100px;
        padding: 0 10px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        flex-direction: row;
        justify-content: space-evenly;
    }

    .job-logo img {
        width: 100%;
        height: auto;
    }
}