@charset "utf-8";

.main-content{
    height: 100%;
    width: var(--width-content);
    overflow-y: scroll;
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-box);
}

.main-content-hr{
	height: min-content;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 25px;
}

.main-content-hr hr{
	width: calc(100% - 100px);
}

.content-h1{
    color: var(--color-text-1);
    font-weight: var(--weight-font-h1);
    font-size: var(--size-font-h1);
    text-align: center;
    padding-top: 10px;
}

.content-h2{
	color: var(--color-text-1);
    font-weight: var(--weight-font-h1);
    font-size: var(--size-font-h2);
    text-align: center;
	padding: 15px 0 15px 0;
}

.content-p{
    color: var(--color-text-1);
    font-size: var(--size-font-p);
    text-align: justify;
}

.content-p a{
	color: var(--color-text-1);
	text-decoration: none;
}

.content-p a:hover{
	text-decoration: underline;
}

.content-ol{
	margin-left: 50px;
	list-style-type: decimal;
}

.content-ol li{
	font-size: var(--size-font-p);
}

.content-ul{
	margin-left: 15px;
	list-style-type: disc;
}

.margin-p-standard{
	margin: 0 50px 0 50px;
}

.content-img-container{
	height: auto;
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 15px 0 15px 0;
}

.content-img{
	height: auto;
	width: 66%;
}

.gallery-ul{
	height: auto;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	flex-wrap: wrap;
	list-style: none;
}

.gallery-li{
	height: auto;
	width: 350px;
	padding: 0 0 50px 0;
}

.gallery-img-container{
	height: auto;
	width: 100%;
	list-style: none;
}

.gallery-img{
	width: 100%;
	position: relative;
}

.gallery-img img{
	height: auto;
	width: 100%;
}

.gallery-img-blackbox{
	height: calc(100% - 6px);
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	background: rgba(0, 0, 0, 0.6);
	transition: 800ms;
	z-index: 2;
}

.gallery-img-blackbox:hover{
	opacity: 1;
}

.gallery-img-blackbox img{
	width: 25%;
}

.gallery-txt{
	height: auto;
	width: 100%;
}

.blackboard-container{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}

.blackboard-img{
	width: calc(50% - 75px);
	padding: 0 25px 0 50px;
}

.blackboard-img img{
	height: auto;
	width: 100%;
}

.blackboard-txt{
	width: calc(50% - 75px);
	padding: 0 50px 0 25px;
}

.main-content-logo{
    height: var(--height-bar);
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -80px;
    z-index: 2;
}

.main-content-logo a{
    height: calc(100% - 20px);
    width: auto;
    margin-top: 5px;
}

.main-content-logo img{
    height: 100%;
    width: auto;
}

.main-content-index{
    height: 100%;
    width: var(--width-content);
    background-image: url(../images/4_hand_background_index.png);
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-content-index img{
    max-height: 50%;
    max-width: 50%;
    box-shadow: var(--shadow-box);
}

.main-content-index h1{
    color: var(--color-text-2);
    font-weight: var(--weight-font-h1);
    font-size: var(--size-font-h1);
    text-align: center;
    padding-top: 15px;
    text-shadow: var(--shadow-text);
}

@media screen and (max-width: 1245px){    
    .main-content{
        width: var(--width-content-1245);
    }

    .content-h1{
        font-size: var(--size-font-h1-1245);
    }
	
	.content-h2{
        font-size: var(--size-font-h2-1245);
    }

    .content-p{
        font-size: var(--size-font-p-1245);
    }
	
	.content-ol li{
		font-size: var(--size-font-p-1245);
	}
	
	.gallery-li{
		padding: 0 20px 50px 20px;
	}

    .main-content-index{
        width: var(--width-content-1245);
    }

    .main-content-index h1{
        font-size: var(--size-font-h1-1245);
    }
}

@media screen and (max-width: 768px){
    .main-content{
        height: calc(100% - var(--height-bar));
        position: absolute;
        top: 0;
        box-shadow: none;
    }

    .content-p{
        line-height: 1.5;
    }
	
	.content-p a{
		text-decoration: underline;
	}	
	
	.gallery-li{
		width: 80%;
		padding: 0 0 50px 0;
	}
	
	.gallery-img-blackbox{
		display: none;
	}
	
	.blackboard-container{
		width: 100%;
		display: block;
	}

	.blackboard-img{
		width: calc(100% - 100px);
		padding: 0 50px 0 50px;
	}

	.blackboard-img img{
		height: auto;
		width: 100%;
	}

	.blackboard-txt{
		width: calc(100% - 100px);
		padding: 0 50px 0 50px;
	}

    .main-content-logo{
        bottom: 0;
        margin-top: 0;
		z-index: 0;
    }
}