@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

:root {
    --accent: #3DB45E;
    --white: #777;
    --light: #f4f4f4;
    --overlay: rgba(23,25,29,0.8);
    --ease: all 0.3s ease 0s;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: white;
}

p, button, h1, h4 {
    color: var(--light);
}

p, h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    
}

h4, button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
   
}

p, h4 {
    font-size: 18px;
}

button {
    cursor: pointer;
    transition: var(--ease);
}

button:hover {
    transform: scale(1.1);
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "top__section"
    "content__section"

}

.top__section {
    grid-area: top__section;
    min-height: 370px;
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-areas: 
    ". header .";
     background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(slike_biljaka/detoks/slika2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header p {
    max-width: 570px;
    margin-bottom: 30px;
}

header button {
    width: 131px;
    padding: 12px 0;
    background-color: var(--accent);
    border: none;
}

.content__section {
    grid-area: content__section;
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-areas: 
    ". playlist__one ."
    ". playlist__two ."
    ". playlist__three ."
    ". playlist__four ."
    ". playlist__five ."
    ". playlist__six .";
    margin-bottom: 60px;
}

.playlist__one {
    grid-area: playlist__one;
}

.playlist__two {
    grid-area: playlist__two;
}
.playlist__three {
    grid-area: playlist__three;
}

.playlist__four {
    grid-area: playlist__four;
}
.playlist__five {
    grid-area: playlist__five;
}

.playlist__six {
    grid-area: playlist__six;
}

.playlist__title {
    margin: 30px 0;
    color: black;
}

.videos {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
    padding-bottom: 100px;
}
.smanjeni_video{
    width: 70%;
}
.video {
    height: 180px;
    grid-column-start: span 3;
    position: relative;
    transition: var(--ease);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video:hover {
    transform: scale(1.07);
    
}

.video i {
    cursor: pointer;
    font-size: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--light);
    opacity: 0.85;
    transition: var(--ease);
    
}

.video i:hover {
    opacity: 1;
    
}
.video  .active{
    position: fixed;
    top: 50%;
    left:50%;
    transform translate(-50%, -50%);
    height: auto;
    width:70%;
    box-shadow: 0 0 0 100vh rgba(0,0,0,.7);
    z-index:1;

}

@media only screen and (max-width: 1200px) {
    .video {
        grid-column-start: span 6;
        height: 240px;
    }
}

@media only screen and (max-width: 800px) {
    .video {
        grid-column-start: span 12;
    }
}