/*!
Theme Name: wp-theme_planetsmartcity--basic
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-theme_planetsmartcity-basic
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

:root {
	--foo-fighters-black: #212529;
	--foo-opacity: #8a8a8a;
	--stone-blue: #2072E3;
	--white: #FFFFFF;	
}

html {
	scroll-behavior: smooth;
	/* For browsers that support it */
}

body {
	font-family: "Noto Sans", sans-serif;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	/* Fallback for Safari */
}

html, body, input, textarea, button {
	box-sizing: border-box;
}

main{
	padding: 0 16px;
}

details :not(summary) {
	color: var(--foo-opacity);
    font-size: 14px;
	font-style: italic;
}

details summary{
	cursor: pointer;
	text-decoration: underline;
}

h1, h2, h3{
	font-family: "Noto Serif", serif;
	font-size: clamp(50px,calc((72/1224) * 100 * 1vw),72px);
	font-weight: 600;
	line-height: clamp(48px,calc((76/1224) * 100 * 1vw),76px);
	margin-bottom: 0;
}

h1 {
	margin: 24px 0 32px 0;
}

@media screen and (min-width: 768px){
	h1 {
		text-align: center;
	}
}

h2 {
	font-size: clamp(24px,calc((32/1224) * 100 * 1vw),32px);
    line-height: clamp(30px,calc((36/1224) * 100 * 1vw),36px)
}

h3{
	font-size: clamp(16px,calc((20/1224) * 100 * 1vw),20px);
    line-height: clamp(24px,calc((30/1224) * 100 * 1vw),30px);
}

p+h2, p+h3{
	margin-top: 32px;
}

/* Wrapper */

@media screen and (min-width: 768px){
	.wrapper {
		margin: auto;
		max-width: 844px;
	}
}

/* Form */

/*form p{
	opacity: 0;
}

form p:first-of-type{
	opacity: 1;
}

form p:has(input:focus) + p{
	opacity: .5;
}

*/

.contact-form {
	margin-top: 32px;
}

.contact-page__wrapper {
	display: flex;
	flex-direction: column;
	gap: 100px;
	justify-content: space-between;
	padding-top: clamp(0px, calc((55/1224) * 100 * 1vw), 55px);
}

.contact-form__container {
	max-width: 100%;
}

.contact-form__container p {
	font-size: clamp(16px, calc((20/1224) * 100 * 1vw), 20px);
	font-weight: 400;
	line-height: clamp(24px, calc((30/1224) * 100 * 1vw), 30px);
	letter-spacing: -.5px;
}

.radio__container,
.wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 19px;
	margin-bottom: 56px;
	align-content: stretch;
}

.contact-form__input,
.wpcf7-text, .wpcf7-date, .wpcf7-select {
	border-radius: 8px;
	border: 1px solid #ccc;
	font-family: 'Work Sans', sans-serif;
	padding: 13px;
	width: 100%;
}

.contact-form__input+.contact-form__input {
	margin-top: 32px;
}

.wpcf7-form-control-wrap textarea {
	border-radius: 8px;
	border: 1px solid #ccc;
	font-family: 'Work Sans', sans-serif;
	padding: 13px;
	resize: none;
	width: -webkit-fill-available;

}

.wpcf7-submit {
	background-color: var(--stone-blue);
	border-radius: 30px;
	border: none;
	color: var(--white);
	font-size: 14px;
	line-height: normal;
	padding: 10px 20px;
	text-decoration: none;
	width: max-content;
}

[data-class="wpcf7cf_group"] p label,
.form__disclaimer {
	color: var(--foo-opacity);
	display: block;
	font-size: 14px;
	letter-spacing: -.5px;
	margin-top: 48px;
	line-height: 22px;
}

.form__disclaimer+.button {
	display: block;
	margin-top: 48px;
}

.wpcf7-list-item {
	align-items: center;
	display: flex;
	letter-spacing: -.5px;
	margin: 0;
}

@media screen and (min-width: 768px){
	.wpcf7-checkbox{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

.wpcf7-list-item input[type="checkbox"] {
	margin-right: 8px;
}

[data-class="wpcf7cf_group"],
[data-class="wpcf7cf_group"] input {
	margin-top: 24px;
}

/* shame */

main{
	margin-bottom: 50px;
}

footer{
	background-color: var(--foo-fighters-black);
	color: var(--white);
	font-size: 12px;
	font-weight: 300;
	padding: 16px;
	text-align: center;
}

.wpcf7-form-control-wrap{
	display: inline-block;
	margin-top: 8px;
	width: 100%;
}

.wpcf7-not-valid-tip {
	font-size: 14px;
	margin-top: 8px;
}

.grid{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	column-gap: 32px;
}

@media screen and (min-width: 768px){
	.grid--2{
		grid-template-columns: repeat(2, 1fr);
	}
	.grid--3{
		grid-template-columns: repeat(3, 1fr);
	}
	.grid--4{
		grid-template-columns: repeat(4, 1fr);
	}
}

.grid--center{
	height: 100svh;
	display: grid;
    align-items: center;
    align-content: center;
    justify-content: space-around;
	text-align: center;
}

.logo{
	display: block;
	margin: 16px auto 0 auto;
	width: 120px;
}





