html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
* {
    box-sizing: border-box;
}
h1{
    padding: 5vh;
}
html{
    font-family: 'Work Sans', 'Noto Sans HK', sans-serif;
    color: #000;
}
html, body {
    padding: 0;
    margin: 0;
  }

pre {
    font-family:'Source Code Pro', 'Courier New', Courier, monospace;
    /* width: 150px; */
    font-weight: 500;
    /* letter-spacing: 1.5px; */
    white-space: normal;
}

.logo, .arrows, .functionality, .controls, .map {
    
    margin: auto;
}
.box {
    display: inline-block;
    margin: 10px;
    width: 270px;
    height: fit-content;
    background-color: #f9f9f9;
    color: #20202a;
    padding: 20px;
    border: 5px solid #fff;
}
.box pre {
    margin-bottom: 10px;
}

#dark-background {
    background-color: #2f3c55;
    color: #fff;
}

.buttons {
    background-color: #D3D3D3;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.button-select {
   background-color: #ff8600;
}
.button-select:active {
    outline: none;
 }
 .button-select:focus {
    outline: none;
 }

 .buttons:active {
    outline: none;
 }
 .buttons:focus {
    outline: none;
 }

.toggle {
    cursor: pointer;
    width: fit-content;
}

a {
    text-decoration: none;
    color: #000;
    border: 1px solid rgba(255,89,94,0);

}

a:hover {
    background-color: rgba(255,89,94,.85);
    border: 1px solid rgba(255,89,94,.95);
    cursor: pointer;
    color: #fff;
}


h2{
    color: #000;
    font-size: 5vw;
    /* line-height: 1em; */
    /* background-color: #F2F3AE; */
    background-color: rgba(128,173,160,.7);
}
.titleReplace {
    display: block;
    margin: 12vh 0vw;
}
.titleReplace a:hover {
    background-color: rgba(255,89,94,.85);
    border: 1px solid rgba(255,89,94,.95);
    cursor: pointer;
    color: #fff;
}
.titleReplace a {
    color: #000;
    font-size: clamp(14px, 3vw, 22px);
    
    padding: 4vh 2vw;
    white-space: nowrap;
    background-color: rgba(128,173,160,.7);
    border: 2px solid rgba(128, 173, 160,.7);
}

#fadeout, #fadeout2 {
    width: fit-content;
    margin:auto;
    margin-top: 30vh;
    padding-right: 5vw;
}

.fixedContact {
   
    margin: auto;
    top: 0;
    color: rgb(197, 223, 221);
    width: clamp(200px, 30vw, 500px);
    padding: 3vw;
}
.goBack {
    position: relative;
    z-index: 1000;
    
    color: rgb(197, 223, 221);
    width: clamp(200px, 30vw, 500px);
    padding: 3vw;

}
h2{
    width: fit-content;
}

.topSection {
    padding-top: 20vh;
}

h4.descriptions{

    color: rgb(197, 223, 221);
    width: clamp(200px, 30vw, 500px);
    padding: 3vw;
    padding-top: 6vw;
}

section {
    padding-left: 18vw;
}
.box svg {
    max-width:  220px;
}
.boxDark{
    background-color: black;
    color: #f9f9f9;
}
/* .box svg use{
    left: 0;
    display: block;
} */
/* nav.mainNav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    height: 100vh;
    width: 16vw;
   
}
nav.mainNav ul {
    font-weight: 500;
    width: clamp(10vw,fit-content,15vw);
    list-style-type:none;
}
nav.mainNav ul li {
    color:black;
    padding: 1vh 0;
    display: block;
    height: 10vh;
}
nav.mainNav ul li a {
    background-color:rgba(128, 173, 160,.7);
    width: 100%;
    height: 100%;
    display: block;
    padding: 1vh 1vh;
    border: 2px solid rgba(128, 173, 160,.7);
}
#currentPage {
    border: 2px solid rgba(255,89,94,.5);
    background: rgba(255,89,94,.5);
}

nav.mainNav a:hover, #currentPage:hover {
    border: 2px solid rgba(255,89,94,.7);
    background: rgba(255,89,94,.7);
}

nav.mainNav ul li.subNav {
    margin-left: 4vw;
    
} */

h2:hover{
    text-decoration: none;
}
