html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

p,
h1,
h2,
h3,
li,
label,
input,
span {
    font-family: Raleway;
    color: #39393A;
}

.navbar {
    background-color: #fff;
    -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.navbar h1 {
    margin: 0;
}

.dropdown {
    background-color: #fff;
    -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    width: 250px;
    position: fixed;
    z-index: 4;
    right: -266px;
    top: 4.1rem;
    -webkit-transition: right .3s linear;
    -o-transition: right .3s linear;
    transition: right .3s linear;
}

.dropdown.show {
    right: 5px;
}

.dropdown a {
    width: 100%;
    padding: 7px 1rem;
}


.settings {
    background-color: #fff;
    -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    width: 250px;
    position: fixed;
    z-index: 3;
    right: -266px;
    top: 18rem;
    -webkit-transition: right .2s linear;
    -o-transition: right .2s linear;
    transition: right .2s linear;
}

@media only screen and (max-height: 815px) {
    .settings {
        top: 4.3rem;
    }
}

.settings div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem;
    border-bottom: 5px solid #ffffff;
}

.settings .submit-btn {
    text-align: center;
}

.settings .setting-switcher {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: inline-block;
}

.settings .setting-switcher button {
    padding-left: 20px;
}

.settings div input {
    width: 100px;
    padding: 7px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.settings.show {
    right: 5px;
}

.sidemenu {
    background-color: #f9fafb;
    height: calc(100% - 4rem);
    width: 250px;
    position: fixed;
    z-index: 1;
    padding: 0 0 1rem 0;
    top: 4.3rem;
    left: -250px;
    -webkit-transition: left .2s linear;
    -o-transition: left .2s linear;
    transition: left .2s linear;
}

@media only screen and (max-height: 859px) {
    .sidemenu {
        overflow-y: scroll;
    }
}

.sidemenu.show {
    left: 0;
}

.sidemenu .mtrl-btn {
    width: 100%;
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: transparent;
}

/* how-to */
.how-to-modal-background {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 4;
    padding: 2rem 0;
    left: 0;
    bottom: 100%;
    transition: bottom .2s linear;
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-to-modal-background.show {
    bottom: 0;
}

.how-to-modal-background .how-to-modal {
    width: 75%;
    max-width: 700px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.how-to-modal-background .how-to-modal .modal-header {
    margin: 0;
    font-size: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
}
.how-to-modal-background .how-to-modal .modal-body code {
    text-align: left;
}
.how-to-modal-background .how-to-modal .modal-body code p {
    margin: 0;
}

/* say-something */
.say-something-modal-background {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 4;
    padding: 2rem 0;
    left: 0;
    bottom: 100%;
    transition: bottom .2s linear;
    display: flex;
    justify-content: center;
    align-items: center;
}

.say-something-modal-background.show {
    bottom: 0;
}

.say-something-modal-background .say-something-modal {
    width: 75%;
    max-width: 700px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.say-something-modal-background .say-something-modal h1 {
    margin: 0;
    font-size: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.say-something-modal-background .say-something-modal h1 button {
    top: -20px;
    right: -20px;
}

.say-something-modal-background .say-something-modal div {
    padding: 1rem 0;
}

.say-something-modal-background .say-something-modal .who-input-container span {
    font-size: 14px;
    padding: 5px 0;
}

.say-something-modal-background .say-something-modal div label {
    display: block;
    font-size: 16px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.say-something-modal-background .say-something-modal .modal-body .f-input::placeholder {
    color: #39393A;
    opacity: 0.5;
}

.say-something-modal-background .say-something-modal .modal-body .f-input {
    background-color: transparent;
    border: 2px solid #766dff;
    transition: all 0.3s;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #39393A;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    border-radius: 4px;
    line-height: 22px;
    text-align: left;
}

.say-something-modal-background .say-something-modal .modal-body textarea {
    height: 200px;
    line-height: 150%;
    resize: vertical;
}


.snippet-modal-background {
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    width: 100%;
    position: fixed;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 2rem 0;
    top: -100%;
    -webkit-transition: top .3s linear;
    -o-transition: top .3s linear;
    transition: top .3s linear;
}

.snippet-modal-background.show {
    top: 4rem;
}

.snippet-modal {
    width: 75%;
    max-width: 700px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
}

.snippet-modal h1 {
    margin: 0;
    font-size: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.snippet-modal h1 button {
    top: -20px;
    right: -20px;
}

.snippet-modal .modal-body {
    position: relative;
}

.snippet-modal .modal-body .snippet-bar {
    display: inline-block;
    position: absolute;
    width: 3px;
    height: calc(100% - 4rem);
    background-color: rgb(92, 92, 92);
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.snippet-modal .modal-body #code-snippet {
    width: 90%;
    font-size: 16px;
    margin: 2rem 2rem 2rem 1rem;
    padding: 1rem;
    outline: none;
    border: none;
    resize: none;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.copied-tooltip,
.said-tooltip {
    font-family: Raleway;
    padding: 7px 10px;
    background-color: #7f7f7f;
    color: #fff;
    border-radius: 5px;
    position: relative;
    margin-left: 10px;
    -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    opacity: 0;
    -webkit-transition: opacity .3s linear;
    -o-transition: opacity .3s linear;
    transition: opacity .3s linear;
}

.copied-tooltip::before,
.said-tooltip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(45deg);
    -ms-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    left: -2.5px;
    background-color: #7f7f7f;
}

.copied-tooltip.show-tooltip,
.said-tooltip.show-tooltip {
    opacity: 1;
}

.showcase {
    padding: 4rem 2rem 2rem;
    -webkit-transition: padding .2s linear;
    -o-transition: padding .2s linear;
    transition: padding .2s linear;
}

.showcase>div {
    padding-top: 4.3rem;
}

.showcase.shrink {
    padding-left: 282px;
}

.btn-section h1 {
    font-size: 24px;
    text-align: center;
}

.btn-section h2 {
    font-size: 18px;
}

.button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 2rem 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.button-container button {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.footer {
    background-color: #39393A;
}

.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
}

.footer .footer-container>div {
    min-width: 220px;
    width: 20%;
    max-width: 250px;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.footer .footer-container>div:not(:last-child) a {
    height: 40px;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
}

.footer .footer-container>div a img {
    height: 100%;
    width: auto;
}

.footer .footer-container>div .cover-img-container {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-container>div .cover-img-container .cover-svg {
    height: auto;
    min-width: 120px;
    width: 70%;
    max-width: 200px;
}

.footer .hire-me a,
.footer .say-something a {
    text-align: center;
    display: inline-block;
}

.footer .creator {
    text-align: center;
    background-color: #39393A;
    color: #fff;
    margin: 0;
    padding: 1rem;
}

.footer .creator a {
    color: #766dff;
}