
@font-face {
    font-family: myLogo;
    src: url(Fonts/Nunito-VariableFont_wght.ttf);
}

@Font-face {
    font-family: myTitle;
    src: url(Fonts/KohSantepheap-regular.ttf);
}

@font-face {
    font-family: mySubTitle;
    src: url(Fonts/ValleySans-Regular.ttf);
}

@font-face {
    font-family: myText;
    src: url(Fonts/ValleySans-Light.ttf);
}


#phone {
    display: none;
}

#phone1 {
    display: none;
}

#phone2 {
    display: none;
}

#computer {
    display: block;
}

#computer1 {
    display: block;
}

#computer1c {
    display: flex;
}

#computer2 {
    display: none;
}

body {
    background-color: rgba(0, 0, 0, 0.89);
    overflow-wrap: anywhere;
}



a {
    color: #ffffff;
}



header {
    background-color: rgb(30, 40, 51);
    border-bottom-width: 4px;
    border-bottom-style: double;
    border-bottom-color: rgb(0, 0, 0);;
    margin: -9px -7px;
}

section.topBar {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
}

section.topBar aside {
    order: 1;
}

section.topBar nav.topBarTitle {
    background-color: rgb(18, 128, 162);
    text-align: center; /* text */
    color: rgb(0, 0, 0);
    font-size: 26px;
    font-weight: bolder;
    font-family: myLogo;
    padding: 13px 2px;
    border-width: 20px;
    border-block-width: 2px;
    border-radius: 2em;
    border-style: solid;
    border-color: rgb(81, 94, 108);
    margin: 4px 6px;
}

section.topBar nav.topBarTitle:hover {
    background-color: rgb(49, 114, 115);
    color: rgb(33, 36, 37);
    cursor: pointer;
}

section.topBar nav.topBarTitle h2 {
    margin-bottom: 1px;
    margin-top: 16px;
}

#SmallTitle {
    margin: 1px; 
    position: relative;
    transform-origin: top;
    font-size: large;
    font-family: mySubTitle;
}

section.topBar section {
    order: 2;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
    width: fit-content;
}

section.topBar section > nav a {
    display: block; /* how the details are shown */
    background-color: rgb(18, 128, 162); /* background */
    text-align: center; /* text */
    font-size: 18px;
    color: rgb(0, 0, 0);
    padding: 1px 7px; /* text spacing */
    border-radius: 1em; /* border */
    border-style: double;
    border-color: rgb(42, 46, 50);
    margin: 2px 2px; /* outside spacing */
    position: relative; /* outside positioning */
}

section.topBar section nav a:hover {
    background-color: rgb(42, 83, 104);
    color: rgb(92, 127, 137);
}


section.MainBody {
    display: flex;
    justify-content: center;
}

section.mainSection {
    margin-top: 7px;
    margin-left: -7px;
    margin-right: -7px;
    display: flex;
    /*flex-flow: row wrap;*/
    justify-content: center;
}



div.mainAbout {
    /*border-bottom-left-radius: 1em;*/
    /*border-bottom-right-radius: 1em;*/
    width: 754px;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgb(81, 94, 108);
    place-items: center;
    border-right: solid;
}

div.mainPic {
    margin-top: 10px;
    border-radius: 1em;
    border-style: solid;
    width: 441px;
    height: 225px;
    background-image: url('Images/IMG_3482._crop_3jpg.jpg');
    background-size: 100% 260px;
    background-clip: content-box;
    background-repeat: no-repeat;
}

div.mainImgs {
    border-style: solid;
    width: 100%; 
    height: auto;  
    max-width: 650px;
    background-color: rgb(0, 0, 0);
    align-self: center;
}

div.mainTitles {
    font-size: 3em;
    font-weight: bold;
    font-family: myTitle;
    text-align: center;
    color: antiquewhite;
}

section.mainGames {
    display: flex;
    justify-content: space-evenly;
    flex-flow: row wrap;
}

a.mainGameImg {
    margin: 5px;
    border-radius: 1em;
    border-style: solid;
    border-color: #000000;
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
    background-color: rgb(81, 94, 108);
}

div.MainGameShowcase {
    display: flex; 
    background-color: rgb(81, 94, 108); 
    border: double; 
    border-radius: 1em;
    border-color: rgb(18, 128, 162);
    margin-bottom: 17px;
    width: 630px
}

img.BigGameImg {
    margin: 5px;
    border-radius: 1em;
    border-style: solid;
    width: 300px;
    height: 400px;
    border-color: rgb(0, 0, 0);
}

.SmallGameImg {
    margin: 5px;
    border-radius: 1em;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    width: 275px;
    height: 400px;
}

div.overlay {
    display: none;
    background-color: rgb(81, 94, 108, 0.85);
    text-align: center;
}

#Game1 {
    background-image: url('Images/StrangeTower.png');
    background-size: 515px 403px;
}

#Game1p {
    background-image: url('Images/StrangeTower.png');
    background-size: 515px 403px;
}

#Game1c {
    background-image: url('Images/StrangeTower.png');
    background-size: 515px 403px;
}

#Game2 {
    background-image: url('https://d2xjde315nmzg5.cloudfront.net/18x24poster.png');
    background-size: cover;
}

#Game2p {
    background-image: url('https://d2xjde315nmzg5.cloudfront.net/18x24poster.png');
    background-size: cover;
}

#Game2c {
    background-image: url('https://d2xjde315nmzg5.cloudfront.net/18x24poster.png');
    background-size: cover;
}

a.SeeAll {
    display: flex;
    justify-content: center;
    text-anchor: middle;
}


section.ContentBox {
    background-color: rgb(81, 94, 108);
    padding: 10px 40px;
    border-radius: 1em;
    border-style: double;
    border-color: rgb(18, 128, 162);
    height: fit-content;
    margin: 21px 2px;
    width: 80%; 
    max-width: 647px;
}

div.GameShowcase {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

div.BoxTitle {
    display: flex;
    justify-content: center;
    align-items: center;
}

div.Content {
    display: flex;
    justify-content: center;
    align-items: center;
}



div.Divider {
    margin: 0 -8px 30px -8px;
    border-bottom: ridge;
    border-color: rgb(18, 128, 162);
    width: 98%;
    justify-self: center;
}

div.TextBoxTitle {
    width: fit-content;
    /*height: 81px;*/
    padding-bottom: 25px;
    color: rgb(76, 213, 255);
    font-size: 1.5em;
    font-weight: bold;
    font-family: myTitle;
    text-align: center;
}

.height {
    height: 75px;
}

.height1 {
    height: 75px;
}

div.TextBoxSubTitle {
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    font-weight: bold;
    width: max-content;
    height: 81px;
    padding: 1px 25px;
    text-align: center;
}

div.center {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-end: span 2;
    text-align: center;
    font-family: myText;
}


div.TextBox {
    display: block;
    color: antiquewhite;
    font-size: 20px;
    text-align: center;
    align-self: center;
    justify-self: center;
    width: fit-content;
    max-width: 650px;
    
}

div.TextBox h2 {
    font-family: mySubTitle;
}

div.TabContent h2 {
    font-family: mySubTitle;
}

div.CollapsibleContent h2 {
    font-family: mySubTitle;
}

div.TextBox h3 {
    font-family: myText;
    font-size: 18px;
}

div.TabContent h3 {
    font-family: myText;
}

div.CollapsibleContent h3 {
    font-family: myText;
}

div.TextBox h4 {
    font-family: myText;
    font-size: 18px;
}

div.TabContent h4 {
    font-family: myText;
}

div.CollapsibleContent h4 {
    font-family: myText;
    font-size: 13px;
}

button.Tab {
    font-family: mySubTitle;
}

div.bottomleft h4 {
    font-family: myTitle;
    font-size: 13px;
}

div.TextBox img {
    float: left;
    width: 100%;
    height: 100%;
    max-width: 650px;
    max-height: 330px;
}

.crop {
    position: relative;
    width: 223px;
    height: 233px;
    overflow: hidden;
    justify-self: center;
}

.image {
    position: absolute;
    left: -38%;
    top: -11%;
}

.SelfImg {
    width: 398px;
    height: 266px;
}

div.SelfImg2 {
    width: 420px;
    height: 257px;
    background-image: url('Images/IMG_3482_crop.jpg');
    background-size: 421px 257px;
    background-repeat: no-repeat;
    border: solid;
    border-radius: 1em;
}

div.TextBoxMiddle {
    color: antiquewhite;
    font-size: 20px;
    padding-left: 2%;
    padding-right: 2%;
    text-align: center;
    border-bottom: dashed;
    border-color: rgb(79, 196, 199);
}

div.TextBoxMiddle dl {
    text-align: left;
    display: grid;
    justify-content: center;
}
div.TextBoxMiddle dl dt {
    margin-top: 5px;
}

div.Middle img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 650px;
}

div.Tabs {
    overflow: hidden;
    border: 2px solid;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    background-color: rgb(18, 128, 162);
    padding: 10px;
    text-align-last: justify;
    width: 101.5%;
    justify-self: center;
}

div.Tabs button {
    background-color: #ffffff;
    border-top: none;
    border-bottom: none;
    border-radius: 5px;
    padding: 6px;
    margin: 7px 1px;
    font-size: medium;
    cursor: pointer;
}

div.Tabs button:hover {
    background-color: rgb(139, 139, 139);
}

div.Tabs button:active {
    background-color: rgb(86, 86, 86);
    color: #cdc7bf;
}

div.Tabs button:target {
    color: #cdc7bf;
}

div.Tabs button:after {
    content: ' ';
}

div.TabContent {
    display: none;
    background-color: rgb(113, 128, 146);
    padding: 12px;
    border: 2px solid;
    border-top: none; 
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    border-color: rgb(0, 0, 0);
    color: antiquewhite;
    width: 100%;
    justify-self: center;
}

div.VideoShowcase {
    display: flex; 
    justify-content: center;
    margin: 10px;
}

div.CollapsibleShowcase {
    overflow: hidden;
    border: 3px double;
    border-radius: 1em;
    border-color: rgb(18, 128, 162);
    margin-bottom: 30px;
    width: 100%; 
    justify-self: center;
}

button.Collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

button.active, button.Collapsible:hover {
  background-color: #555;
}

button.Collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

button.active:after {
  content: "\2212";
}

div.CollapsibleContent {
    padding: 0 18px;
    overflow: hidden;
    background-color: #f1f1f1;
    max-height: 0;
    transition: max-height 0.2s ease-out;
    color: rgb(0, 0, 0);
    max-width: 650px;
}

div.SlideContentC {
    opacity: 100%;
    max-width: 650px;
    display: none;
    animation-name: myAnimation;
    animation-duration: .5s;
}

div.SlideContentP {
    opacity: 100%;
    max-width: 650px;
    display: none;
    animation-name: myAnimation;
    animation-duration: .5s;
    justify-self: center;
    margin: 0px 0px;
}

@keyframes myAnimation {
  from {opacity: 0%;}
  to {opacity: 100%;}
}

div.SlideButtons {
    display: flex;
    justify-content: space-around;
}

div.SlideButtons button {
    cursor: pointer;
    color: rgb(18, 128, 162);
    font-size: x-large;
    border: double;
    background-color: rgb(0, 0, 0);
}

div.SlideButtons button:hover {
    border: solid;
}

footer {
    display: fixed;
    left:0;
    bottom:0;
    background-color: rgb(30, 40, 51);
    border-top-width: 4px;
    border-top-style: double;
    border-top-color: rgb(0, 0, 0);
    align-content: center;
    padding: 20px;
    height: 50px;
    max-width: 100%;
    margin: -10px -8px;
    margin-top: 75px;
}

div.bottomBar {
    display: flex;
    align-content: center;
}

div.bottomBar a {
    color: antiquewhite;
    font-size: small;
    position: relative;
    align-content: right;
    margin: -6px 10px;
}

div.bottomBar a:hover {
    color: rgb(156, 175, 195)
}

div.bottomBar button {
    cursor: pointer;
    background-color: #ffffff;
    border: solid;
    border-radius: 20px;
    height: 50px;
    width: fit-content;
    text-align: center;
    margin-left: 10px;
    padding-right: 4px;
}

div.bottomBar button:hover {
    background-color: rgb(156, 175, 195);
    color: #ffffff;
    border-color: rgb(0, 0, 0);
}

div.right {
    display: flex;
    align-content: center;
    justify-content: flex-end;
    right: 20px;
    position: absolute;
}

div.left {
    display: flex;
    align-content: center;
    justify-content: space-between;
    width: fit-content;
}

div.bottomleft {
    display: flex;
    align-content: center;
    justify-content: center;
    left: 3%;
    position: absolute;
    color: #807d7d;
    margin-top: 14px;
    height: 4px;
}
/*-----------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 994px){
    section.topBar section{
        padding-top: 18px;
        height: 200px;
        width: 650px;
    }
    
    section.topBar nav.topBarTitle h2 {
        margin-bottom: 1px;
        margin-top: 26px;
    }
    
    div.MainBackground {
        padding: 264px;
    }
    
    
}

@media only screen and (max-width: 994px){
    div.MainBackground {
        padding: 136px;
    }
}

@media only screen and (min-width: 834px){
    .crop {
        width: 398px;
        height: 268px;
    }

    .image {
        left: 0%;
        top: 0%;
    }

    .SelfImg {
        width: 398px;
        height: 266px;
    }
}

@media only screen and (max-width: 834px){
        section.mainSection {
            flex-flow: row wrap;
        }
    
        div.mainAbout {
            width: 100%;
            height: fit-content;
        }
    
        div.mainImgs {
            width: 100%
        }
    
        .crop {
            width: 365px;
            height: 268px;
        }

        .image {
            left: -4%;
            top: 0%;
        }

        .SelfImg {
            width: 398px;
            height: 266px;
        }
    }

@media only screen and (min-width: 625px){
        section.topBar section{
            height: 120px;
            width: 650px;
        }
    }

@media only screen and (max-width: 625px) {
    section.topBar section{
        justify-content: center;
        height: 200px;
        width: 400px;
    }
    
    div.MainPage {
        width: 270px;
        margin-left: -138px;
    }
    
    div.mainAbout {
        border-right: none;
    }
    
    div.TextBox {
        display: contents;
    }
    
    .height {
        height: 139px;
    }
    
    div.mainPic {
        background-image: url('Images/IMG_3482_crop.jpg');
        background-size: 122% 260px;
    }
    
    section div.Divider {
        margin: 0 -8px 30px -8px;
        border-bottom: ridge;
        border-color: rgb(18, 128, 162);
        width: 118%;
        justify-self: center;
    }
    
    div.TabContent div.Divider {
        margin: 0 -8px 30px -8px;
        border-bottom: ridge;
        border-color: rgb(18, 128, 162);
        width: 100%;
        justify-self: center;
    }
    
    div.TabContent div.CollapsibleShowcase{
        width: 103%;
    }
    
    div.CollapsibleShowcase {
        width: 115%;
    }
    
    #phone {
        display: none;
    }
    
    #phone1 {
        display: flex;
    }
    
    #phone2 {
        display: flex;
    }
    
    #computer1 {
        display: none;
    }
    
    #computer1c {
        display: none;
    }
    
    #computer2 {
        display: block;
    }
    
    .crop {
        width: 223px;
        height: 233px;
    }

    .image {
        left: -38%;
        top: -11%;
    }

    .SelfImg {
        width: 398px;
        height: 266px;
    }

}






