body {
    max-width: 1200px;
    background-color: #2c2c2c;
    color: white;
    /* position: relative; */
    /* overflow: hidden; */
    font-family: "Blinker", sans-serif;
    font-weight: 300;
    margin: auto;
}

section {
    position: relative;
    margin: auto;
}

/* article {
    height: 80vh;
} */

.off {display: none;}

.on {
    display: block;
    /* position: fixed; */
    box-sizing: border-box;
    /* margin: 50px; */
    /* top: 0; */
    /* left: 50%; */
    max-width: 1200px;
    max-height: 800px;
    width: 100vw;
    height: 100vh;
    /* transform: translateX(-50%); */
    padding: 20px;
    /* height: 85vh; */
    background-color: #2c2c2c;
}

#start {
    background-image: url(images/type.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 0;
}

.content {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background-color: #2c2c2cc0;
}

h2 {
    margin: 0;
    font-family: "Nova Square", sans-serif;
    font-weight: 400;
    position: absolute;
    font-size: clamp(1rem, 2.5vw + 1rem, 3rem);
    top: 5%;
}

h1 {
    position: absolute;
    font-family: "Nova Square", sans-serif;
    font-weight: 400;
    margin: 0;
    font-size: clamp(1.5rem, 4vw + 1rem, 4rem);
    color: aquamarine;
    top: 12%;
    left: 35%;
    /* transform: translateX(-50%); */
}

#headingLeft {
    right: 60%;
    top: 5%;
}

#headingRight {
    left: 30%;
    top: 22%;
}

#menu {
    position: absolute;
    bottom: 25%;
    gap: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    /* height: ; */
}

#menu ul {
    list-style-type: none;
    margin: 0;
}

#menu ul li {
    background-color: rgba(41, 41, 94, 0.887);
    margin-bottom: 10px ;
    padding: 5px;
}

#menu ul li a{
    text-decoration: none;
    color: white;
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
}

#menu ul li:hover a {
    color: aqua;
}

#direction {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
    color: aqua;
}

#part1>p {
    position: absolute;
    left: 10%;
    width: 30%;
    top: 20%;
    height: auto;
    font-size: clamp(0.5rem, 1vw + 0.5rem, 2rem);
    line-height: 1.5em;
}

#container1 {
    position: absolute;
    top: 20%;
    left: 55%;
    width: 40%;
    height: 80%;
    font-size: clamp(0.5rem, 1.5vw + 0.5rem, 2rem);
    text-align: center;
}

#container1 p {
    margin: 0;
    margin-bottom: 10px;
}

#container1>p {
    color: aqua;
}

#ourBlue.colorView, #russian.colorView {
    position: absolute;
    top: 10%;
    height: 20%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

#regBlue {
    width: 100%;
    margin: 0;
    height: 100%;
    background-color: blue;
}

#lightBlue {
    flex: 1;
    height: 100%;
    background-color: lightblue;
    color: #2c2c2c;
}

#darkBlue {
    flex: 1;
    background-color: darkblue;
}

#rainbow.colorView, #oldRainbow.colorView {
    position: absolute;
    top: 50%;
    height: 20%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

.colorBox {
    display: flex;
    margin: 0;
    height: 100%;
}

.red {
    flex: 1;
    height: 100%;
    background-color: red;
}

#orange {
    flex: 1;
    height: 100%;
    background-color: orange;
}

#yellow {
    flex: 1;
    height: 100%;
    background-color: yellow;
}

.green {
    flex: 1;
    height: 100%;
    background-color: green;
}

#blue {
    flex: 1;
    height: 100%;
    background-color: blue;
}

#indigo {
    flex: 1;
    height: 100%;
    background-color: darkblue;
}

.violet {
    flex: 1;
    height: 100%;
    background-color: indigo;
}

#container2 {
    position: absolute;
    top: 20%;
    width: 100%;
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
}

.grid {
    position: relative;
    z-index: 1;
    top: 0;
    height: auto;
    width: 40%;
    background-color:rgba(41, 41, 94, 0.887) ;
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
    box-sizing: border-box;
    padding: 20px;
    margin-top: 20px;
}

.grid a {
    display: block;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;
    background-color: PaleTurquoise;
    color: #2c2c2c;
    width: 100%;
}

.grid a:hover {
    background-color: aqua;
}

#grid1 {
    left: 0;
}

#grid2 {
    right: 0;
}

#grid3 {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: 60%;
    background-color:rgba(41, 41, 94, 0.887) ;
    font-size: clamp(1rem, 0.5vw + 1rem, 2rem);
    box-sizing: border-box;
    padding: 10px;
}

#container2 img {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 60%;
    opacity: 0.8;
    width: auto;
    z-index: 0;
}

.overlay {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 120px;
    width: 50%;
    height: 100%;
    /* background-color: #2c2c2cd2; */
    transform-origin: center;
}

.overlay p {
    /* position: absolute; */
    max-width: 800px;
    height: auto;
    /* top: 10%;
    left: 50%; */
    margin: auto;
    margin-top: 10%;
    /* transform: translateX(-50%); */
    box-sizing: border-box;
    padding: 30px;
    background-color: PaleTurquoise;
    color: #2c2c2c;
    line-height: 1.4em;
    font-size: clamp(1rem, 0.4vw + 1rem, 2rem);
    font-weight: 300;
}

button {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1rem, 0.5vw + 1rem, 2rem);
    padding: 5px 20px;
}

#container3 {
    position: absolute;
    top: 22%;
    width: 100%;
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
}

#texts {
    display: flex;
    gap: 30px;
    font-size: clamp(1rem, 0.8vw + 0.5rem, 2rem);
    line-height: 1.3em;
    font-weight: 300;
}

#part3>p {
    margin-top: 100px;
    height: auto;
    font-size: clamp(0.5rem, 1vw + 0.5rem, 2rem);
    line-height: 1.5em;
}

.textbox {
    flex :1;
    /* background-color: PaleTurquoise; */
    border: dotted paleturquoise 1px;
}
 
#texts p {
    /* flex: 1; */
    /* background-color: PaleTurquoise; */
    /* color: #2c2c2c; */
    box-sizing: border-box;
    padding: 0 20px;
}

#part3 h3 {
    padding: 5px 20px;
    background-color: paleturquoise;
    color: #2c2c2c;
    margin: 0;
}

#example {
    max-width: 800px;
    margin: 20px auto;
    font-size: clamp(1rem, 0.8vw + 0.5rem, 2rem);
    line-height: 1.3em;
    font-weight: 300;
}

#example p {
    /* background-color: lightgray; */
    /* color: #2c2c2c; */
    box-sizing: border-box;
    padding: 20px;
}

#example h3 {
    padding-top: 10px;
}

#end div {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 80%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    gap: 30px;
}

#end div p {
    box-sizing: border-box;
    padding: 20px;
    flex: 1;
    background-color: PaleTurquoise;
    color: #2c2c2c;
    border-radius: 20px;
    font-size: clamp(1rem, 1vw + 0.5rem, 2rem);
}

#end a {
    position: absolute;
    bottom: 20%;
    text-decoration: none;
    background-color: white;
    color: #2c2c2c;
    font-size: clamp(1rem, 1vw + 0.5rem, 2rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
}

#end a:hover {
    background-color: aqua;
}

