* {
    padding: 0;
    margin: 0;
}

body {
    font-family: sans-serif;
    font-size: 14px;
}

/* Nav Bar Styles */


.nav-bar {
    padding: 10px;
    background-color: gainsboro;
    width: 50%;
    height: 45px;
    position: relative;
    left: 300px;
}

.nav-bar h1 {
    position: relative;
    top: 5px;
    left: 25px;
}

.nav-bar form {
    position: relative;
    left: 250px;
    bottom: 25px;
}

.login {
    position: relative;
    right: -670px;
    top: -52px;
    color: white;
    border-radius: 2px;
    border: 2px solid black;
    background-color: cornflowerblue;
    padding: 2px 14px 2px 14px;
    box-shadow: 2px 2px 1px 1px black;
    cursor: pointer;
}

.example input[type=text] {
    width: 45%;
    border: 1px solid black;
    border-radius: 4px;
    padding: 6px;
    font-size: 12px;
}

.example button[type=submit] {
    background-color: gainsboro;
    border: none;
    font-size: 14px;
}


/* Dictionary Entry Styles */

.entry {
    border: 2px solid black;
    width: 30%;
    height: 120px;
    margin: 10px;
    padding: 14px;
    position: relative;
    left: 290px;
    top: 14px;
}

.entry h2:nth-child(1) {
    padding-left: 10px;
}

.entry h5 {
    padding: 3px 0px 3px 20px;
}

.entry p span {
    font-style: italic;
}

.entry button {
    border-radius: 2px;
    border: 2px solid black;
    background-color: yellow;
    padding: 4px 14px 4px 14px;
    box-shadow: 2px 2px 1px 1px black;
    bottom: 15px;
    position: relative;
    cursor: pointer;
}

.def-entry {
    border: 2px solid black;
    width: 16.5%;
    margin: 10px;
    padding: 10px;
    position: relative;
    right: -800px;
    bottom: 310px;
    height: 95px;
}

.def-entry button {
    border-radius: 2px;
    border: 2px solid black;
    background-color: #8ed425;
    padding: 5px 16px 5px 16px;
    box-shadow: 2px 2px 1px 1px black;
    bottom: -25px;
    right: -60px;
    position: relative;
    font-size: 16px;
    display: none;
    cursor: pointer;
}

/* for the toggle script */
.def-entry button.showed {
    display: block;
    cursor: pointer;
}

.definition {
    text-align: right;
    position: relative;
    bottom: 20px;
    right: 80px;
    
}