@font-face {
    font-family: golos;
    src: url(fonts/golos-text_regular.ttf);
}

@font-face {
    font-family: golosbold;
    src: url(fonts/golos-text_bold.ttf);
}

@font-face {
    font-family: logo;
    src: url(fonts/logo.ttf);
}

:root {
    --black: #000;
    --white: #fff;
    --secondary-color-1: #ffa500;
    --secondary-color-2: #0b0d3c;
    --secondary-color-3: #511d60;
    --secondary-color-4: #8b357c;
    --background-color-dark: #4e4e4e;
    --background-color-light: #fafafa;
    --text-color-dark: #111;
    --text-color-light: #f1f1f1;

}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: golos;
    background-color: var(--background-color-light);
}

header {
    background-color: var(--black);
    color: var(--white);
    padding: 10px;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    z-index: 10;
}

.header-container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    background-color: var(--black);
    overflow: hidden;
}

nav a {
    font-size: 18px;
    float: left;
    display: block;
    color: var(--white);
    text-align: right;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    color: var(--secondary-color-1);
}

.component {
    position: relative;
}

@media screen and (max-width: 600px) {
    nav a {
        display: none;
    }

    .box .top { 
        width: 100%;
    }

    #computer-img {
        margin-top: 40px;
    }

    #logo {
        margin: auto;
        display: block;
    }
}

footer {
    background-color: var(--black);
    color: var(--text-color-light);
    text-align: center;
    padding: 10px;
    width: 100%;
    height: auto;
    z-index: 2;
}

.footer-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.box {
    position: relative;
    margin: auto;
    overflow: hidden;
}

.text-xs {
    font-size: 16px;
    text-align: center;
    font-weight: lighter;
}

.text-s {
    font-size: 18px;
    text-align: center;
}

.text-m {
    font-size: 28px;
    text-align: center;
}

.text-l {
    font-size: 36px;
    text-align: center;
}

.bold {
    font-weight: bolder;
    font-family: golosbold;
}

.lspace {
    letter-spacing: 1px;
}

.dark {
    color: var(--text-color-dark);
}

.light {
    color: var(--text-color-light);
}

.w800px {
    max-width: 800px;
    height: auto;
    padding-bottom: 50px;
    padding: 50px;
}

.w1000px {
    max-width: 1000px;
    height: auto;
    padding: 50px;
}

.mg0 {
    margin-top: 0;
}

.mg10 {
    margin-top: 10px;
}

.mg20 {
    margin-top: 20px;
}

.box img {
    width: 50%;
    position: relative;
    height: auto;
    margin: auto;
    display: block;
    z-index: 2;
}

.box .top {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 15px 24px;
    height: 50px;
    text-align: center;
    /*width: 75%;*/
}

.box .bottom {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 2;
}

.button1 {
    background-color: var(--secondary-color-4);
    color: var(--text-color-light);
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px 12px 20px;
    border: 2px solid #00a7a7;
    cursor: pointer;
    border-radius: 25px;
    text-decoration: none;
}

.button1:hover {
    background-color: #00a7a7
}

.bg-gradient {
    background: linear-gradient(140deg, var(--secondary-color-2) 0%, var(--secondary-color-3) 100%);
}

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

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

.drop-shadow {
    -webkit-filter: drop-shadow(5px 5px 1px var(--text-color-dark));
    filter: drop-shadow(5px 5px 1px var(--text-color-dark));
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.cards {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.card {
    flex: 1 0 45%;
    margin: 10px;
    border: 2px solid #7c528d;
    border-radius: 10px;
    /*min-height: 100px;*/
    display: flex;
    flex-wrap: wrap;
    /*background-color: white;*/
}

.card-text {
    flex-grow: 1;
    padding: 0 10px 20px;
}

.card img {
    margin-top: 0;
    flex-grow: 1;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    filter: brightness(80%) contrast(100%) grayscale(20%) opacity(70%);
}

.card:hover {
    border: 2px solid #00a7a7;
    cursor: pointer;
}

.card img:hover {
    filter: brightness(80%) contrast(80%) grayscale(20%) opacity(100%);
}


input[type=text],
textarea,
select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 200px;
}
