body{
	background-image: url(../imgs/bg.jpg);
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: sans-serif;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* Header */


.categories-icon{
    width: 30px;
    height: 30px;
    display: flex;
	align-items: center;
	justify-content: center;
    padding: 12px;
    cursor: pointer;
	box-sizing: initial;
	position: absolute;
	left: 2vw;
	top: 1vh;

}

.burger{
	height: 25px;
	width: 35px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.4s ease-in-out;
}
.burger-anim{
	animation: activemenu 0.4s 1 ease-in-out forwards;
	transform: translateX(260px);
	transition: transform 0.4s ease-in-out;
	z-index: 12;
}

.line{
    width: 35px;
    height: 4px;
	border-radius: 15px;
	background-color: #606060;
}

.overlay{
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.5);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.btn-close-menu{
	position: absolute;
	top: 5vh;
	right: 2vw;
	color: white;
	cursor: pointer;
}
.btn-close-menu i {
	font-size: 40px;
}
.overlay-visible{
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
	z-index: 9;
}




#sommaire {
	display: flex;
	align-items: center;
	position: absolute;
	top: 50%;
	height: 100%;
    transform: translate(-100%, -50%);
	width: 350px;
	text-align: right;
	list-style-type:none; 
	background-color: rgba(230, 230, 230);
	overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in;
	z-index: 11;

}
#sommaire ul {
	display: flex;
	height: 90%;
	flex-direction: column;
	justify-content: space-between;
}
#sommaire li{
    list-style: none;
    border-bottom: 1px solid rgba(95, 93, 181, 0.5);
    text-align: left;  
    padding: 2px 0px;
    transition: transform 0.2s ease-out;
}
#sommaire li:hover{
	background-color:#e9eefb; 
	color:#294f79; 
	transform: scale(1.025);
}
#sommaire a{
	position: relative;
	display: block;
	text-decoration:none;  
	color:#5f5db5; 

}
.visible{
    opacity: 1!important;
    transform: translate(0%, -50%)!important;
    transition: transform 0.3s ease-in-out;
}

.btns{
	width: 80%;
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}
.next, .prev{
	cursor: pointer;
}
.btns i {
	font-size: 70px;
	color: #606060;
	transition: transform 0.2s ease-in;
}
.btns i:hover {
	color: #404040;
	transform: scale(0.95);
	transition: transform 0.2s ease-in;
}


/* General */
#magazine{
	position: absolute!important;
	left: 50%!important;
	transform: translateX(-50%)!important;
	top: 10vh ;
	z-index: 8;
}

#magazine div{
	background-size: cover;
}

h1{
	display: inline;
	height: 50px;
	position: relative;
	left: 50%;
	transform: translate(-50%);
}



/* Footer */

#menu {
	list-style: none;
	width: 100%;
	display: flex;
	justify-content: center;
	transition: 0.3s ease-in;
	padding: 0;
	position: absolute;
	bottom: 30px;
} 
#menu a{
	display: inline-block;  
	font-size: 30px;
	text-decoration: none;  
	color: rgb(51, 51, 51);
}


.socials{
	display: flex;
	justify-content: space-between;
	width: 250px;
	align-items: center;
	color: #ccc;
}

.social-item{
	display: flex;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background-color: rgb(109, 109, 109);
	flex-shrink: 0;
}
.social-item:hover{
	background-color: rgb(90, 90, 90);

}
.social-item a {
	position: relative;
}

.social-item .material-icons{
	font-size: 40px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}
.icon {
	font-size: 35px;
}

