@import url('https://fonts.googleapis.com/css2?family=Forum&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-image: url(/imgs/cytvsitebg.png);
    background-color: black;
    background-size: contain;
    background-repeat: no-repeat;
    color: white;
}

.content {
    padding: 0 100px;
    background-color: rgba(0,0,0,0.9);
}

.content a {
    color: white;
    font-weight: bold;
}

.content a:visited {
    color: white;
}

.content a:hover {
    color: blue;
}

#cytvhdr {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin: 50px 0;
}

#cytvhdr .sitemenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#cytvhdr .sitemenu span {
    font-weight: bold;
    padding: 10px;
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: white;
    color: black;
    text-transform: uppercase;
}

#cytvhdr .sitemenu span:hover {
    text-decoration: underline;
}

#cytvhdr .sitemenu span.selected {
    background-color: darkgray;
    color: white;
    text-decoration: underline;
}

#cstop {
    width: 100%;
    height: 500px;
    display: flex;
    color: white;
    margin: 50px 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

#cstop div {
    height: 100%;
}

.left_sel {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

#cstop .left_sel {
    flex: 2;
    background-color: silver;
    color: black;
    font-family: "Forum"
}

.left_sel span {
    margin: 10px;
}

.left_sel span:hover {
    text-decoration: underline;
}

.left_sel span.selected {
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
}

#cstop .center_img {
    flex: 3;
    background-color: white;
    overflow-y: hidden;
}

#cstop .center_img img {
    width: auto;
    max-width: 100%;
}

#cstop .center_img.broken img {
    margin: 5px;
    border: 1px solid black;
}

#cstop .right_desc {
    flex: 3;
}

#cstop .right_desc * {
    margin-left: 20px;
}

#cstop .right_desc p {
    font-family: "Forum", serif;
}

#csgall {
    margin: 50px 0;
    display: flex;
    height: 500px;
}

#csgall div {
    height: 100%;
}

#csgall .left_sel {
    flex: 1;
    background-color: lightgray;
    color: black;
}

#csgall .gall_img {
    flex: 5;
    background-color: white;
}

@media only screen and (orientation: portrait) {
    .content {
        padding: 0;
    }
    #cstop {
        flex-direction: column;
        height: 150vh;
    }

    #csgall {
        flex-direction: column;
        height: 100vh;
    }

    .left_sel {
        flex: 1 !important;
        flex-direction: row;
        flex-wrap: wrap;
    }
  }
  