/*
Theme Name: New custom template
Author: NEW
Version: 2
Description: Required plugins: Yoast SEO
*/

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/Inter-Thin.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/Inter-ExtraLight.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/Inter-Light.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Inter-Regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/Inter-Medium.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/Inter-SemiBold.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Inter-Bold.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/Inter-ExtraBold.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/Inter-Black.woff2') format('woff2'); 
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
:root {
    --white: #FFFFFF;
    --bg: #1b1b22;
    --text-color: #161616;
    --black: #161616;
    --accent: #EF6110;
    --accent-hover: #CF4B00;
    --advantages: #3CC842;
    --disadvantages: #EE2927;
	--h1-color: #161616;
    --h1: 800 32px/34px 'Inter';
    --h2: 800 28px/30px 'Inter';
    --h3: 700 22px/24px 'Inter';
    --text3: 600 20px/36px 'Inter';
    --text2: 600 18px/30px 'Inter';
    --text1: 400 16px/24px 'Inter';
    --text1-small: 400 12px/14px 'Inter';
    --text1-bold: 700 16px/24px 'Inter';
}
body {
    font-family: 'Inter', 'Trebuchet MS';
    font: var(--text1);
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text-color);
}
main {
    min-height: 75vh;
}
.container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
}
.header {
    background-color: var(--bg);
}
.header .container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
.header-menu {
    display: flex;
    gap: 70px;
    list-style-type: none;
    margin: 0;
}
.header-menu a {
    color: var(--text-color);
    text-decoration: none;
}
.header-menu a:hover {
    text-decoration: none;
}

.header-menu li {
    transition: 0.2s;
}

.header-menu li:hover {
    transform: scale(1.2);
    transition: 0.2s;
}

.menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.menu-button div {
    width: 24px;
    height: 3px;
    border-radius: 1px;
    background-color: #ffffff;
}
.header-buttons {
    display: flex;
    gap: 20px;
}

.button, .wp-block-button__link {
    height: 50px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 8px;
    color: var(--black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font: var(--text2);
    font-weight: 400;
    text-transform: uppercase;
    z-index: 100;
    transition: 0.2s;
    background-color: var(--accent);
}

.button:hover, .wp-block-button__link:hover {
    opacity: 0.85;
    transform: scale(1.05);
    transition: 0.2s;
}
.header-buttons .button1 {
    background-color: transparent;
    border: 3px solid var(--white);
}
.header-buttons .button1:hover {
    border: 3px solid var(--accent);
    color: var(--accent);
}

.button2 {
    background-color: var(--bg);
    color: var(--text-color);
}

.wp-block-table {
    border: 4px double var(--accent);
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 200;
    padding: px;
}

table thead th {
    font-weight: bold;
    text-align: left;
    border: none;
    padding: 10px 15px;
    background: var(--accent);
    font-size: 14px;
}


table tbody td {
	border: none;
	padding: 10px 15px;
	font-size: 16px;
	vertical-align: top;
}

table tbody tr:nth-child(odd) {
    background: hsla(0,0%,50.2%,.0705882353);
}

table tbody tr:first-child {
    background: hsla(0,0%,50.2%,.0705882353);
}

table tbody tr:first-child td {
    font-size: 16px;
    color: var(--text-color);
}


.wp-block-table td, .wp-block-table th {
    border: none;
}

h1 {
    margin-top: 0;
    margin-bottom: 0;
    font: var(--h1);
    color: var(--h1-color);
    z-index: 100;
}
h2 {
    margin: 1em 0;
    font: var(--h2);
    color: var(--text-color);
    padding-bottom: 10px;
}

h3 {
    margin: 1em 0;
    font: var(--h3);
}

p {
    margin: 1em 0;
    font: var(--text1);
    font-weight: 300;
}
.footer {
    background-color: var(--bg);
    color: var(--text-color);
    min-height: 110px;
    display: flex;
    clear: both;
    flex-flow: column nowrap;
    padding: 50px 0;
    gap: 20px;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--accent);
    padding-top: 20px;
}
.copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    /* width: 100%; */
    font-weight: 200;
}
.disclaimer {
    text-align: center;
}

#footer-menu {
    display: flex;
    gap: 20px;
    flex-flow: row nowrap;
    list-style: none;
}

#footer-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 200;
}

#footer-menu li a:hover {
    color: var(--accent);
}

article {
    padding: 35px 0;
}
article ul, article ol {
    list-style: none;
    margin: 1em 0;
}
article ul {
    gap: 0;
}
article a {
    color: var(--second-color);
}
article a:hover {
    text-decoration: none;
}
article li {
    padding: 8px 16px 8px 34px;
    border-radius: 6px;
    position: relative;
    font: var(--text1);
}
article ul li::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 2px dotted var(
    --text-color);
    position: absolute;
    top: calc(50% - 8px);
    left: 6px;
}
article ol {
    counter-reset: ol-counter;
}
article ol li::before {
    background-color: var(--accent);
    border: 3px dotted var(--text-color);
    color: var(--bg);
    border-radius: 20px;
    width: 22px;
    height: 22px;
    position: absolute;
    top: calc(50% - 14px);
    left: 0;
    content: counter(ol-counter);
    counter-increment: ol-counter;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocked {
    background-color: hsla(0,0%,50.2%,.0705882353);
    padding: 5px 20px 20px;
    border-radius: 8px;
}

.schema-faq {
    margin: 1em 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.schema-faq-section {
    position: relative;
    padding-left: 20px;
}
.schema-faq-section::before {
    content: '';
    height: 7px;
    width: 7px;
    left: 0;
    top: 7px;
    display: block;
    position: absolute;
    border-left: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(228deg);
}

.schema-faq-section.open h3 {
    color: var(--accent);
}

.schema-faq-section.open::before {
    top: 5px;
    transform: rotate(315deg);
}
.schema-faq-section h3 {
    margin: 0;
}
.schema-faq-question {
    cursor: pointer;
	user-select: none;
}
.schema-faq-answer {
    display: none;
}
.open .schema-faq-answer {
    display: block;
}
.proscons {
    gap: 20px;
    margin: 1em 0;
}
.proscons > div {
    border-radius: 10px;
    border: 2px solid var(--advantages);
}
.proscons > div h3 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    color: var(--white);
}
.proscons > div:nth-of-type(1) {
    border: 2px solid var(--advantages);
}
.proscons > div:nth-of-type(1) h3 {
    background-color: var(--advantages);
}
.proscons > div:nth-of-type(2) {
    border: 2px solid var(--disadvantages);
}
.proscons > div:nth-of-type(2) h3 {
    background-color: var(--disadvantages);
}
.proscons ul {
    margin: 10px 0;
}
.proscons li {
    font: var(--text1);
}
.proscons li::before {
    width: 12px;
    height: 12px;
    border: none;
    left: 16px;
    top: calc(50% - 6px);
}
.proscons > div:nth-of-type(1) li::before {
    background-color: var(--advantages);
}
.proscons > div:nth-of-type(2) li::before {
    background-color: var(--disadvantages);
}
.top {
    margin-top: 20px;
}
.top_b {
    width: 100%;
    height: 350px;
    position: relative;
    aspect-ratio: 80 / 35;
    background-size: cover;
    margin: 0 auto 0 auto;
    gap: 20px;
    background-position: right;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--accent);
    border-radius: 10px;
    overflow: hidden;
}
.top_b::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #00000080;
    top: 0;
    left: 0;
}

.top_b__title {
    color: var(--white);
    font: 300 25px/25px 'Inter';
    z-index: 100;
}

.top_b__buttons {
    z-index: 100;
    display: flex;
    gap: 20px;
}

.review__block {
    display: flex;
    border: 1px solid var(--accent);
    background-color: var(--review);
    padding: 20px;
    border-radius: 10px;
    flex-flow: column;
    gap: 20px;
}

.author__title p {
    display: flex;
    gap: 5px;
    position: relative;
    flex-flow: column nowrap;
    padding-left: 60px;
}

.author__title strong {
    font-size: 24px;
}

.author__review {
    border-top: 2px solid var(--accent);
    padding-top: 25px;
    margin: 0;
}
.author__title p:before {
    content: '';
    height: 50px;
    width: 50px;
    left: 0;
    top: -4px;
    position: absolute;
    background-image: url(images/author.svg);
}

.author__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social__links {
    display: flex;
    gap: 10px;
}

.social__link {
    display: flex;
    height: 32px;
    width: 32px;
    background-color: var(--accent);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.social__link.fb {
	background-image: url(images/fb.svg);
}

.social__link.in {
	background-image: url(images/in.svg);
}

@media (max-width: 1600px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    article {
        padding: 20px 0;
    }
}
@media (max-width: 1200px) {
    .header .container {
        max-width: 100%;
        position: relative;
        gap: 20px;
    }
    .site-logo {
        flex-grow: 1;
    }
    .menu-button.open div {
        background-color: var(--accent);
    }
    .menu-button {
        display: flex;
        position: relative;
    }
    .header-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 0;
        gap: 20px;
        min-width: 300px;
        max-width: 450px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 118px;
        padding: 30px;
        background-color: var(--bg);
        z-index: 10;
    }
    .header-nav.open {
        display: flex;
        z-index: 1000;
    }
    .header-menu {
        flex-direction: column;
        gap: 20px;
    }
    .header-buttons {
        display: flex;
    }
    .alignright, .alignleft {
        float: unset;
        margin: 10px 0;
        max-width: 100%;
        height: auto;
    }
    table td {
        padding: 15px 20px;
    }
    .schema-faq {
        gap: 10px;
    }
    .schema-faq-section {
        padding: 14px 46px 14px 20px;
    }
    .schema-faq-section::before {
        top: 20px;
    }
    .schema-faq-section.open::before {
        top: 20px;
    }
    .proscons {
        gap: 10px;
    }
}
@media (max-width: 900px) {
    .top {
        padding: 30px 0;
    }
    .top_b {
        margin: 20px auto 0 auto;
        padding: 30px 30px;
    }
    .top_b__title {
        font: 700 40px/40px 'Inter';
    }
}
@media (max-width: 600px) {
    :root {
        --h1: 800 28px/30px 'Inter';
        --h2: 800 24px/26px 'Inter';
        --h3: 700 20px/22px 'Inter';
        --text2: 600 20px/26px 'Inter';
        --text1: 400 16px/20px 'Inter';
        --text1-small: 400 12px/14px 'Inter';
        --text1-bold: 700 16px/20px 'Inter';
    }
    
    .social__links {
		flex-flow: column nowrap;
	}
    
    .header {
        height: 110px;
    }
    .header .container {
        height: 120px;
        flex-wrap: wrap;
        row-gap: 0;
        column-gap: 10px;
        align-items: flex-start;
    }
    .container {
        padding: 10px;
    }
    .menu-button {
        order: 2;
        margin-top: 12px;
    }
    .header-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .header-nav {
        width: 100%;
        max-width: 100%;
        top: 110px;
    }
    .header-buttons .button1, .header-buttons .button2 {
        padding-left: 30px;
        padding-right: 30px;
        height: 36px;
    }
    .footer .container {
        flex-flow: column nowrap;
    }
	
	.footer {
		padding: 10px 0;
		gap: 10px;
	}
	
	.footer .site-logo img {
		height: 100%;
		width: 200px;
	}
	
	#footer-menu {
		flex-flow: row wrap;
		justify-content: center;
	}
	
    .copyright {
        gap: 6px;
    }
    .copyright span {
        font-size: 16px;
    }
    .wp-block-table td, .wp-block-table th {
        padding: 10px;
    }
    article {
        padding: 0;
    }
    article ul  {
        gap: 0;
    }
    .top {
        padding: 0px 0;
        margin: 0;
    }
    .top_b {
        margin: 20px auto 0 auto;
        padding: 10px 10px;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .top_b__title {
        font: 300 20px/20px 'Inter';
    }
    .top_b .button {
        height: 42px;
        padding-left: 15px;
        padding-right: 15px;
    }
}