body {
    background-color: #1c2055;
    font-family: "Mars Centra", Arial;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 30px;
    line-height: 0.9;
}

.container {
    grid-template-columns: 1fr;
    width: 210mm;
    height: 297mm;
    background-color: rgba(255, 255, 255, 1);     
    color: black;
    margin: 5% auto 0 auto;
    opacity: 99%;
}

.contact {
    display: absolute;
    justify-items: end;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    font-size: 12px;
    color: #f1f1f1;
    text-align: end;
}

.title-bold {
    padding-left: 30px;
    font-weight: bold;
}

.title-thin {
    font-weight: 100;
    color: #1ccbb6;
}

.header-right {
    padding-right: 30px;
    width: 100%;
    align-items: flex-end;
}

.header {
    display: inline-flex;
    gap: 10px;
    bottom : 0px;
    width: 100%;
    height: 100px;
    background-color: #1b202c;
    color: white;
    /* align items to bottom of container */
    align-items: flex-end;
}
.about-me {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #f1f1f1;
    padding-top: 0;
    padding-bottom: 0;
}

.section {
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 22px;
    color: #1ccbb6;
}

.subsection { 
    padding: 60px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bolder;
    line-height: 0.4;
}

.details {
    padding: 90px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bolder;
    line-height: 1;
}

.skill-grid {
    grid-gap: 10px;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bold;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
}
.skill {
    background-color: #f6f6f6;
    border-radius: 16px;
    color: #000;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    border-color: #a1a1a1;
    border-style: solid;
    border-width: 1px;
    border-radius: 16px;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bolder;
}


.circle {
    margin: 0 auto;
    background-color: #1ccbb6;
    opacity: 10%;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    transition: transform 0.5s ease-in-out;
    transform: scale(0.01);

}

.mail {
    text-decoration: none;
}

.spacer {
    height: 100px;
}

.career-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background-color: #fff;
    margin-top: 30px;
}

.career {
    line-height: 1.3;
}

.pdf {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    padding: 10px;
    padding-top: 50px;
    padding-left: 100px;
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pdf:hover {
    animation: wiggle 0.9s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes wiggle {
    0% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

.pdf-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}


.education-grid {
    grid-gap: 10px;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
}
.education {
    grid-gap: 10px;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
    font-style: italic;
    border-radius: 16px;
    color: #000;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border-color: #000;
    border-style: solid;
    border-width: 1px;
    border-radius: 16px;

}
.underlined {
    text-decoration: underline;
}
.titled {
    text-align: center;
}

.learning {
    padding-top: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.learning-title{
    grid-template-columns: repeat(3, 1fr);
    padding-top: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
