:root {
    --bg:  rgb(220, 228, 235);
    --fg:  black;
}

.dark {
    --bg:  #111;
    --fg:  #eee;
}

/* Optional: system preference fallback
@media (prefers-color-scheme: dark) {
    body {
        class: dark;
    }
}
*/
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    padding: 16px;
}

.container {
    width: 1020px;
    padding: 10px;
    margin: 0 auto;
    display: table;
}

.left, .right {
    display: table-cell;
    vertical-align: top;
}

.left {
    width: 300px;
    background: #2e7d32;
    color: white;
    border-radius: 20px;
    border: 3px solid white;
    overflow: hidden;
}

.right {
    width: 700px;
    background: white;
    border-radius: 20px;
    border: 3px solid #2e7d32;
    overflow: hidden;
}

/* sections */

.section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    scroll-margin-top: 190px;
}

.right .section {
    border-bottom: 1px solid #ddd;
}

.print-only {
    display: none;
}

.pictureDiv {
    text-align: center;
}

.pictureDiv IMG {
    width: 130px;
}

.left-top {
    position: relative;
    /* position: relative; */
    top: 0;
    /* background: #2e7d32; */
    background: linear-gradient(
            to bottom,
            black 0%,
            black 50%,
            #2e7d32 50%,
            #2e7d32 100%
    );
    z-index: 2;
}

.right-top {
    position: relative;
    top: 0;
    background: white;
    z-index: 2;
    border-bottom: 2px solid #ccc;
}
.right-subTop {
    top: 150px !important;
}
.fullAddressIsPrivate {
    font-size: 12px;
    font-weight: bold;
}
.left .fullAddressIsPrivate {
    color: yellow;
}
.right .fullAddressIsPrivate {
    color: red;
}
.blink {
    animation: blink-animation 3s steps(2, start) infinite;
}

@keyframes blink-animation {
    0%, 66.66% {
        visibility: visible;
    }
    66.67%, 100% {
        visibility: hidden;
    }
}

H1 {
    font-size: 35px;
    text-align: center;
    color: #2e7d32;
}

.subtitle {
    font-size: 16px;
    text-align: center;
    color: #2e7d32;
}

.rightPictureDiv {
    position: absolute;
    top: 10px;
    right: 40px;
    width: 100px;
    height: 150px;
    border: 1px solid black;
}

.rightPictureDiv IMG{
    width: 100%;
    height: 100%;
}

.address {
    padding-left: 20px;
    margin: 0;
}

.left UL {
    list-style-type: none;
    padding-left: 20px;
}

/* sticky parts */
.top-sticky {
    position: sticky !important;
}

.pinLink {
    position: absolute;
    top: 10px;
    right: 10px;
}

.pin {
    width: 16px;
    height: 16px;
}


/* CONTAINER */
.cards {
  text-align: left; /* centers inline-block children */
  padding-left: 15px;
  border-left: 2px solid #2e7d32;
}

/* CARD */
.card {
  display: inline-block;
  vertical-align: top;
/*  text-align: left; */

  width: 80%;
  min-width: 350px;
  max-width: 550px;

  margin: 0.75rem;
  padding: 2.0rem 1.5rem;

  border-radius: 15px;
/*  background: linear-gradient(135deg, #2e7d32, #4caf50); */
/*	background: linear-gradient(135deg, #1b5e20, #2e7d32); */
	background: linear-gradient(135deg, #2e7d32, #66bb6a);
  color: white;

  transition: transform 0.3s ease;
}

/* HOVER */
.card:hover {
  transform: translateX(55px);
}

.companyName {
    font-size: larger;
    margin-top: 0;
    margin-bottom: 0;
}
.courseTitle {
    font-size: larger;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
}
.period {
    font-size: smaller;
    margin: 0;
}
.jobTitle, .courseCompany {
    font-weight: bold;
    margin-bottom: 0;
}
.jobDescription {
    margin-top: 0;
    margin-bottom: 0;
    font-size: smaller;
}

.lightDarkLogo {
    position: fixed;
    top: 50px;
    left: 40px;
    width: 45px;
    height: 45px;
    background-color: white;
    z-index: 10;
}
#lightDarkMode{
    width: 45px;
    height: 45px;
}
@media print {
    color-scheme: light;

    .lightDarkLogo {
        display: none;
    }

    .left {
        display: none;
    }

    .right {
        width: 100%;
        border: none;
    }

    .no-break {
        break-inside: avoid;
        page-break-inside: avoid; /* older browsers */
    }

    .print-only {
        display: block;
    }

    H1 {
        font-size: 35px;
        text-align: left;
        color: black;
    }

    .subtitle {
        font-size: 16px;
        text-align: left;
        color: black;
    }

    .pinLink {
        display: none;
    }

    .card {
        padding: 0.5rem 0;
        max-width: none;
    }

    #toc {
        display: none;
    }
}