/*
Theme Name: Mega Voter
Author: CPM
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: mega-voter
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 1.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
  scroll-behavior: smooth;
}
:root {
  --primary-text-color: #6f42c1;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* @import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); */

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
strong {
  font-family: "Acme", sans-serif;
  font-weight: 700;
  font-style: normal;
}
h5,
h6,
p,
a,
li {
  font-family: "Ubuntu", sans-serif;
  font-style: normal;
}
p a,
h6 a {
  color: #6f42c1 !important;
  text-decoration: none;
}
h2 {
  font-size: 38px !important;
}
/* style for pages */
main > .wp-block-group {
  display: none;
}
main {
  margin: 0;
  padding: 0;
}
.mv-header a {
  text-decoration: none !important;
}
.mv-header nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--primary-text-color);
  transition: width 0.3s;
}
.mv-header nav ul li:last-child a::after {
  height: 0;
}

.mv-header nav a:hover::after {
  width: 100%;
}
a.wp-element-button {
  box-shadow: none;
  border-width: 1px !important;
  border-style: solid !important;
}
a.wp-element-button:hover {
  color: var(--primary-text-color);
  background-color: #fff;
  border-color: var(--primary-text-color);
  border-width: 1px !important;
  border-style: solid !important;
}
.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wpcf7-checkbox span {
  color: var(--primary-text-color);
  font-size: 18px;
  margin-left: 0;
}
.wpcf7-form input.wpcf7-submit {
  background: var(--primary-text-color);
  border: transparent;
  color: #fff;
  padding: 16px 72px;
  margin-top: 15px;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
}
.wpcf7-form br {
  display: none;
}
.mv-quotes {
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgb(57 34 99) 100%,
    rgb(0 212 255) 100%
  ) !important;
}
.vm-cards-section .wp-block-column {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  padding: 50px;
}
.mv-check-vouchers {
  list-style-type: none;
  padding-left: 0;
}
.mv-check-vouchers li:before {
  content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  margin-right: 10px;
  cursor: pointer;
}
.mv-check-vouchers li.checked::before {
  content: "\f14a";
  color: var(--primary-text-color);
}
.mv-track-cookies::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  margin-left: 5px;
  color: var(--primary-text-color);
}
.mv-track-cookies a:hover {
  border: transparent;
}
.mv_popup .modal-header {
  justify-content: center;
  border-bottom: transparent;
}
.mv_popup .modal-footer {
  border-top: 2px solid #6f42c1;
  padding-top: 30px;
  margin-top: 30px;
}
.mv_popup .modal-content {
  padding: 40px;
}
.mv_popup .modal-dialog {
  max-width: 60%;
}
.mv_popup button:not(button.btn-close) {
  background: #6f42c1;
  padding: 10px 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: transparent;
  border-radius: 0;
  border: 1px solid;
}

.mv_popup button:hover:not(.btn-close) {
  background-color: #fff;
  border: 1px solid;
  color: #6f42c1;
}
.mv_popup .modal-content {
  max-height: 800px;
  overflow: auto;
  border-radius: 20px;
}
#mv_modal_2 figure {
  margin: 20px 0;
}
#mv_modal_2 img {
  width: 50%;
  display: flex;
  margin: auto;
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 32px;
  }
  .mv-footer .wp-block-site-logo,
  .mv-footer p {
    text-align: center;
  }
  .has-global-padding {
    padding-right: 15px;
    padding-left: 15px;
  }
  .mv-header > .wp-block-group {
    padding: 0 !important;
  }
  .vm-cards-section .wp-block-column {
    padding: 20px;
  }
  .mv_popup .modal-content {
    padding: 20px;
  }
}
@media screen and (min-width: 600px) {
  .mv-header nav ul li:last-child a {
    background-color: var(--primary-text-color);
    padding: 8px 30px;
    border-radius: 0px;
    border: 1px solid;
  }
  .mv-header nav ul li:last-child a span {
    color: #fff;
  }
  .mv-header nav ul li:last-child a:hover {
    background-color: #fff;
    color: var(--primary-text-color);
  }
  .mv-header nav ul li:last-child a:hover span {
    color: #6f42c1;
  }
}
@media (width <= 1024px) {
  .mv_popup .modal-dialog-centered {
    max-width: 100%;
  }
}
