:root {
    --primary-color : #333;
    --secondary-color : #444;
    --overlay-color: rgba(0,0,0,0.5);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Catamaram', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

h1,h2,h3,h4 {
    line-height: 1.3;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

.logo {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
}

.logo img {
    margin-left: 50%;
    width: 50%;
}

.logo h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    margin: auto;
    margin-left: 0;
}
img{
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

.navbar {
    font-size: 1.2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.navbar .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.navbar .nav {
    justify-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav a {
    padding: 0 1rem;
}

.navbar .nav a:hover {
   color : #00cc66;
}

.section-a {
    margin: 2rem 0;
    padding-top: 5rem;
}

.section-a .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem;
    align-items: center;
    justify-content: center;
}

#kombucha .container img {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

#kombucha .container div {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}

.section-a h1 {
    font-size: 4rem;
    color: var(--primary-color);
}

.section-a p {
    margin: 1rem 0;
}

.section-b {
    position: relative;
    background: url(../img/IMG_0184.JPG) no-repeat center center/cover; 
    height: 600px;
}

.section-b-inner {
    font-family: 'PT Sans', sans-serif;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    max-width: 860px;
    padding: 5rem 0;
}

.section-b-inner h3 {
    color: #00cc66;
    font-size: 2rem;
}

.section-b-inner h2 {
    font-size: 3rem;
    margin-top: 1rem;
}

.section-b-inner p {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
}

.benif {
    display: block;
    text-align: left;
    font-size: 1.5rem;
    margin: auto;
}



.benif li {
    list-style-type: upper-alpha;
}

.section-b a {
    margin: 1rem;
    font-family: 'roboto', serif;
    font-size: 1.3rem;
}

.products {
    padding: 0;
    width: 40%;
    text-align: center;
    margin: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
    font-size: 1.8rem;
    border: 5px ridge #777777;
    border-radius: 20px;
}


.section-d {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



.slider {
    margin-bottom: 5vh;
    width: 900px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.slides {
    width: 500%;
    height: 600px;
    display: flex;
}


.slides input {
    display: none;
}

.slide {
    width: 20%;
    transition: 2s;
}

.slide img {
    width: 900px;
    height: 600px;
}


/*manual*/
.navigation-manual {
    position: absolute;
    width: 900px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn{
    border: 2px solid #00cc66;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background: #00cc66;
}

#radio1:checked ~ .first {
    margin-left: 0;
}
#radio2:checked ~ .first {
    margin-left: -20%;
}
#radio3:checked ~ .first {
    margin-left: -40%;
}
#radio4:checked ~ .first {
    margin-left: -60%;
}
#radio5:checked ~ .first {
    margin-left: -80%;
}
#radio6:checked ~ .first {
    margin-left: -100%;
}

/* automatic */
.navigation-auto {
    position: absolute;
    display: flex;
    width: 900px;
    justify-content: center;
    margin-top: 560px;
}

.navigation-auto div{
    border: 2px solid #00cc66;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child) {
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
    background: #00cc66;
}
#radio2:checked ~ .navigation-auto .auto-btn2 {
    background: #00cc66;
}
#radio3:checked ~ .navigation-auto .auto-btn3 {
    background: #00cc66;
}
#radio4:checked ~ .navigation-auto .auto-btn4 {
    background: #00cc66;
}
#radio5:checked ~ .navigation-auto .auto-btn5 {
    background: #00cc66;
}
#radio6:checked ~ .navigation-auto .auto-btn6 {
    background: #00cc66;
}


/*
.section-c .gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.section-c .gallery a:first-child {
    grid-row: 1/3;
    grid-column: 1/3;
}

.section-c .gallery a:nth-child(2) {
    grid-column: 3/5;
}
.section-c .gallery a:nth-child(4) {
    grid-column: 3/5;
}

.section-c .gallery img, .section-c .gallery a {
    width: 100%;
    height: 100%;
} 
*/
.section-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
}

.section-footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

.section-footer h3 {
    font-family: 'Amiri', sans-serif;
    line-height: 1.8rem;
}

.section-footer h2 {
    font-family: 'El Messiri', sans-serif;
    text-decoration: underline;
}

.section-footer .container div:nth-child(2) h3 {
    text-decoration: underline;
} 
.section-footer .container div:nth-child(3) h3 {
    text-decoration: underline;
} 

.section-footer li {
    list-style: none;
}

.section-footer a {
    margin-right: 1rem;
    color: #fff;
}

.section-footer a:hover {
    color: #00cc66;
}

.email-form {
    width: 100%;
    display: inline-block;
    background-color: #555;
    position: relative;
    border-radius: 20px;
    line-height: 0;
    margin-top: 1rem;
}

.email-form .form-control {
    display: inline-block;
    border: 0;
    outline: 0;
    font-size: 1rem;
    color: #ddd;
    background-color: transparent;
    font-family: inherit;
    margin: 0;
    padding: 0 3rem 0 1.5rem;
    width: 100%;
    height: 50px;
    border-radius: 20px;
}

.email-form .submit {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #eee;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    color: #333;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
}

.email-form .submit:hover {
    background-color: #00cc66;
}

/* utilites */

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn:hover {
    color: #00cc66;
    background-color: #444;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--overlay-color);
}

.section-b-inner a {
    margin-top: 40px;
}

@media(max-width: 720px) {
    .navbar .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .logo {
        border-right: rgba(0,204,102,0.2);
        border-right-style: solid;
        margin: 0;
        width: 100%;
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .logo img {
        width: 80%;
        margin: auto;
        margin-right: 0;
    }

    .logo h3 {
        font-size: 1.4rem;
        margin-right:1rem ;
        margin-left: 0;
        padding-left: 0;
    }

    .section-a .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-a .container div:first-child {
        order: 2;
    }
    .section-a .container div:last-child {
        order: -1;
    }

    .section-a img {
        width: 80%;
        margin: auto;
    }

    .section-b {
        height: 900px;

    }
    .benif {
        width: 90%;
    }    
    .section-b-inner li {
        list-style: upper-latin;
        margin: auto;
        font-size: 1.5rem;
    }

    .section-footer .container{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section-footer li {
        width: 50%;
        margin: auto;
        text-align: left;
    }
    

    #kombucha .container img {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    
    #kombucha .container div {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .slider {
        width: 600px;
        height: 400px;
    }
    .slides {
        width: 500%;
        height: 400px;
    }
    
    .slide {
        width: 20%;
    }
    
    .slide img {
        width: 600px;
        height: 400px;
    }

    .navigation-manual {
        width: 400px;
    }
    .navigation-auto {
        position: absolute;
        display: flex;
        width: 400px;
        justify-content: center;
        margin-top: 360px;
    }

    .products {
        font-size: 1rem;
    }
}