@import "css-modules/typography.css";
@import "css-modules/variables.css";

/* ----------------------------------------------- */
/* BASIC SETUP */
/* ----------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* ----------------------------------------------- */
/* REUSABLE COMPONENTS */
/* ----------------------------------------------- */


.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

.separator {
    border-bottom: 1px solid var(--color-grey);
}

/* ----- PARAGRAPHS ----- */

.box p {
    font-size: 90%;
    line-height: 145%;
}


/* ----- ICONS ----- */

.icon-big {
    font-size: 350%;
    display: block;
    color: var(--color-primary-500);
    margin-bottom: 10px;
}

.icon-small {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: var(--color-primary-500);
    font-size: 120%;
    margin-right: 10px;

    /*secrets to align text and icons*/
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

/* ----- LINKS ----- */

a:link,
a:visited {
    color: var(--color-primary-500);
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid var(--color-primary-500);
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #555;
    border-bottom: 1px solid transparent;
}

/* ----- BUTTONS ----- */

.btn,
.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 5px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
    margin: 0 30px 0 0;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: var(--color-primary-500);
    border: 1px solid var(--color-primary-500);
    color: #fff;
    margin-right: 15px;

}

.btn-ghost {
    margin-bottom: 1rem;
}

.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid var(--color-secondary-500);
    color: var(--color-secondary-500);
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: var(--color-primary-500);
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid var(--color-primary-500);
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid var(--color-primary-500);
    color: #fff;
}

.btn {
    cursor: pointer;
}

body .btn-click:hover {
    cursor: pointer;
}

/* ----------------------------------------------- */
/* NAVIGATION */
/* ----------------------------------------------- */

/* Top menu*/
.top-menu {
    background-color: #fff;
    height: var(--menu-height);
    margin: 0 2rem 0 1rem;
}

/* Main navi */
.main-nav {
    float: right;
    list-style: none;
    margin-top: 25px;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a,
.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 4px solid var(--color-primary-500);
    color: var(--color-secondary-500);
    cursor: pointer;
}

.top-menu .logo {
    height: 2rem;
    width: auto;
    float: left;
    margin-top: 18px;
}

.material-icons.hamburger-menu-icon {
    float: right;
    margin-top: 22px;
    display: none;
}

/* ----------------------------------------------- */
/* HERO */
/* ----------------------------------------------- */

.hero-container {
    background: linear-gradient(180deg, rgb(237, 242, 246) 0%, rgba(255, 255, 255, 1) 100%);
    background-size: cover;
    background-position: center;
    padding-top: 2rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hero-text-box {
    padding-top: 5rem
}

/* ----------------------------------------------- */
/* SCREENSHOT ILLUSTRATION */
/* ----------------------------------------------- */


.illustration-container {
    padding: 1rem 0 5rem;
}

.screenshot-illustration {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}


/* ----------------------------------------------- */
/* FEATURES */
/* ----------------------------------------------- */

.section-features {
    background: linear-gradient(180deg, rgb(237, 242, 246) 0%, rgba(255, 255, 255, 1) 7%);
    background-size: cover;
    background-position: center;
}

.section-features-title {
    padding-bottom: 7rem;
}

.section-features h3 {
    text-align: center;
}

/* ----------------------------------------------- */
/* TESTEN */
/* ----------------------------------------------- */

.section-testen .row {
    background: #eee;
    padding: 5em;
}

.section-testen h4,
.section-testen h3 {
    text-align: center;
}

.section-testen .btn {
    margin: 24px auto;
}

.konstelos-testen-btn {
    display: block;
    width: 200px;
    margin: auto;
}


/* ----------------------------------------------- */
/* CONTACT */
/* ----------------------------------------------- */

.section-contact {
    background-color: var(--color-secondary-300)
}

.section-contact-email-contact {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.section-contact-email-contact span {
    margin: 0 1rem;
}

.section-contact-email-contact form {
    margin: 0 3rem;
}

.section-contact-email-contact .form-text {
    padding-top: 10px;
}

.form-email {
    max-width: 300px;
    display: inline-block;
    font-weight: 300;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid var(--color-secondary-500);
    padding: 7px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1.5rem;

}

.form-email button {
    border: none;
    background: none;
    color: var(--color-text);
    font-size: 1.5rem;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    font-size: 1rem;
}



*:focus {
    outline: none;
}

/* ----------------------------------------------- */
/* FOOTER */
/* ----------------------------------------------- */


select {
    padding: 12px;
    border: 1px solid var(--color-secondary-500);

}

footer {
    background-color: var(--color-secondary-300);
    padding: 50px;
}

.footer-nav {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: baseline;

}

.footer-nav li {
    padding: 3rem;
}

.footer-nav li a:link,
.footer-nav li a:visited {
    text-decoration: none;
    border: 0;
    color: var(--color-text);
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: var(--color-secondary-500);
}

footer p {
    text-align: center;
    font-size: 0.875rem;
}

footer .logo {
    height: 3rem;
    display: block;
    margin: auto;
}

footer a:hover {
    cursor: pointer;
}

.md-16.material-icons {
    font-size: 1rem;
    transform: translateY(3px);
    padding: 5px;
}

/* ----------------------------------------------- */
/* Drawers */
/* ----------------------------------------------- */

#datenschutz ul {
    padding-left: 1rem;
}