/*
Theme Name: aw.tech Minimal Gravity Theme
Description: A minimalistic WordPress theme for displaying Gravity Forms on Posts and Pages.
Author: Hauke Hille
Version: 1.0
*/

/* Basic styles */

/* open-sans-regular - latin */
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 300;
	src: local('Open Sans LightItalic'), local('OpenSans-LightItalic'),
		url('https://static.algorithmwatch.org/fonts/OpenSans-LightItalic.woff2') format('woff2');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans Regular'), local('OpenSans-Regular'),
		url('https://static.algorithmwatch.org/fonts/open-sans-v17-latin-regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans Bold'), local('OpenSans-Bold'),
		url('https://static.algorithmwatch.org/fonts/open-sans-v17-latin-700.woff2') format('woff2');
}


html {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
}


body {
    color: rgb(25, 25, 25);
    background-color: rgb(234, 237, 242);
    line-height: 1.5em;
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

body * {
    box-sizing: border-box;
}

p:empty,
h1:empty,
h2:empty,
h3:empty,
h4:empty {
    display: none;
}

p {
    max-width: 905px;
    margin-block-end: 1.3rem;
}

h1 {
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.2em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 1.6rem;
        line-height: 1.2em;
    }
}

h2 {
    font-weight: 800;
    font-size: 1.2rem;
}

h3 {
    font-size: 1rem;
    font-weight: 800;
}

h4 {
    font-size: .8rem;
    font-weight: 400;
    text-transform: uppercase;
}

a {
    color: rgb(34, 176, 230);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul{
    padding-inline-start: 1rem;
}

header,
footer,
main {
    min-height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgb(250, 250, 250);
}

body.admin-bar header {
    top: 32px;
}

.has-background{
    border-radius: 4px;
    padding: 1rem!important;
    width: 100%;
}
.awtech-inner {
    padding: 1rem;
}

.awtech-footer-grid,
.wp-block-columns {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
}

.wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

.awtech-footer-grid ul,
.wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awtech-logos {
    display: flex;
    gap: 2em;
    margin: 2rem 0 2rem;
}

.awtech-logos > a {
    flex: 1;
}

.awtech-logos img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

.aw-mb-1 {
    margin-bottom: 1rem;
}
.aw-mt-1 {
    margin-top: 1rem;
}

.aw-mb-2 {
    margin-bottom: 2rem;
}
.aw-mt-2 {
    margin-top: 2rem;
}

header:after,
footer:before {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(to right, #af140f, #e6a507, #247427, #22afe5, #493553, #af140f);
}


.homepage-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.homepage-logo img {
    width: 50vw;
    max-width: 905px;
}

.d-m-grid-1fr-1fr {
	display: grid;
	grid-template-rows: auto auto;
	grid-gap: 2rem;
}

@media (min-width: 1200px) {
    .awtech-inner {
        width: 90%;
        margin: 0 5%;
    }
    .d-m-grid-1fr-1fr {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
    }
}


/* Gravity Forms styling */
.gform_wrapper {
    font-family: "Open Sans", sans-serif;
    color: rgb(25, 25, 25);
    line-height: 1.5em;
    font-size: 1rem;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea {
    border: 1px solid rgb(50, 63, 77);
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    max-width: 600px;
}

.gform_wrapper .gform_footer input[type="submit"] {
    background-color: rgb(50, 63, 77);
    color: rgb(234, 237, 242);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}