.tab-wrap {
    height: auto;
	background: White;
	box-shadow: 0 0 5px rgba(0,0,0,.1);
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	padding: 0 0 20px;
}

.tab-label {
    color:#8B837A;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
    font-size: 20px;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.tab-label:hover {
	background: rgba(0, 191, 255,.1);
}

.tab-switch:checked + .tab-label {
	color: #1fb4bc;
}

.tab-label::after {
	background: #1fb4bc;
	bottom: 0;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
	z-index: 1;
}

.tab-switch:checked ~ .tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked + .tab-label::after {
	opacity: 1;
	transform: translateX(0);
}

.tab-content {
	height: 0;
	opacity: 0;
	padding: 0 20px;
	pointer-events:none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .tab-content {
	transform: translateX(30%);
}

.tab-switch:checked + .tab-label + .tab-content {
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events:auto;
	transform: translateX(0);
}

.tab-wrap::after {
	content: '';
	display: block;
	height: 20px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
}

/* ============================== */

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #faf7f2;
    margin: 10px;
}


.tab-wrap{
margin-bottom: 50px;
}

#tabpage1{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage1 img{
    height: 255px;
    width: 350px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
}

#tabpage2{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage2 img{
    height: 255px;
    width: 350px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
}
#tabpage3{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage3 img{
    height: 250px;
    width: 250px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
}

#tabpage4{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#tabpage5{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage5 img{
    height: 250px;
    width: 250px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
    border: 0.5px solid black;
}
#tabpage6{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage6 img{
    height: 250px;
    width: 250px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
}

#tabpage7{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 50px;
}
#tabpage8{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: auto;
}
#tabpage8 img{
    height: 200px;
    width: 200px;
    border-radius: 0.75em 0.75em 0.75em 0.75em;
    margin: 5px;
}
.answer{
    height: 50px;
    width: 210px;
    border: 5px dotted #1fb4bc;
    margin: 0 auto;
    text-align: center;
    font-size: 27px;
} 
.answer a:link {
    color: #686868;
    text-decoration: none;
   }
   
.answer a:visited {
    color: #686868;
    text-decoration: none;
   }
   
.answer a:hover {
    color: #686868;
    text-decoration: none;
   }
   
.answer a:active {
    color: #686868;
    text-decoration: none;
   }

.next{
    margin: 10px;
    float: right;
    font-size: 30px;
    color: #686868;
}
 
.back{
    margin: 10px;
    float: left;
    font-size: 30px;
    color: #686868;
}   
.menu2 a:link {
    color: #686868;
    text-decoration: none;
   }
   
.menu2 a:visited {
    color: #686868;
    text-decoration: none;
   }
   
.menu2 a:hover {
    color: #686868;
    text-decoration: none;
   }
   
.menu2 a:active {
    color: #686868;
    text-decoration: none;
   }

.source{
    color: #686868;
    font-size: large;
    padding-left: 50px;
}
.source a:link {
    color: #686868;
   }
   
.source a:visited {
    color: #686868;
    text-decoration: none;
   }
   
.source a:hover {
    color: #686868;
    text-decoration: none;
   }
   
.source a:active {
    color: #686868;
    text-decoration: none;
   }