@import "./themes.css";

html {
    width: 100%;
    height: 100%;
}

h1 h2 h3 h4 p a {
    font-family: 'Tahoma', Courier, monospace;
}

h2 {
    font-weight: bold !important;
}

body {
    width: inherit;
    height: inherit;
    font-family: 'Tahoma', Courier, monospace;
    background: var(--bg-color);
    color: var(--font-color);
    font-size: 14pt;
}

iframe {
    border: none;
}

#root {
    display: block;
    position: relative;
    height: 100%;
}
.padded {
    padding: 20px;
}
#profile-card {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    border: 3px solid darkgray;
    border-radius: 40px;
    min-height: 100%;
}

#profile-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    padding: 20px;
    margin: auto;
}

#profile-card-info > a {
    color: var(--font-color);
}

#profile-card-title {
    margin: auto;
    margin-bottom: 1vh;
}

#profile-card-description {
    width: 80%;
    min-width: 400px;
    padding-right: 40px;
    margin:auto;
}

#profile-card-head {
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 5%;
}

.profile-card-jobinfos {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    padding: 10px;
}

.profile-card-jobinfo {
    display: flex;
    flex-direction: column;
    border: 3px solid var(--border-color);
    min-width: 400px;
    max-width: 500px;
    margin: 20px;
    box-shadow: var(--box-shadow);
}

.profile-card-jobtitle {
    width: 100%;
    padding: 10px;
    border-bottom: 2px solid var(--border-color);
    font-size: 16pt;
    text-align: center;
    font-weight: bold;
}



.profile-card-jobdescription {
    padding: 10px;
}

#profile-card-avatar {
    width: 400px;
    margin-right: 5%;
    height: min-content;
}

#profile-card-links {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 20px;
    margin-top: 10px;
}

#profile-card-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-right: 5%;
}

.icon-link {
    width: 75px;
    height: 75px;
}
.invert-black {
    filter: var(--invert-black);
    -webkit-filter:var(--invert-black);
}

.flex-container {
    width: inherit;
    height: inherit;
    display: flex;
}

.flex-grow {
    flex-grow: 1;
}
@media only screen and (max-width: 1050px) {
    #profile-card-avatar {
        margin: auto;
        margin-top: 10%;
    }
}
@media only screen and (orientation:portrait) {
    p {
        font-size: 24pt;
    }
    #profile-card-avatar {
        margin: auto;
        margin-top: 10%;
    }
    .profile-card-jobinfo {
        margin: auto;
        margin-top: 20px;
        box-shadow: none;
    }
    #profile-card-title {
        margin-top: 20px;
        text-align: center;
        box-shadow: none;
        margin: auto;
    }
    #profile-card-links {
        margin: auto;
        padding: 20px;
    }
    .profile-card-jobtitle {
        font-size: 30pt;
    }
    .icon-link {
        width: 75px;
        height: 75px;
    }
    .descriptions {
        max-width: 100%;
    }
    .description-title {
        font-size: 31pt;   
    }
    .description-box {
        max-width: none;
    }
    .description-text {
        padding: 6vw;
    }
    .activity-date {
        font-size: 21pt;
    }
}


.descriptions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.description-box {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    max-width: 40vw;
    margin: 2vw;
    border: 2px var(--border-color) solid;
    box-shadow: var(--box-shadow);
}
.description-title {
    width: 100%;
    border-bottom: 2px solid var(--border-color);
    font-size: 16pt;
    text-align: center;
    font-weight: bold;
    padding-top: 1vh;
    background: lightgray;
}
.description-title > p {
    padding: 0vh 1vw;
}
.description-text {
    padding: 1vw;
}
.description-content {
    display: flex;
    flex-direction: column;
    padding: 1vw;
    min-width: 38vw
}
.description-content-title {
    font-weight: bold;
}
.description-content-video {
    position: relative;
    width: 100%;
    height: 50vh;
}
.description-content-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
