@import "./themes.css";

html {
    width: 100%;
    height: 100%;

}

h1 h2 h3 h4 p a {
    font-family: 'Tahoma', Courier, monospace;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold !important;
}

body {
    width: inherit;
    height: inherit;
    font-family: 'Tahoma', Courier, monospace;
    margin: 0 !important;
    background: var(--bg-color);
    color: var(--font-color);
}

iframe {
    border: none;
}

#root {
    display: block;
    position: relative;
    background: var(--bg-color);
    height: 100%;
}

.padded {
    padding: 20px;
}

a {
    color: var(--visited-color);
}

.content {
    padding-top: 80px !important;
}

.video-container {
    margin-top: 10px;
    width: 500px;
    height: 300px;
}

.youtube-video {
    display: block;
    width: 100%;
    height: 100%;
}
.side-block {
    min-width: 500px;
    width: 50%;
    text-align: left !important;
}
.project-description {
    width: 80% ;
}

#descriptions-collection { 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
}
.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
}
.middle {
    margin: auto;
}
.flex-grow {
    flex-grow: 1;
}

.description {
    display: flex;
    flex-direction: column;
    width: 500px;
    margin-bottom: 50px;
}

.description-text {
    height: 120px;
}

.description-image {
    width: 90%;
}

.small-video {
    width: 50%;
    min-width: 400px;
}
.full-video {
    width: 100%;
    min-width: 400px;
}
.screenshot {
    width: 300px;
    margin: 10px; 
}


.loading {
    background: url(/res/icons/loading_small.gif) center center no-repeat;
    background-color: lightgray;
}

@media only screen and (orientation:portrait) {
    b {
        font-size: 21pt;
    }
    .content {
        font-size: 21pt;
    }
    .caption {
        font-size: 16pt;
    }
    .screenshot {
        margin: auto;
    }
    .flex-row {
        justify-content: space-between;
    }
    .demo-video {
        width: 90%;
    }
    .description {
        width: 100%;
    }
    .description-text {
        height: auto;
    }
    .video-container {
        width: 800px;
        height: 400px;
    }
    .small-video {
        width: 90%;
    }
    .side-block {
        width: 90%;
    }
}