html {
    scroll-behavior: smooth;
  }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.navLinks ul li:nth-child(4),
.footerAsideLeft ul li:nth-child(4){
    display: none;
}

body {
    background-color: #fff9ed;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
}

.ekrouBack,
.conVideo {
  background: none !important;
}


.nav-toggle { 
    display: none; 
}
.hamburger {
     display: none; 
    }
.close-btn {
     display: none; 
    }

/* header */
header {
    /* outline: 1px solid red; */
    margin: 0;
    width: 100%;
    background-color: black;
    display: grid;
    grid-template-rows: 150px;
    grid-template-columns: 30% 70%;
    grid-template-areas:
        "logo nav";
}

.logo {
    grid-area: logo;
}

.logo img {
    width: 28%;
}

div .navLinks {
    height: 100%;
    grid-area: nav;
}

header .navLinks {
    justify-self: flex-end;
    align-content: center;
}

div.navLinks ul {
    /* outline: 1px solid grey; */
    display: flex;
    flex-direction: row;
    list-style: none;
}

div.navLinks ul>li {
    padding: 20px;
    text-decoration: none;
}

div.navLinks ul li a {
    text-decoration: none;
    color:#fff9ed;
    font-family: 'Courier New', Courier, monospace;
    /* font-weight: lighter; */
    font-size: 26px;
}

div.navLinks ul li a img {
    height: 30px;
    position: relative;
    bottom: 4px;
}

.navLinks ul li::after {
    content: "";
    width: 0;
    height: 2px;
    background: #fff9ed;
    display: flex;
    margin: -4px 0 0 0;
    transition: 0.5s;

}

.navLinks ul li:hover::after {
    content: "";
    width: 105%;
}
.navLinks li:nth-child(1):hover::after{
    content: "";
    width: 0;
}

.navLinks a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #fff9ed;

}

/* heroVideo */
.conVideo {
    background-color: black !important;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 10% 80% 10%;
    grid-template-areas:
        "non video non";
    border-radius: 0 0 12% 12%;
}

.heroVideo {
    grid-row: 1/2;
    grid-column: 2/3;
}
.conVideo {
  margin-top: -1px; 
}

.heroVideo video {
    border-radius: 15px;
    width: 100%;
    height: 90%;
}

/* services */
.services {
    padding: 5% 0;
    display: grid;
    grid-template-rows: 70px 120px;
    grid-template-columns: 33% 33% 33%;
    grid-template-areas:
        "headServ headServ headServ"
        "leftServ middleServ rightServ";
}

.services img {
    display: block;
    margin: 0 auto;
    width: 40%;
}

.headServ {
    grid-area: headServ;
    justify-self: center;
    align-self: center;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 1.5%;
}

.leftServ {
    grid-area: leftServ;
    justify-self: center;
    align-self: center;
    font-size: 25px;
}

.middleServ {
    grid-area: middleServ;
    justify-self: center;
    align-self: center;
    font-size: 25px;
}

.rightServ {
    grid-area: rightServ;
    justify-self: center;
    align-self: center;
    font-size: 25px;
}

.rightServ img {
    display: block;
    margin: 0 auto;
    width: 50%;
}

/* featured works */
.Featured {
    background-color: black;
    color:#fff9ed;
    border-radius: 12%;
    display: grid;
    grid-template-rows: 120px 700px 100px;
    grid-template-columns: 30% 30% 30%;
    grid-template-areas:
        "featured featured featured"
        "first second third"
        "more more more";
    /* outline: 2px solid red; */
    justify-items: center;
    justify-content: center;
    align-items: center;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
}

.up {
    /* outline: 2px solid red; */
    grid-area: featured;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 39px;

}

.Featured p:not(.upp) {
    font-size: 25px;
    text-align: center;
    margin: 6% 0;
}

.leftF {
    grid-area: first;
    display: flex;
    flex-direction: column;
}

.Featured .centerF {
    grid-area: second;
    align-self: flex-start;
    display: flex;
    align-content: start;
    flex-direction: column-reverse;
}

.Featured .rightF {
    grid-area: third;
    display: flex;
    flex-direction: column;
}

.Featured video {
    width: auto;
    height: auto;
    max-height: 600px;
    border-radius: 15px;
}

.more {
    grid-area: more;
    /* justify-self: end; */
    padding: 10px 30px;
}

/* kindWords */
.ekrouBack {
    background-color: #fff9ed;
}

.kindWord {
    display: grid;
    grid-template-rows: 600px;
    grid-template-columns: 60% 40%;
    grid-template-areas:
        "words video";
    background-color: #fff9ed;
    margin: 5%;
}

.leftKind {
    grid-area: words;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.leftKind p {
    margin-bottom: 4%;
}

.leftKind p:nth-child(1) {
    font-weight: 300;
    font-size: 33px;
}

.leftKind p:nth-child(2) {
    font-size: 20px;
}

.leftKind a:nth-child(3) {
    font-size: 20px;
    color: black;
   
}

.kindWord video {
    align-self: center;
    height: 95%;
    border-radius: 15px;
}

/* up button */
.upBut {
    display: none;
    position: fixed;
    bottom: 10%;
    right: 3%;

}

.upBut img {
    cursor: pointer;
    transition: transform 0.3s;
}

.upBut img:hover {
    transform: scale(1.2);
}

/* Footer */
footer {
    margin-top: 5%;
    border-radius:20px 20px 0 0;
    height: 240px;
    width: 100%;
    display: grid;
    grid-template-rows: 90% 10%;
    grid-template-columns: 33% 33% 33%;
    grid-template-areas:
        "left center right"
        "copy copy copy";
    justify-content: center;
    align-content: center;
    justify-items: center;
    background-color: black;
    color: #fff9ed;
    
}

/* menu */
footer .footerAsideLeft {
    grid-area: left;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footerAsideLeft ul li {
    line-height: 2;
    list-style: none;

}

.footerAsideLeft ul li a {
    text-decoration: underline;
    color:#fff9ed;
    font-family: 'Courier New', Courier, monospace;
    font-weight: lighter;
    font-size: 18px;
}
.footerAsideLeft img{
    height: 35px;
}



/* logo */
footer .footerCenter {
    color: #fff9ed;
    grid-area: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    border-right: 0.1px solid #fff9ed;
    border-left: 0.1px solid #fff9ed;
    height: 90%;
}


footer .footerCenter p {
    justify-self: flex-start;
    align-self: center;
    position: relative;
    bottom: 10px;
}

footer .footerCenter img {
    justify-self: flex-start;
    align-self: center;
    overflow: hidden;
    max-width: 40%;
    min-width: 30%;
    height: auto;
}

/* contact */
footer .footerAsideRight {
    grid-area: right;
    justify-content: center;
    align-content: center;
}


.btn {
    cursor: pointer;
    border: none;
    padding: 7px 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #fff9ed;
    color: black;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
}

.btn:not(.more) {
    padding: 10px 25px;
}

.Featured a,
footer a {
    display: inline-block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: black;
}


.btn1:hover {
    transform: scale(0.90);
}

.btn1:active {
    transform: scale(0.70);
}


/* copyright */
footer .copyright {
    grid-row: 2/3;
    grid-column: 2/3;
    color: #fff9ed;
    font-weight: 100;

}



/* responsive mobile*/
@media screen and (max-width: 700px) {

    /* burger */
  .hamburger {
    display: block;
    width: 32px; 
    height: 24px;
    position: fixed; 
    top: 25px;
    right: 20px;
    cursor: pointer;
    z-index: 1002;
    
  }
  .hamburger span {
    position: absolute; left: 0; right: 0; height: 5px;
    background:#fff9ed;
    border-radius: 2px;
    transition: .3s;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { top: 20px; }

  /* Nav Drawer */
.navLinks {
    position: fixed;
    inset: 0;
    transform: scale(0);
    transform-origin: top right;
    transition: transform .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    z-index: 1001;
  }
  .navLinks ul {
    display:flex;
    flex-direction: column !important;
  } 

  /* When checked -> show menu */
   .nav-toggle:checked ~ .navLinks {
    transform: scale(1);
   }

  /* Turn burger into X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg); top: 10px;
    background:#fff9ed;
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
    background:#fff9ed;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg); top: 10px;
    background:#fff9ed;
  }

      .logo img {
        width: 100%;
        max-width: 180px;
        height: auto;
        margin: auto;
    }



    /* heroVideo */
    .conVideo {
        background-color: black;
        display: grid;
        grid-template-rows: 100%;
        grid-template-columns: 5% 90% 5%;
        grid-template-areas:
            "non video non";
        border-radius: 0 0 15px 15px;
        height: 100%;
    }

    .heroVideo {
        grid-row: 1/2;
        grid-column: 2/3;
        background-color: black;
    }

    .heroVideo video {
        border-radius: 15px;
        width: 100%;
    }


    /* services */
    .services {
        padding: 5% 0;
        display: grid;
        grid-template-rows: 70px 120px;
        grid-template-columns: 33% 33% 33%;
        grid-template-areas:
            "headServ headServ headServ"
            "leftServ middleServ rightServ";
    }

    .services img {
        display: block;
        margin: 0 auto;
        width: 40%;
    }

    .headServ {
        grid-area: headServ;
        justify-self: center;
        align-self: center;
        font-size: 30px;
        font-weight: 400;
        margin: 3%;
    }

    .leftServ {
        grid-area: leftServ;
        text-align: center;
        justify-self: center;
        align-self: start;
        font-size: 18px;
    }


    .middleServ {
        grid-area: middleServ;
        text-align: center;
        justify-self: center;
        align-self: start;
        font-size: 18px;
    }

    .rightServ {
        grid-area: rightServ;
        text-align: center;
        justify-self: center;
        align-self: start;
        font-size: 18px;
    }

    .rightServ img {
        display: block;
        margin: auto auto;
        width: 40%;
    }

    /* featured works */
    .Featured {
        background-color: black;
        color: aliceblue;
        border-radius: 15px;
        display: grid;
        grid-template-rows: 70px 500px 500px 70px;
        grid-template-columns: 90%;
        grid-template-areas:
            "featured"
            "first"
            "second"
            "more ";
        justify-content: center;

    }

    .up {
        grid-area: featured;
        font-size: 30px;
        font-weight: 200;
    }

    .Featured p:not(.upp) {
        font-size: 18px;
        text-align: center;
        margin: 2% 0;
        font-weight: 200;
        font-family: Bradley Hand, cursive;
    }

    .leftF {
        grid-area: first;
        display: flex;
        flex-direction: column;
        justify-self: left;
        height: 100%;
        /* padding-left: 10%; */
        margin-bottom: 20%;
    }

    .leftF p {
        transform: rotate(-90deg) translateX(-170px) translateY(137px);
    }

    .leftF video {
        width: auto;
        height: 90%;
        margin: auto;
    }

    .centerF {
        grid-area: second;
        display: flex;
        flex-direction: column;
        justify-self: end;
        height: 100%;
        /* padding-right: 10%; */
        margin-left: 20%;
    }
    

    .centerF p {
        transform: rotate(-90deg) translateX(200px) translateY(-150px);
    }

    .centerF video {
        width: auto;
        height: 90%;
        margin: auto;
    }

    .Featured .rightF {
        display: none;
    }

    .more {
        grid-area: more;
    }

    .more {
        padding: 1% 10%;
    }

    .more a {
        font-size: 14px;
        text-align: center;
    }

    .kindWord {
        /* padding-bottom: 40px; */
        display: flex;
        flex-direction: column;
        background-color: #fff9ed;
        text-align: center;
        justify-content: center;
        margin-bottom: -1px;
    } 

    .leftKind {
        margin: 20px;
    }

    .kindWord video {
        height: 600px;
        margin: 0 0 5% 0;
        background-color: black;
        border: 10px solid black;
        width: 100%;
        border-radius: 15px;
    }

    footer{
        height: 370px;
        display: grid;
        grid-template-rows: 135px 120px 60px 55px;
        grid-template-columns: 100%; 
        grid-template-areas:
            "menu"
            "logo"
            "contact"
            "copy";
    }


    footer .footerAsideLeft {
        grid-row: 1/2;
        grid-column: 1/2;
        padding: 0 0;
    }

    .footerAsideLeft ul{
        display: flex;
        flex-flow: row wrap;
        justify-content:space-around;
        align-content: space-between;
    }

    .footerAsideLeft ul>li{
        width: 50%;
        height: 37px;
        text-align: center;
    }


    footer .footerCenter{
        grid-row: 2/3;
        grid-column: 1/2;
        display: flex;
        flex-direction: column;
        justify-self: center;
        border: 0;
        text-align: center;
    }

    footer .footerAsideRight{
        grid-row: 3/4;
        grid-column: 1/2;

    }


    footer .copyright{
        grid-row: 4/5;
        grid-column: 1/2;
    }

}

    /* responsive tab-laptop */
    @media screen and (min-width: 701px) and (max-width: 1200px) {

    body{
            width: 100%;
        }

    /* MENU  */
    header{
        display: flex;
        flex-direction: column;
        text-align: center;
        z-index: 2001;
        }


    header .logo img{
        height: 120px;
        width: auto;
    }

    header .navLinks {
        justify-self: flex-end;
        justify-items: center;
        background-color: black;
    }

    .Featured{
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 50% 50%;
        row-gap: 10px;
    }

    .Featured .rightF{
        display: none !important;
    }

    .kindWord{
        margin: 5%;
        display: grid;
        grid-template-rows: 100%;
        grid-template-columns: 50% 50%;
    }

    .kindWord video{
        width: 100%;
        height: auto;
    }

    footer .footerCenter p{
        text-align: center;
    }

}
