
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../imgs/DJI_0050.JPG') center/cover no-repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #333;
  }
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px;
}
html {
    scroll-snap-type: y mandatory;
}
header {
    color: #333;
    background: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header-container {
    margin: 0 1rem 0 3rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
header .header-title {
    justify-items: left;
    margin: 0.5rem;
}
.header-title h1 {
    padding: 5px 0;
    padding-bottom: 0;
    margin: 0;
    text-shadow: 1px 1px 1px lightgray;
    line-height: 1.5;
    text-align: start;
}
@media only screen and (max-width: 600px) {
    .header-title h1 {
        font-size: larger;
    }
}
.header-title h2 {
    margin: 0;
    padding-top: 0;
    line-height: 1.2;
    text-align: start;
}
@media only screen and (max-width: 600px) {
    .header-title h2 {
        font-size: medium;
    }
}
.header-title div {
    width: 100%;
    text-shadow: 1px 1px 1px lightgray;
    text-align: start;
}
@media only screen and (max-width: 600px) {
    .header-title div {
        font-size: smaller;
    }
}
header a {
    height: 6rem;
}
@media only screen and (max-width: 600px) {
    header a {
        height: 4rem
    }
}
header img {
    height: 6rem;
}
@media only screen and (max-width: 600px) {
    header img {
        height: 4rem
    }
}
.body-container {
    margin-top: 8rem;
    height: 100%;
}
.container {
    width: 70%;
    margin: auto;
    background: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    padding: 20px;
}
@media only screen and (max-width: 800px) {
    .container {
        width: 90%;
    }
    .container p {
        margin: 0 0.5rem;
    }
}
.cert-list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.container img {
    margin: 20px;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 800px) {
    .container img {
        max-width: 250px;
    }
}
.container-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
footer {
    text-align: center;
    padding: 15px;
    background: #333;
    color: white;
    display: flex;
    justify-items: center;
    align-items: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
footer p, footer a {
    margin: 10px;
}
.contact {
    line-height: 1;
    padding: 5rem 0;
}
.list-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-items: center;
    justify-content: center;
    width: 100%
}
.list-box {
    background: white;
    margin: 1rem;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 35%;
    min-width: 250px;
    text-align: center;
}
@media only screen and (max-width: 800px) {
    .list-box {
        width: auto;
        flex-grow: 1;
    }
}
.list-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px;
    font-weight: 500;
    margin: 0;
    color: white;
    background: #c93c20;
    font-size: 1.3rem;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow-wrap: anywhere;
    overflow: hidden;
}
.list-box svg.icon {
    flex-shrink: 0;
    color: white;
}
.list-box h3 svg {
    margin: 0 1rem;
}
.list-box p {
    padding: 20px;
}
a, a:visited, a:hover, a:active {
    color: inherit;
}
.text-justify {
    text-align: justify;
    line-height: 2;
    margin: 2rem 5rem !important;
}
#projects .container p {
    margin: 0 3rem;
}
@media only screen and (max-width: 600px) {  
    #projects .container p {
        margin: 0 1rem;
    }
}
.example-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}
.example-item {
    margin: 10px;
    display: flex;
    flex-direction: column;
}
.example-img {
    margin: 0px !important;
    max-width: 200px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
}
@media only screen and (max-width: 800px) {
    .example-img {
        max-width: auto !important;
    }
}
.example-desc {
    margin: 5px;
    max-width: 200px;
    line-height: 1.5;
    font-size: small;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}
.cv-entry {
    margin: 0 5rem;
    display: flex;
    flex-direction: row;
    line-height: 1;
}
.cv-entry strong {
    white-space: nowrap;
    margin: 0 5px;
}
@media only screen and (max-width: 1100px) {
    .cv-entry {
        display: flex;
        flex-direction: column;
    }
}
.gdpr {
    line-height: 1.2;
    text-align: justify;
}
.gdpr h1 {
    text-align: center;
}
.gdpr h2 {
    line-height: 2;
    text-align: center;
}
.gdpr h3 {
    line-height: 2;
    text-align: center;
}
.gdpr h4 {
    line-height: 2;
    text-align: center;
}
.gdpr .text-container {
    margin: 10rem
}