/*!
Theme Name: Verhuur Kompas
Theme URI: http://vincentvaningen.nl
Author: Vincent van Ingen
Author URI: http://vincentvaningen.nl
Description: Custom WordPress theme for verhuurkompas.nl
Version: 2.0.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vh
*/

/*==========================*/
/*          CSS vars        */
/*==========================*/
:root {
  /* Font */
  --normal-font: "Open Sans", sans-serif;
  --extra-font: "Inter", sans-serif;
  /* Colors */
  --orange: #ffb202;
  --black: #120d0c;
  --black-hover: #0b0706;
  --light-grey: #f2f2f4;
  --green: #5edb3f;
  --green-hover: #4baf32;
  --white: #ffffff;
  --dark: #000000;

  /* Font size */
  --normal-fontsize: 16px;
  --h1-fontsize: 32px;
  --h2-fontsize: 32px;
  --h3-fontsize: 26px;

  --radius: 15px;
}

html {
  font-family: var(--normal-font);
  font-size: var(--normal-fontsize);
  scroll-behavior: smooth;
  scroll-padding-top: 10px;
}

.white-filter {
  filter: invert(99%) sepia(100%) saturate(5%) hue-rotate(193deg)
    brightness(107%) contrast(100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  font-family: var(--normal-font);
}

h1 {
  font-size: var(--h1-fontsize);
}

h2 {
  font-size: var(--h2-fontsize);
  margin-bottom: 0;
}

h3 {
  font-size: var(--h3-fontsize);
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

body :where(.wp-block-columns) {
  margin-bottom: 0;
}

h1.underline,
h2.underline {
  display: inline-block;
}

h1.underline::after,
h2.underline::after {
  content: "";
  width: 60%; /* Adjust this value as needed */
  max-width: 115px;
  height: 0;
  display: block;
  border-bottom: 4px solid var(--orange);
  margin-top: 10px; /* Adjust this value to control the space between the text and the border */
}
.text-center-block h1.underline::after,
.text-center-block h2.underline::after {
  content: "";
  width: 60%;
  max-width: 115px;
  height: 0;
  display: block;
  border-bottom: 4px solid var(--orange);
  margin: 10px auto;
}

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

/* Links */
a {
  color: var(--green);
  text-decoration: underline;
}

a:visited {
  color: var(--green);
}

a:hover,
a:focus,
a:active {
  color: var(--green);
}

a:focus {
  outline: thin dotted;
}

/* Buttons */
a.button-green {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  transition: 0.3s;
}

a.button-green:hover {
  background-color: var(--green-hover);
}

/* Text colors */
.green-text {
  color: var(--green);
}

.red-text {
  color: #e74c3c !important;
}

/* No Gutter */
.row.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.row.no-gutter [class*="col-"]:not(:first-child),
.row.no-gutter [class*="col-"]:not(:last-child) {
  padding-right: 0;
  padding-left: 0;
}
