@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');

.content-section {
    padding: 20px 0;
}

.content-cart a{
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
    margin: 5px;
	position: relative;
    padding-left: 20px;
    font-size: 17px;
}

.cite {
  padding: 5px 10px;
  font-style: italic;
  background-color: #f5f5f5;
  border-left: 2px solid #cccccc;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    overflow-x: hidden;
    background: #fff;
    padding-top: 10vh;
    overflow: auto;

	--size-width-menu-pc: 25%;
}

a {
    transition: all 300ms;
}

header {
    padding: 25px 20px;
    margin: 0;
    height: 10vh;
    width: -webkit-fill-available;
    width: -moz-available;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #efefef;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    background: #fff;
    left: 0;
    z-index: 22;
}
header font {
    padding: 0;
    margin: 0;
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.2rem;
}

footer {
    padding: 14px 4px;
    margin: 0;
    margin-left: var(--size-width-menu-pc);
    width: -webkit-fill-available;
    width: -moz-available;
    background: #242424;
    color: var(--white);
    position: relative;
}
footer font {
    padding: 0;
    margin: 0;
    font-weight: 400;
    font-size: 0.70rem;
    position: relative;
    right: -15px;
    bottom: -2px;
    margin-right: 2px;
}
footer .logo {
    padding: 0;
    margin: 10px 20px;
    height: 20px;
}

span.menu-burger {
    display: none;
    position: absolute;
    width: 50px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    right: 12px;
}
span.menu-burger::after {
	width: 60%;
	height: 3px;
	content: "";
	background: gray;
	position: absolute;
	margin-bottom: 12px;
	transition: all .3s;
}
span.menu-burger::before {
	width: 60%;
	height: 3px;
	content: "";
	background: gray;
	position: absolute;
	margin-top: 12px;
	transition: all .3s;
}
span.menu-burger.open {
    background-color: #efefef;
    border-color: #c5c5c5;
}
span.menu-burger.open::after {
	margin: 0;
	transform: rotate(45deg);
	width: 40%;
}
span.menu-burger.open::before {
	margin: 0;
	transform: rotate(-45deg);
	width: 40%;
}

.container__content {
    padding: 0;
    margin: 0;
    width: -webkit-fill-available;
    width: -moz-available;
    padding-left: var(--size-width-menu-pc);
}

.menu__ {
    padding: 5px 0;
    margin: 0;
    width: var(--size-width-menu-pc);
    height: 90vh;
    height: -webkit-fill-available;
    height: -moz-available;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 10vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid #efefef;
    user-select: none;
}

.menu__ ol {
    padding: 0;
    margin: 0;
    width: -webkit-fill-available;
    width: -moz-available;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}
.menu__ ol li {
    padding: 6px;
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 1rem;
    color: black;
    padding-left: 0;
    cursor: pointer;
}
.menu__ ol ol li {
	border-left: 2px solid #aeaeae;
	padding-left: 10px;
}
.menu__ ol li:hover {
	text-decoration: underline #aeaeae;
}


.buttons {
	position: absolute;
	display: flex;
	align-items: center;
	row-gap: 10px;
	top: 0;
	right: 0;
	padding: 10px;
    visibility: hidden;
}
.buttons i {
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}
.buttons i.copy {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAd0lEQVR4nO3YQQrAIAwF0dx/Nydul6XZSLBV0XngAcIfKDRC0gtwzXzRywNwgT6fNzkaHjAZuy/A6t8JPAAXYGRC8TM8IHGBIkwoMaEiTCgxoSJMKDGhIkwoMaEiTCgxoSKOS6jFA4pwgd0TYrV/oy0egAtIiscNmEM+ysxImcsAAAAASUVORK5CYII=');
}


/* modify article_style.css */
pre {
    box-shadow: none;
    transition: 0.5s;
    border: 1px solid #e9e9e9;
    position: relative;
}
pre.linked {
	outline: 10px solid rgb(206, 206, 206);
	outline-offset: 0px;
	transition: all .3s;
}
pre:hover {
    box-shadow: 0 6px 6px rgba(0,0,0,0.2);
}
pre:hover .buttons {
    visibility: visible;
}

#body__for_content {
    padding-bottom: 50px;
    min-height: 90vh;
}

@media(min-width: 840px) {
	.page__inner {
		padding: 0 40px;
	}
}



/* is mobile */
@media(max-width: 840px) {
    span.menu-burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
	.menu__ {
		display: none;
		background: white;
		flex-direction: column;
		width: -webkit-fill-available;
		width: -moz-available;
		border: none;
		z-index: 20;
        animation: openMenu .3s linear;
	}
	.menu__ ol {
		padding: 0 10px;
	}
	.menu__ ol li {
		padding: 12px;
	}
	.menu__.open {
		display: flex;
	}
	.container__content {
		padding: 0 10px;
	}
    
    body.menu_opened {
        overflow: hidden;
    }

	footer {
		margin: 0;
	}
}

@keyframes openMenu {
    0% {
        transform: translateY(-100%);
        opacity: .6;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}