/*
Theme Name: On S'anime 63
Author: Arnaud RIVET
Version: 1.0
*/

:root {
  --headerHeight: 100px;
  --e-global-color-background: #ffffff
}

* {
  transition: all 0.3s;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--headerHeight) + 32px);
}

.has-text-align-center {
  text-align: center;
}

body {
  color: var(--e-global-color-text);
  background: var(--e-global-color-background);
  width: 100%;
  font-family: var(--e-a-font-family);
  padding-top: var(--headerHeight);
}

body.admin-bar {
	padding-top: calc(var(--headerHeight) + 32px)
}

#site-header {
  display: flex;
  height: var(--headerHeight);
  width: 100%;
  padding: 10px 20px;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: fixed;
  background: var(--e-global-color-background);
  top: 0;
  left: 0;
  z-index: 999;
  box-sizing: border-box;
}

body.admin-bar #site-header {
	top: 32px;
}

#site-header .menu-header-container {
  width: 100%;
}

#menu-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-evenly;
  list-style-type: none;
}

#menu-header li a {
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 15px;
  color: var(--e-global-color-text);
}

#menu-header li a:hover,
#menu-header .current_page_item a {
  color: var(--e-global-color-background);
  background-color: var(--e-global-color-primary);
}

#cf7vb-form-7.cf7vb-buildr-frontend input[type='submit'] {
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-background);
  border: 0;
}

#site-header .site-logo {
  height: 100%;
  width: auto;
  box-sizing: border-box;
}

.site-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding-top: 10px;
  margin-top: 20px;
  border-top: 3px solid var(--e-global-color-primary);
}

.footer-content {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  width: 100%;
}

.footer-column {
  width: calc(100% / 4);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-title {
  font-size: 1.4em;
}

.footer-column .menu {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-footer .footer-column a {
  text-decoration: none;
  color: var(--e-global-color-primary);
}
.site-footer .footer-column a:hover {
  text-decoration: none;
  color: var(--e-global-color-secondary);
}

.footer-column i {
	padding-right: 10px;
}

.footer-column img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  padding: 20px;
}

.copyright {
  margin: 0 20px;
  border-top: 2px solid var(--e-global-color-primary);
  padding: 10px 0;
  width: calc(100% - 40px);
  text-align: center;
}

.burger {
  display: none;
}

@media screen and (max-width: 1200px) {
  .burger {
    display: flex;
	  flex-direction:column;
	  align-items:center;
	  justify-content:space-evenly;
    height: 50px;
    width: 50px;
	  cursor:pointer;
  }

  .burger .line {
	  display:block;
    width: 50px;
    height: 4px;
    background: var(--e-global-color-primary);
  }
	
	#site-header.visible .burger {
		gap: 0;
		justify-content: center;
	}
	
	#site-header.visible .burger .line:first-child {
		transform:  translatey(2px) rotate(45deg);
	}
	
	#site-header.visible .burger .line:last-child {
		transform: translatey(-2px) rotate(-45deg);
	}
	
  #menu-header {
    position: absolute;
    flex-direction: column;
	gap: 50px;
	}

  #site-header {
	justify-content: space-between;
  }
	
	#site-header .menu-header-container {
		display:flex;
		flex-direction:column;
		justify-content: center;
		align-items:center;
		position:fixed;
		width: 100vw;
		bottom: 0;
		right: -110vw;
		height: calc(100vh - var(--headerHeight));
		background: #ffffff80;
		backdrop-filter: blur(20px);
	}
	
	.admin-bar #site-header .menu-header-container {
		height: calc(100vh - var(--headerHeight) - 50px);
	}
	
	#site-header.visible .menu-header-container {
		right: 0;
	}
	
	.footer-content {
		flex-direction:column;
		justify-content:center;
		align-items:center;
	}
	
	.footer-column {
		width: 100%;
	}
}