/*
Theme Name: weblart
Author: HellpiM
Description: theme pour weblart.
Requires at least: WordPress 5.0
Version: 1.0
*/

:root {
  --main-bg-color: #4e888f;
  --primary: #ffcd69;
  --text-color: #ffffff;
}

a {
  color: #ff9a31;
  text-decoration: none;
}

* {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

header {
  color: #4e888f;
  background-color: white;
}

header .logo {
  width: 100px;
  display: inline-block;
}

header .logo img {
  width: 100%;
}

header .navbar-nav {
  margin-left: auto;
  display: none;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  font-size: 1.4em;
}

header .navbar-nav a {
  color: #4e888f;
  text-decoration: none;
}

header .navbar-nav ul {
  list-style-type: none;
  display: contents;
}


header .navbar-nav.open {
  display: inline-flex;
}

header .menu-button {
  border: none;
  border-radius: 0;
  background-color: transparent;
  font-size: 1.4em;
}

footer {
  padding: 8px;
}

#introduction {
  height: 300px;
  width: 100%;
  margin: 0;
  color: white;
  position: relative;
  font-size: 1.8em;
}

#introduction .background {
  height: 100%;
  width: 100%;
  background-image: url('./images/code-cropped.jpg');
  background-size: cover;
  filter: grayscale(0.75) brightness(0.6);
}

#introduction .content {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#introduction h1 {
  text-transform: uppercase;
}

#typed {
  font-weight: bold;
}

.big-text {
  font-size: 1.5rem;
}

.diagonal {
  /*background: linear-gradient(to right bottom, #4e888f 50%, white 50%);*/
  background-color: #4e888f;
}

.padding-regular {
  padding: 16px;
}

.columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.column {
  padding: 16px;
}

.column-3 {
  width: calc(100% / 4);
}

.column-4 {
  width: calc(100% / 3);
}

.column-6 {
  width: calc(100% / 2);
}

.column-8 {
  width: calc(100% / 3 * 2);
}

.img {
  width: 100%;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

.background-color > div {
  padding: 8px 72px;
}

.wp-block-lazyblock-round-border {
  height: 100% !important;
}

.round-border {
  margin: 32px 0;
  padding: 4px 32px;
  height: calc(100% - 64px);
  border-radius: 16px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.round-border figure {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 10px 0;
}

.round-border h2 a {
  font-size: 1.5em;
}

.round-border li {
  overflow-wrap: break-word;
}

.wp-block-lazyblock-centered-content,
.centered-content {
  height: 100%;
}

.centered-content > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.centered-content ul {
  padding: 0;
}

footer a {
  text-decoration: none;
  color: #4e888f;
}

.big-text {
  font-size: 2rem;
  font-weight: bolder;
  margin: 0;
}

ul {
  list-style: none;
}

ul li:before {
  content: '✓ ';
  color: #ff6900;
}

header ul li::before {
  content: none;
}
  
.grid-center-item > div > .lazyblock-inner-blocks {
  display: grid;
  grid-template-rows: 100px 1fr 150px;
  height: 100%;
}

.vertical-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.width-fit {
  min-width: 300px;
  width: fit-content;
}

.zoom:hover {
  transition: transform 0.5s;
  transform: scale(1.2);
}

.margin-lr {
  width: 50% !important;
}

@media (min-width: 600px) {
  header .menu-button {
    display: none;
  }

  header .navbar-nav {
    display: inline-flex;
    flex-direction: row;
  }

  .columns {
    flex-direction: row;
  }
}

@media (min-width: 782px) and (max-width: 1500px) {
  .wp-block-column {
    flex: 0 0 45% !important; /* Each column takes up half the width */
    max-width: 50%;
  }

  div .wp-block-columns {
    flex-wrap: wrap !important;
  }
}