@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
    background: #eee;
    color: #111;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', Arial, serif;
}

h1 {
    font-size: 4.5em;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 2em;
}

p {
    font-family: 'Open Sans', Arial, serif;
    font-size: 1.2em;
}

section .container {
    margin-top: 50px;
    margin-bottom: 50px;
}

a {
  color: #a11;
}

a:hover {
  color: #d11;
  text-decoration: none;
}

button {
  margin: 5px;
}

/* Custom menu */
.menu-wrap {
    background-color: #333;
    position: fixed;
    top: 0;
    right:0;
    height: 100%;
    width: 300px;
    margin-right: -300px;
    font-size: 1em;
    font-weight: 700;
    overflow: auto;
    z-index: 10;
}

.menu-sidebar {
    margin: 75px 0 80px 10px;
    position: relative;
    top: 10px;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.5em;
}

.menu-sidebar ul {
    padding-left: 0;
}

.menu-sidebar li {
    list-style: none;
    padding: 18px 40px 0;
}

.menu-sidebar li.menu-center {
    list-style: none;
    padding: 28px 80px 0;
}

.menu-sidebar li > a {
    cursor: pointer;
    color: #aaa;
    font-size: 1.2em;
    position: relative;
    text-decoration: none;
}
.menu-sidebar li > a::after {
    content: "";
    display: block;
    height: 0.1em;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    background-image: linear-gradient(to right, transparent 50.3%, #eee 50.3%);
    transition: background-position .1s .05s ease-out;
    background-size: 200% auto;
}

.menu-sidebar li > a:hover {
    color: #eee;
}
.menu-sidebar li > a:hover::after {
    background-position: -100% 0;
}

.menu-sidebar li a #logo {
    width: 50px;
}

/*Custom hamburger button*/
.toggle-button {
    position: fixed;
    width: 32px;
    height: 32px;
    top: 20px;
    right: 20px;
    z-index: 15;
}
.toggle-button:hover {
    cursor: pointer;
}

.toggle-button .menu-bar {
    position: absolute;
    width: 100%
}

.toggle-button .menu-bar-top {
    border: 4px solid #999;
    border-bottom: none;
    top: 0;
}
.toggle-button .menu-bar-middle {
    height: 4px;
    background-color: #999;
    margin-top: 7px;
    margin-bottom: 7px;
    top: 4px;
}
.toggle-button .menu-bar-bottom {
    border: 4px solid #999;
    border-top: none;
    top: 22px;
}

/* for videos */
.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.windowheight {
    height: 100vh;
}

.centerpane {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

p.small-text {
    font-size: 1em;
}

.mathFormula {
    overflow-x: scroll;
}

#virusAnimation{
    width: 500px;
    height: 500px;
    visibility: hidden;
}

@media (max-width: 992px) {

    h1 {
        font-size: 3.5em;
    }
    
    h3 {
        font-size: 2em;
    }
    
    #virusAnimation{
        width: 400px;
        height: 400px;
    }
    
}

@media (max-width: 767px) {
    
    h1 {
        font-size: 3em;
    }
    
    h3 {
        font-size: 1.5em;
    }

    #virusAnimation{
        width: 350px;
        height: 350px;
    }

    img.histogram {
        width: 400px;
    }
        
}