:root {
  --primary: #0E1122;
  --secondary: #FA0F24;
  --light: #FFFFFF;
  --spacing: 30px;
}

body,
html {
    background: var(--primary);
    color: var(--light);
    box-sizing: border-box;
    padding: 0;
    margin: 0;

    font-family: Avenir, system-ui, sans-serif;
    font-weight: normal;
    font-size: 17px;

    background: var(--primary) url('../img/bg.jpg') no-repeat;
    background-position: center -105px;
    background-size: 512px;

    @media screen and (min-width: 600px) {
        background-size: 1024px;
        background-position: center -210px;
    }
}

h1 {

}

h2 {
    font-size: 22px;
}

h3, h4, h5, h6 {
    font-weight: bold;
    font-size: 28px;
    margin: .5rem auto;
}

p {
    margin: .5rem 0 1rem;
}

a {
    color: var(--light);

    &.button {
        display: inline-block;
        background: var(--secondary);
        color: var(--light);
        padding: .6rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        transition: background 0.15s ease;
        border: 1px solid var(--secondary);

        &:hover {
            background: transparent;
            color: var(--light);
            border-color: var(--light);

        }
    }
}

.headline {
    font-size: 22px;
    text-align: center;
    margin-bottom: 2rem;
    
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 30px;

    @media screen and (min-width: 600px) {
        padding: 150px 30px 30px;
    }
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 100px;
    height: 100px;
    object-fit: cover;

    @media screen and (min-width: 600px) {
        width: 200px;
        height: 200px;
    }
}

.logo {
    width: 100%;
    max-width: 205px;
    height: auto;
    margin: 1rem 0 1rem;

    @media screen and (min-width: 600px) {
        max-width: 410px;
        margin: 1rem 0 1rem;
        width: 100%;
        max-width: 410px;
        }


    img {
        display: block;
    }

    span {
        text-indent: 9999px;
        color: rgba(255,255,255,0);
        visibility: hidden;
        display: none;
    }
}

.main {
    
    .main__intro {
        max-width: 600px;
        margin: 2rem auto;
        text-align: center;
    }

    .main__features {
        margin: 30px auto;
        max-width: 850px;

  
    }

    .main__features--feature {
        display: flex;
        background: rgba(255,255,255,.05);
        padding: .5rem 1rem 0;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
}

@media screen and (min-width: 600px) {


    .main__features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
            margin: 50px auto;

            grid-gap: 30px;
    }
}

.columns {
    display: grid;
    
    &.two {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

.footer {

}

img {
    max-width: 100%;
    height: auto;
}

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

.feature-image {
    display: inline-block;
    transform: translateY(4px);
    animation: shadow 5s infinite ease-in-out;
}

.download {
    display: inline-block;
    margin: 30px auto 0 auto;
}

@keyframes shadow {
    0% {
        box-shadow: 0 0 20px 10px rgba(255,255,255,.05);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255,255,255,.3);
    }
    100% {
        box-shadow: 0 0 20px 10px rgba(255,255,255,.05);
    }
}

