* {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    scroll-behavior: auto !important;
    word-wrap: break-word;
}

html, body {
    max-width: 100%;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

div#defs {
    width: 90%;
    margin: 10px 0% 5% 5%;
}

div.def {
    margin: 2.5%;
    width: 95%;
    box-shadow: 0px 0px 12px #dddddd;
    height: 200px;
    padding: 15px;
    transition: transform 0.2s;
    opacity: 1;
}

.hidden {
    display: none;
}

div.def:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
    cursor: pointer;
}

div.text {
    height: 170px;
    overflow: hidden;
    -webkit-mask-image: -webkit-linear-gradient(rgba(0,0,0,1) 110px, rgba(0,0,0,0));
}

h1 {
    font-size: 28px;
    font-weight: 700;
}

p {
    overflow: hidden;
}

div#top {
    height: 80px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    display: table;
}

div#stick {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    z-index: 1000;
    top: 0;
    background-color: white;
}

div#top-title, div#top-picker {
    vertical-align: middle;
    display: table-cell;
}

div#top h1 {
    display: inline-block;
    font-size: 36px;
    margin-bottom: 0px;
}

/* Style The Dropdown Button */
.dropbtn, .bttn {
    background-color: #929292;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown, .bttn {
    float: right;
}

.bttn2 {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 10px 16px 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn, .bttn:hover {
    background-color: #535353;
}

div#cont {
    margin: 0;
    padding: 0;
    box-shadow: 0px 0px 12px #dddddd;
}

div#box-html, #img {
    padding: 15px;
}

#box-title {
    font-size: 42px;
    margin-bottom: 15px;
}

#box-cat {
    font-style: italic;
    margin-bottom: 5px;
}

#box-img {
    max-width: 100%;
    max-height: 500px;
}

.bttn2:hover {
    background-color: #ebebeb;
}