* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}

.main-header {
    font-size: 1.5rem;
    text-align: center;
}

.main-header-nav {
    background-color: #0277bd;
    margin-bottom: 20px;
}

.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.centered {
    text-align: center;
}

.nav-item {
    padding: 20px;
}

.nav-item a {
    color: rgb(245, 252, 255);
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
}

.nav-item a:hover,
.nav-item a:active,
.nav-item a.active {
    color: #ffe600;
    font-weight: 500;
}

.checklist {
    display: flex;
    flex-direction: column;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.list {
    margin-bottom: 20px;
}

.list-item {
    margin-top: 12px;
    margin-bottom: 12px;
    border: 1px solid #e6e5e5;
    padding: 15px;
    border-radius: 8px;
    align-items: center;
    display: flex;
}

.logout-btn {
    color: rgb(245, 252, 255);
    background-color: #0277bd;
    border: rgb(161, 161, 161);
    border-radius: 2pt;
    padding-left: 4pt;
    padding-right: 4pt;
    padding-top: 0pt;
    padding-bottom: 4pt;
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .descriptionContainer {
        word-wrap: break-word;
        width: 60vmin;
    }
}

@media only screen and (min-width: 768px) {
    .descriptionContainer {
        word-wrap: break-word;
    }
}

.product-form {
    width: 50rem;
    max-width: 90%;
    margin: auto;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: Georgia, "Times New Roman", Times, serif;
}


/* Hide the browser's default checkbox */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin-right: 10px;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}


/* On mouse-over, add a grey background color */

.container:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.container input:checked~.checkmark {
    background-color: rgb(25, 116, 235);
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.container input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font: inherit;
    border: 1px solid #a5a5a5;
    color: rgb(43, 97, 223);
    background: white;
    transition: background-color ease-out 200ms;
    border-radius: 3px;
    cursor: pointer;
    align-self: center;
    padding: 8px 15px;
    margin-bottom: 30px;
}

.btn:hover,
.btn:active {
    background-color: rgb(48, 103, 231);
    color: white;
    border: 1px solid rgb(48, 103, 231);
}

.form-control {
    margin: 1rem 0;
}

.form-control label,
.form-control input,
.form-control textarea {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
}

.form-control input,
.form-control textarea {
    border: 1px solid #a1a1a1;
    font: inherit;
    border-radius: 2px;
}

.form-control input:focus,
.form-control textarea:focus {
    outline-color: #0072cf;
}

.login-form {
    width: 20rem;
    max-width: 90%;
    margin: auto;
    display: block;
}

.user-message {
    margin: auto;
    width: 90%;
    border: 1px solid #4771fa;
    padding: 0.5rem;
    border-radius: 3px;
    background: #b9c9ff;
    text-align: center;
}

.user-message--error {
    border-color: red;
    background: rgb(255, 176, 176);
    color: red;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 110px;
    font-size: 14px;
    background-color: rgba(53, 53, 53, 0.863);
    color: #fff;
    text-align: center;
    border-radius: 2.5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 115%;
    left: 90%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.copy-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 5%;
    margin-right: 1%;
    margin-bottom: 2%;
}

#myInput {
    width: 90%;
    margin-right: 1.5%;
}