@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700";

html {
    overflow-x: hidden;
    /* scroll-behavior: smooth; */
}

:root {
  --scrollColor: rgb(222, 221, 218); 
  --green: #4d3f05;
}

body {
    z-index: -1;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;

    background-color: rgb(222, 221, 218);
    scrollbar-color: rgba(222, 221, 218,0);
    ::-webkit-scrollbar-track {
    background-color:rgb(222, 221, 218);
    }
}


#canvasHolder {
    position: absolute;
    overflow: hidden !important;
    width: auto;
    height: auto;
    z-index: 3;
/*    overflow: hidden;*/
    pointer-events: none;

    transition: all 0.3s;
}

#header {
    z-index: 2;
    position: fixed;
    width: 100vw;
    color: black;
    font-family: roboto;
    font-weight: 900;
    margin: 0;

    transition: all 0.3s;
}


.headerBig {
    /* z-index: 22; */
    margin: 0;

    position: fixed;
    height: 20vh;
    width: 100vw;
    /* padding-bottom: 17vh; */
    display: block;
    /* background-color: rgb(222, 221, 218); */
    /* background-image: linear-gradient(to top, rgba(255,0,0,0), rgba(222,221,218,1), rgba(222,221,218,1), rgba(222,221,218,1), rgba(222,221,218,1)); */
}

.headerSmall {
    display: none;
}

.headerMain {
    padding-top: 6vh;
}

.headerText {
    margin-left: 6vw;
}

h1 {
    /* padding-top: 8vh;  */
    margin-left: 14vh; 
    font-size: 5.2vmin; 
    /* margin-bottom: -2px;  */

    letter-spacing: 3px;

    transition: background-color 0.5s, color 0.5s, opacity 0.5s;
    
    fill: currentColor;
}

.h1b {
    display: none;
    /* padding-top: 8vh;  */
    margin-left: 14vh; 
    font-size: 5.2vmin; 
    /* margin-bottom: -2px;  */

    letter-spacing: 3px;

    transition: background-color 0.5s, color 0.5s, opacity 0.5s;
    
    fill: currentColor; 
}


.logo {
    /* padding-top: 6vh; */
    left: 6vw;
    position: absolute; 
    display: inline-block; 
    height: 50%; 
    width: auto;
    fill: currentColor;
    transition: fill 0.5s, color 0.5s, opacity 0.5s; 
}


.subHead {
    font-size: 1.8vmin;
    font-weight: 200;
    /* padding-top: 1.8vh; */
    left: 7vw;
    margin-left: 14vh;
    letter-spacing: 7px;

    transition: background-color 0.5s, color 0.5s, opacity 0.5s; 

}

.subHead span:hover {
    color: white;
    pointer-events: all;
    cursor: pointer;
}

.topMenu{
    /* margin: auto; */
    display: flex;
    height: 36px;
    flex-direction: horizontal;
    position: absolute;
    right: 7vw;
    top: 12vh;
    color: #4d3f05;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    letter-spacing: .1rem;
    font-size: 1rem;
}

#allContent {
    word-spacing: normal;
}

#allContent2 {
    color: white;
}

#soundContent {
    word-spacing: normal;
}

#visualContent {
    word-spacing: normal;
}

.underline {
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.unselected {
    pointer-events: all;
    cursor: pointer;
    text-decoration: none;
}

#contactButton{
    display: block;
    padding-top: 8px;
    text-align: center;
    letter-spacing: .08rem;
    /* margin-right: 2vw; */
    height: 36px;
    width: 135px;
    color: white;
    background-color: #4d3f05;
    text-decoration: none;
    /* translate: -11px -11px; */
    /* transform: translate(-25%, -25%); */
    border-radius: 22px;
    pointer-events: all;
    user-select: none;
    cursor: pointer;
    filter: invert(0); 
    transition: filter 0.3s ease;
}

#contactButton:hover {
    filter: invert(1); 
    transition: filter 0.3s ease;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}

#contactButton a:hover{
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}

#returnButton {
    text-align: center;
    padding-top: 8px;
    letter-spacing: .08rem;
    /* margin-right: 2vw; */
    height: 44px;
    width: 222px;
    color:#4d3f05;
    background-color: rgb(222, 221, 218);
    outline-style: solid;
    outline-width: 2px;
    outline-color: #4d3f05;
    text-decoration: none;
    border-radius: 22px;
    filter: invert(0); 
    transition: filter 0.3s ease;
    display: none;
    pointer-events: all;
    cursor: pointer;
    user-select: none;
}


#footer {
    z-index: 12;
    position: fixed;
    bottom: 11px;
    width: 100%;
    padding-left: 6vw;
    padding-top: 8px;
    color: rgb(181,181,181);
    font-weight: 100;
    font-size: 12px;
    /* background-color: rgb(222, 221, 218); */
    overflow: hidden;
    pointer-events: none !important;
    cursor: none;
    user-select: none;
}

#menus {
/*    width: 100px;*/
/*    height: 188px;*/
    z-index: 66;
    
    width: 100vw;
    height: 100vh;
    /* z-index: 1; */
    overflow: hidden;
    padding-top: 8vh;
    margin: 0;
    background-color: rgba(210, 210, 210, 1);
    font-size: larger;
    font-weight: 500;

    display: none;
    opacity: 0;
    visibility: hidden;
    position: fixed !important;
    top: -100vh;
    
}

.hamburger-container {
  position: fixed;
  right: 6vw;
  top: 6vh;
  z-index: 9999;
  width: 60px; /* Increased from 52px to prevent clipping */
  height: 55px; /* Increased from 48px */
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: visible; /* Ensure rotated elements aren't clipped */
  display: none;
}

.hamburger-svg {
  width: 50px; /* Slightly larger SVG */
  height: 50px;
  transform: translate(25%, 25%);
  overflow: visible;
  fill: rgb(111, 22, 11);
}

.hamburger-line {
  fill: rgb(111, 22, 11);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}


.hamburger-container.menu-open .line1 {
  transform: translateY(9.5px) translateX(-8px) rotate(45deg);
}

.hamburger-container.menu-open .line2 {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-container.menu-open .line3 {
  transform: translateY(-9.5px) translateX(-5px) rotate(-45deg);
}

.hamburger-container:hover .hamburger-line {
  fill: rgba(66, 44, 1, 0.7);
}

.menuItem {
    width: 100%;
    height: 30px;
    pointer-events: all;
    margin: 0;
    padding-top: 11vh;
    /* color: yellowgreen; */
    /* background-color: brown; */
}

.menuItemText a{
    display:block;
/*    padding:0 30px;*/
    box-sizing:border-box;
    position:absolute;
    margin-left: 2vw;
/*    width:100%;*/
    text-align:center;
    text-decoration: none;
    font-size:4.8vh;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
/*    top:52%;*/
    color:black;
    filter:alpha(opacity=0);/*For older IE*/
    padding-top: 4px;
    user-select: none;
    padding-left: 8vw;
}

.menuItemBG {
    position: absolute;
    display:block;
    height: auto;
    width: 100%;
    /* background-color: rgb(222, 221, 218); */
    opacity:1;
    filter:alpha(opacity=1);/*For IE6 - IE8*/
    transition:all 0.6s;
}

.menuItem:hover .menuItemBG {
    opacity:0.4;
    cursor: pointer;
/*    background: cyan;*/
}

.menuItemBGSelected {
    position: absolute;
    display:block;
    height: 30px;
    width: 100%;
    /* background: white; */
    opacity:1;
    color: black;
}

.menuItemBGSelected a {
    position: absolute;
    display:block;
    height: 30px;
    width: 100%;
    /* background: white; */
    opacity:1;
    color: black;
}

.menuSelect .menuItemBG {
    background: black;
    opacity: 1;
}

.menuSelect .menuItemText a {
    color: white;
    /* background-color: rgb(222, 221, 218); ; */
    opacity: 1;
    margin-left: 6vw;
    padding-right: 6vw;
    padding-left: 4vw;
    background: linear-gradient(90deg, rgba(255,255,255,1) 6%, rgba(0,0,0,0) 6%);
    pointer-events: none;
    /* border-radius: 100%;
    outline: 3px solid rgb(111, 110, 109); */

}

.menuSelect a {
    color: white;
}

#close {
    display: none;
}

#xinxinIPTLive {
    /* display: flex;
    flex-direction: row; */
    width: 100%;
}

#xinxinIPTLive iframe {
    flex: 1;
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    pointer-events: all;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#wrapper {
  display: flex;
  align-items: stretch;
/*  overflow-x: hidden !important;*/
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#threeD {
    display: flex;
    overflow-y: scroll;
    
}

#three {
    color:black;
}


#web {
    display: none;
}

.subWork {
    position: absolute;
    display: block;
    right: calc(6vw + 88px);
    top: calc(8vh + 5px);
    word-spacing: 1vw;
    color: black;
    /* outline: 1px; */
    /* padding: 12px; */
    /* border-radius: 20%; */
    /* background-color: #4d3f05; */
}

.subWork a {
    color: black;
}

.subWork a:hover {
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.leftMenu {
    display: block;
    position: fixed;
    top: 20vh;
    padding-top: 6vh;
    margin-left: 6vw;
    width: auto;
    margin-right: 60vw;
    color: #4d3f05;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    overflow: none;
    user-select: none;
    transition: background-color 0.5s, color 0.5s, opacity 0.5s;
}

.rect {

    margin-top: 1vh;
    margin-left: 6vw;
    display: block;
    
    width: 34vw;
    height: 11px;
    border-radius: 5.5px;
    margin-bottom: 33px;

    transition: background-color 0.5s, color 0.5s, opacity 0.5s;
}

.content { 
    position: absolute;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: flex-start; */
    /* padding-top: 26vh; */
    top: 27vh;
    right: 6vw;
    margin-left: 44vw;
    /* margin-bottom: 20vh; */
    height: 54vh;
    /* width: 50vw; */
    box-sizing:border-box;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
    scrollbar-width: none;
    scroll-behavior: smooth;
    border-radius: 11px;
    pointer-events: none;
    scrollbar-color: rgb(200, 199, 197) rgba(222,221,218,0);
    ::-webkit-scrollbar-track {
    background-color:rgb(222, 221, 218) rgba(222, 221, 218,0);
    }
}

.sound {
    display: block;
}

.visual {
    display: block;
}

.content li {
    list-style: none;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    transition: opacity 0.4s ease;
}

.content li .vidPic {
    transition: background-color 0.5s, color 0.5s, opacity 0.4s;
}


.vidPic, vidPic a {
    /* display:block; */
    padding: 2vh;
    height: 100%;
    /* text-overflow: ellipsis; */
    transition: background-color 0.5s, color 0.5s, opacity 0.4s;
}

/* .vidPic:hover{
    cursor: pointer
} */


.square {
    position: relative;
    float: left;
    width: 50%; 
    height: 56vh;
    color: white;
    padding: 2vh;
    overflow: hidden;

}

.square iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    object-fit: cover;
    max-width: 100%; /* Changed from 22vw */
    padding-bottom: 6vh; /* Reduced from 8vh */
    pointer-events: all;
}

.square img {
    width: auto;
    height: 86%;
    max-height: 52vh;
    border: none;
    object-fit: cover;
    object-position: left;
    max-width: 22vw;
    padding-right: 1vw;
}

h3 {
    padding-top: 2vh;
    font-weight: 200;
    font-size: 1.6em;
}

h4 {
    padding-top: .4vh;
    font-weight: 200;
    /* font-size: 1.2vh; */
}

.vimeo iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}

.vidPic:after {
  content: "";
  display: table;
  clear: both;
}

.vidBox {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: rgb(0,10,20);
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}

.vidText {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:52%;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
    text-overflow: ellipsis;

}

.content li:hover .vidText {
    transform:translateY(0px);
    opacity:0.94;
}

.content li:hover .vidBox {
    opacity:0.82;
}

.triangleUp {
    z-index: -1;
	width: 0;
	height: 0;
	border-left: 44px solid transparent;
	border-right: 44px solid transparent;
    border-bottom: 44px solid rgb(66, 44, 1);
    position: fixed;
    margin: auto;
    top: 22vh;
    pointer-events: all;
    cursor: pointer;

    /* transition: border-top 0.5s, border-color 0.5s, color 0.5s, opacity 0.5s; */
}  

.triangleDown {
    z-index: -1;
	width: 0;
	height: 0;
	border-left: 44px solid transparent;
	border-right: 44px solid transparent;
    border-top: 44px solid rgb(66, 44, 1);
    position: fixed;
    margin: auto;
    bottom: 14vh;
    cursor: pointer;

    /* transition: border-top 0.5s, border-color 0.5s, color 0.5s, opacity 0.5s; */
} 


#bu {
    z-index: 99;
    pointer-events: all;
    height: 48px;
    width: 52px;
    overflow-y: hidden;
    /* background-color: purple; */
}

#bu:hover {
    cursor: pointer;
}

#bu, .menuClose {
  left: var(--button-x);
  top: var(--button-y);
}

.vidClose {
    top: 10px;
    right: 10px;
    z-index: 15;
    pointer-events: all;
    position: fixed;
    height: 40px;
    width: 40px;
    display: none;
}

.vidClose:hover {
    cursor: pointer;
}

.menuClose {
    z-index: 99;
    pointer-events: all;
    position: fixed;
    height: 40px;
    width: 40px;
    display: none; 
    /* background-color: aqua; */
}

.menuClose:hover {
    cursor: pointer;
}

#closeBlack{
    display: block;
}

#closeWhite {
    display: none;
}

#line {
    width: 75%;
    height: 1px;
}

.bigP{
    width: 100%;
    max-height: 52vh;
    font-size: 16px;
    line-height: 1.7;
    padding-top: 2vh;
    font-weight: 200;
    display: inline-block;
    user-select: none;
    /* color: green; */
}

.smallP{
    width: 100%;
    max-height: 52vh;
    font-size: 16px;
    line-height: 1.7;
    padding-top: 2vh;
    font-weight: 200;
    display: none;
    user-select: none;
    /* color: red; */
}


.no{
    display: none;
}

.show{
    display: block;
}

.aboutText{
    background-color: rgb(222, 221, 218);
    font-size: 20px;
    font-weight: 200;
    user-select: none;
}

.aboutText.show {
    height: calc(100vh - 27vh) !important;
    max-height: none !important;
    /* overflow-y: auto !important; */
    padding-bottom: 80px;
    margin-bottom: 0;
}

/* Mobile override for about */
@media (max-width: 900px) and (max-aspect-ratio:7/8) {
    .aboutText.show {
        height: calc(100vh - 18vh) !important; /* Use mobile header height */
        top: 18vh;
    }
}

.bioPic{
    /* margin: auto; */
    height: 20vh;
    width: 100%;
    object-position: center;
    /* padding-top: 4vh; */
    padding-bottom: 4vh;
    background-image: url(pics/BWMix4.jpg);
    /* filter: brightness(1.1); */
    background-blend-mode:overlay;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* filter: brightness(250); */
    /* filter: grayscale(1); */
    margin-bottom: 4vh;
    border-radius: 11px;
    opacity: .7;
}

.leftMenu .bioPic{
    height: 18vh;
}

.contactContent {
    width: 100%;
    height: 100%;
    padding-top: 0;
    margin-top: 0;
    overflow-y: hidden;
    background-color: rgb(222, 221, 218);
}

________________________________________________________________________________________ */

.vidWin {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    
} 

.emailContainer {
    background-color: rgb(222, 221, 218);
    /* padding: 0 33px 0 33px; */
    /* border-radius: 22px; */
    /* width: auto;
    height: auto; */
    /* color:#4d3f05; */
    /* padding-bottom: 6vh; */
    box-shadow: none;
    text-decoration: none;
    
}

.emailText {
    /* margin-top: 22%; */
    text-align: center;
    border: 2px;
    border-style: solid;
    border-radius: 33vh;
    height: 44vmin;
    width: 44vmin;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2vmin;
    background-color: rgb(222, 221, 218);
    /* color: #4d3f05; */
    /* padding: 22vh 0 22vh 0; */
}

.emailBG {
    display: flex;
    opacity: 1;
    width: 100%;
    height: 100%;
    text-align: center;
    border: 2px;
    margin: auto;
    justify-content: center;
    align-items: center;
    border-radius: 33vh;
    color: white;
}

.emailText:hover .emailBG{
    
    
    opacity: 0;
}

.emailTextBottom {
    display: none;
}

.emailText:hover .emailTextBottom {
    display:block;
}

.emailText:hover {
    cursor: pointer;
}


.emailContainer h2:hover {
    filter: invert(1) brightness(.5) saturate(2);
    color: white;
}

form {
    margin: auto;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="subject"],
textarea {
    width: 100%;
    height: 2.2rem;
    padding: 10px;
    border: 1px solid rgb(222, 221, 218);
    border-radius: 22px;
    box-sizing: border-box; 
    font-size: 16px;
    background-color: rgba(222, 221, 218);
    outline-style: solid;
    outline-width: 1px;
}

#message {
    height: 8rem;
}

button {
    background-color: rgb(222, 221, 218);
    color: white;
    padding: 12px 20px;
    margin-bottom: 18vh;
    border-radius: 22px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    border: none;
    filter: invert(0);
    transition: filter 0.3s ease;
}

button:hover {
    /* background-color: black;
    color: rgb(222, 221, 218); */
    filter: invert(1);
    transition: filter 0.3s ease;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    /* border: solid;
    border-width: 1px;
    border-color: rgb(222, 221, 218); */
}

.links {
    position: absolute;
    bottom: 8vh; 
    left: 2vmin;
    font-weight: 200;
    word-spacing: 1vw;
    color: white;
    z-index: 10;
    font-size: 1.4rem;
}

.links h4 {
    font-size: 1.4rem;
}

.links a {
    color: white;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */    

@media screen and (max-height:700px) and (min-aspect-ratio:5.01/4) and (max-width:1400px){
    .leftMenu .bioPic {
        display: none;
    }
    h4{
        display: none;
    }
}


@media screen and (min-aspect-ratio:5.001/4) and (max-width:1080px) and (max-height:760px){
    .bigP{
        display: none;
    }
    .smallP{
        display: none;
    }

    h2{
        font-size: 2rem;
    }

    h4{
        display: block;
    }
}


@media screen and (max-width:1080px){
    .topMenu {
        font-size: 12px;
        height: 28px;
    }

    .emailContainer {
        padding: 0 44px 0 44px;
        margin-top: 0;
        padding-top: 0;
    }

    .leftMenu .bioPic {
        display: none;
    }

    .aboutText .bioPic {
        height: 12vh;
    }
}



@media screen and (max-aspect-ratio: 5/4),
screen and (max-height:800px) and (min-aspect-ratio:5/4) and (max-width:1199px){

.topMenu{
    display: none;
}

.hamburger-container{
    display: block;
    top: 4vh;
}

  #menus {
    display: block;
  }


  h2{
    font-size: 8vh;
  }

  /* .subHead {
    padding-top: 1.4vh;
    font-size: max(14px, 2.1vh);
  } */

  .rect {
    width: 88%;
  }

  .leftMenu {
    display: none;
  }

  .triangleUp {
    position: fixed;
    margin: auto;
    top: 0;
    margin-top: 23vh;
    display: block;
}  

    .triangleDown {
    position: fixed;
    margin: auto;
    bottom: 0;
    margin-bottom: 11vh;
    display: block;
} 

  .content {

    height: 50vh;
    top: 28vh;
    left: 0;
    right: 0;

    margin-left: 6vw;
    margin-right: 6vw;
    width: 88vw;

  }

  .vidPic {
    height: 58vh;
    width: 100%;
    flex-direction: column;

  }

  .square {
    padding: none;
    height: 56vh;
    width: 50%;
    margin: 0;
  }

  .square iFrame{
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
    padding: none;
  }

  .square img{
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding-bottom: 4vh;
    padding-right: 0;
  }

  .square p {
    font-size: 16px;
    line-height: 1.7;
  }

  #footer {
    display: none;
  }

  .links {
    margin-bottom: -2vh;
  }

   h4{
        display: none;
    }

    .bigP{
        font-size: 16px;
    }
    .smallP {
        font-size: 16px;
    }

}

@media screen and (max-aspect-ratio:5/4) and (min-aspect-ratio:7.01/8){
    h2{
    font-size: 2rem;
    }

   h4{
        display: none;
    }

}

@media screen and (max-aspect-ratio: 7/8) and (min-height:400px),
screen and (max-aspect-ratio:7/8) and (max-width:1080px) and (max-height:650px){

    .content{
        scroll-snap-type: none;
        overflow-y: scroll;
    }

  .headerBig {
    background-color: rgb(222, 221, 218);
    height: 10vh;
  }

  .headerText {
    margin-left: .6vh;
  }

  h1 {
    font-size: 4.8vh;
  }

   .h1b {
    font-size: 4.8vh;
  }

  h2 {
    font-size: 2.6vh;
  }

  .hamburger-container {
    top: 4vh;
  }

  .links{
    margin-bottom: 2vh;
    padding-bottom: 4vh;
  }

  .subHead {
    font-size: 2vh;
  }

  .rect{
    height: 1vh;
    display: none;
  }

  /* .content{
    height: 82vh;
  } */

  .vidPic{
    height: auto;
    margin-bottom: 4vh;
  }

  h1 {
        /* padding-top: 5vh; */
        font-size: 3.4vh;
    }

.h1b {
    /* padding-top: 5vh; */
    font-size: 3.4vh;
    }

    .logo {
        height: 66%;
    }

    .subHead {
        font-size: 1rem;
    }

    .subWork {
        right: auto;
        left: 6vw;
    }

    .menuItemText a {
        padding-left: 12vw;
    }

    .menuSelect .menuItemText a {
        padding-left: 8vw;
    }

  .bigP, .smallP {
    display: block;
        max-height: none; 
        padding-bottom: 4vh;
    }
    
    .links {
        position: static; 
        padding-bottom: 2vh;
    }

  #xinxinIPTLive iframe {
    max-height: 46vh;
  }

    .triangleUp {
    margin-top: 22vh;
    display: none;
}  

      .triangleDown {
    position: fixed;
    margin: auto;
    bottom: 0;
    margin-bottom: 8vh;
    display: none;
} 

    .square {
    width: 100%;
    height: auto;
    /* margin: auto; */
    opacity:1;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
    padding-top: 2vh;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;

  }
  
  .square iFrame{
    width: 100%;
    height: auto;
    /* aspect-ratio: 1 / 1; */
    padding: none;
    margin: none;
  }

  .square img{
    width: 100%;
    height: 99%;
    aspect-ratio: 1 / 1;
    padding: none;
    margin: none;
  }

    .links {
        position:static;
        padding-bottom: 2vh;
    }

 #message {
    height: 4rem;
 }

}



/* @media screen and (max-width:1190px) and (max-height:800px){
    .bigP{
        display: none;
    }

    .smallP{
        display: inline-block;
    }
} */

@media  screen and (min-width:2301px) and (max-height:799px),
        screen and (max-width:1800px) and (max-height:1300px),
        screen and (max-width:1600px) and (max-height:1080px),
        screen and (max-width:1400px) and (max-height:700px)
    {
    h2{
        font-size: 1.6rem;
    }
    h3{
        font-size: 1.4rem;
    }
    .bigP{
        display: block;
        font-size: 16px;
    }
    .smallP{
        display: none;
    }
    .leftMenu{
        font-size: 16px;
    }
    .leftMenu .bioPic{
        height: 14vh;
    }
     /* h4{
        display: none;
    } */

}




@media screen and (max-height:1080px) and (max-width:1800px) and (min-aspect-ratio:5.01/4),
        screen and (max-height:900) and (max-width:2050px) and (min-aspect-ratio:5.01/4){
    .bigP{
        display: none;
    }

    .smallP {
        display: block;
    }

}

@media screen and (max-aspect-ratio: 5.001/4) and (max-height:780px){
    /* h2 {
        font-size: 4vh;
    } */
    .bigP{
        display: none;
    }
    .smallP{
        display: block;
    }

    form h2{
        font-size:1.2rem;
    }

}


@media screen and (max-width:700px) and (max-height:450px){
    .rect {
        display: none;
    }
    /* .content{
        top: 18vh;
    } */
    /* h2{
        display: none;
    } */
/* 
    h3{
        display: none;
    } */
     h4{
        display: none;
     }

     .bigP {
        font-size: 13px;
    } 
    .smallP {
        font-size: 13px;
    }

    .links {
        font-size: 13px;
    }
}

@media screen and (max-width:700px) and (max-height:380px){

    .subHead {
        display: none;
    }

    /* h2{
        display: none;
    } */

    h3{
        display: none;
    }
    h4{
        display: none;
     }

    .bigP {
        font-size:12px;
    } 
    .smallP {
        font-size: 12px;
    }

    .links {
        font-size: 12px;
    }
}

@media screen and (max-width:750px) and (min-aspect-ratio:7.01/8){
    .smallP{
        display: none;
    }
    .bigP{
        display: none;
    }
}

@media screen and (max-width:600px){

    .headerBig {
        height: 12vh;
    }

    /* .headerMain {
        padding-top: 33px;
    } */

    .headerText {
        margin-left: 2vh;
    }

    .logo {
        height: 91%;   
    }

    h1{
        padding-top: 4px;
        font-size: 4vh;
        display: none;
    }

     .h1b{
        /* padding-top: 4px; */
        font-size: 6vh;
        display: block;
        padding: none;
        margin-top: -1vh;
        letter-spacing: .1vw;
    }

    .subHead {
        margin-top: -.6vh;
        font-size: 2.2vh;
        letter-spacing: .8vw;
        /* display: none; */
    }

    .hamburger-container {
        top: 4vh;
    }

    .rect {
        display: none;
    }

    .content{
        margin-top: 1.4vh
    };

    /* .content {
        margin-top: 2vh;
    } */
    
}
