@media (orientation: landscape) and (min-width: 1280px)
{
    html, body
    {
	font-size: 16px;
    }
}

@media (orientation: portrait), (max-width: 1280px)
{
    html, body
    {
	font-size: 12px;
    }
}

html, body
{
    /* user-select: none; */
}

h1, h2, h3, .uppercase, #icon_list h4
{
    text-transform: uppercase;
}

h3, h4, h5, p, a, li, b, i, strong
{
    font-family: Raleway;
}

p
{
    text-align: justify;
}

#noise
{
    opacity: 0.2;
    image-rendering: pixelated;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -100;
}

#scrollbar
{
    z-index: 1;
}

#first_panel
{
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 3 !important;
    min-height: 100vh;
}

.panel
{
    position: relative;
    z-index: 3;
}

.panel > h1, .panel > h2
{
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    z-index: 5;
    position: relative;
}

.right_photo > div, .left_photo > div, .double_text_photo > div
{
    opacity: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: opacity 0.5s linear;
}

table
{
    width: 100%;
}

th, td
{
    border: 1px solid gray;
    text-align: center;
}

.controler
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    z-index: 10;
}

.controler:hover
{
    opacity: 1;
    vertical-align: middle; /* Marqueur pour Javascript */
}

.controler > div
{
    height: 100%;
    position: absolute;
    top: 0px;
}

.controler > .left_button, .controler > .right_button
{
    width: 20%;
    background-size: 50px;
}
.controler > .left_button
{
    left: 5%;
}
.controler > .right_button
{
    right: 5%;
}
.controler > .pause_button
{
    left: 25%;
    right: 25%;
    background-size: 50px;
}

@media (orientation: landscape) and (min-width: 1280px)
{
    .panel
    {
	margin-left: 200px;
	margin-right: 200px;
	margin-bottom: 100px;
    }
    .panel > div
    {
	min-height: max(40vh, 300px);
    }
}

@media (orientation: portrait), (max-width: 1280px)
{
    .panel
    {
	min-height: calc(100vh + 3rem);
    }
    .panel > h1, .panel > h2
    {
	font-size: 1.75rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
	z-index: 5;
	position: relative;
	width: 90%;
	left: 5%;
    }

}
