*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: white;
}
header{
    position: fixed;
    width: 100%;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
}
header h1{
    font-family: GreatVibes;
}
.dark{
    background-color: #000;
    color: #fff;
}
.dark header{
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.dark .bar{
    background-color: #fff;
}
.dark .link{
    color: #fff;
}
.dark .link:hover{
    color: crimson;
}
.nav-menu{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    background-color: transparent;
}
.link{
    color: #000;
    padding: 8px 40px;
    display:flex;
    align-items: baseline;
    text-decoration: none;
    transition: 0.7s ease;
    text-transform: capitalize;
}
.nav-menu .link:hover{
    color: crimson;
    border-bottom: 2.5px solid crimson;
    border-width: 100%;
    border-radius: 3px;
    transition: all ease-in-out;
    height: 100%;
}
.serv{
    display: none;
}
.nav-menu .item:hover .serv{
    display: block;
    position: absolute;
    width: 150px;
    margin: 5px auto;
    background-color: #fff;
    text-align: center;
    list-style-type: none;
    border-radius: 6px;
}
.nav-menu .item:hover .serv li{
    padding: 20px 0;
}
.nav-menu .item:hover .serv li a{
    text-decoration: none;
    color: #000;
    padding: 30px 15px;
}
.dark .nav-menu .item:hover .serv li a{
    color: #fff;
}
.nav-menu .item:hover .serv li a:hover{
    color: crimson;
}
.dark .nav-menu .item:hover .serv{
    background-color: #000;
}
.hamburger{
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    height: 4px;
    width: 25px;
    background-color: #000;
    margin: 5px auto;
    border-radius: 12px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.dark .bar{
    background-color: #fff;
}
#boo{
    background-image: url('icons8-light-64.png');
    background-position: center;
    background-size: cover;
    border: none;
    background-color: transparent;
}
#boo{
    width: 34px;
    height: 34px;
}
.dark #boo{
    background-image: url('icons8-night-mode-25.png');
    background-size: cover;
    width: 25.5px;
    height: 25.5px;
}
@media (max-width:768px) {
    .hamburger{
        display: block;
    }
    .hamburger.active{
        background-color: rgba(255, 255, 255, 0.8);
    }
    .dark .hamburger.active{
        background-color: rgba(0, 0, 0, 0.8);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .nav-menu{
        position: fixed;
        left: -100%;
        top: 50px;
        gap: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        transition: 0.3s;
        text-align: center;
    }
    .nav-menu.active{
        background-color: rgba(255, 255, 255, 0.96);
    }
    .dark .nav-menu{
        background-color: rgba(0, 0, 0, 0.96);
    }
    .item{
        margin: 16px 0;
        padding: 0;
    }
    .nav-menu.active{
        left: 0;
    }
    /*#boo {
        transform: translateX(150px);
    }*/
    .nav-menu .item:hover .serv{
        margin-top: -15%;
        margin-left: 30%;
    }
}
@media (min-width:769px) and (max-width: 940px) {
    .hamburger {
            display: block;
        }
    
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }
    
        .hamburger.active .bar:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }
    
        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }
    
        .nav-menu {
            position: fixed;
            left: -100%;
            top: 50px;
            gap: 0;
            width: 100%;
            flex-direction: column;
            background-color: #fff;
            transition: 0.3s;
            text-align: center;
        }
    
        .dark .nav-menu {
            background-color: #000;
        }
    
        .item {
            margin: 16px 0;
            padding: 0;
        }
    
        .nav-menu.active {
            left: 0;
        }
    
        /*#boo {
            transform: translateX(150px);
        }*/
        .nav-menu .item:hover .serv {
            margin-top: -15%;
            margin-left: 30%;
        }
}
@font-face {
    font-family: GreatVibes;
    src: url(GreatVibes-Regular.ttf);
}
#lego{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
    background: url('p6.jpg');
    background-position: center;
    background-size: cover;
}
.dark #lego{
    background: url('p1.jpg');
    background-position: center;
    background-size: cover;
}
.one {
    padding: 0 30px;
}
.one h1{
    font-size: 3.2em;
    font-family: GreatVibes;
}
.one p{
    font-size: 1em;
}
.one button{
    background-color: orangered;
    border: none;
    border-radius: 15px;
    padding: 10px 15px;
    font-variant: small-caps;
    font-weight: 600;
}
.one button a{
    color: #fff;
    text-decoration: none;
}
.one button a:hover{
    color: crimson;
}
.one .cd{
    margin-left: 20px;
    background-color: rgb(255, 232, 101);
}
.one .cd a{
    color: #000;
}
.one .ab:hover{
    background-color: rgb(207, 120, 20);
}
.one .cd:hover{
    background-color: rgb(211, 194, 101);
}
.ema{
    background-color: rgba(255, 255, 255, 0.4);
    color: #000;
    display: grid;
    grid-template-columns: auto auto;
    gap: 0;
    padding: 10px 18px;
    border-radius: 5px;
    transform: translateY(140px);
}
.not {
    padding: 0 25px;
}
#slider{
    transform: rotate(35deg);
}
.ok{
    text-align: left;
}
.ok button{
    padding: 8px 12px;
    border: none;
    border-radius: 100%;
    background: #121212;
    color: #fff;
}
.ok h1{
    font-family: GreatVibes;
}
#smile{
    background-color: #121212;
    color: #fff;
    padding: 8px 0;
}
#smile .p1{
    margin-left: 20px;
    font-variant: small-caps;
    font-size: larger;
}
#real{
    text-align: center;
    padding:45px 0;
    display: flex;
    justify-content: center;
}
#real span{
    width: 25%;
    border-right: #777777 2px solid;
}
#real span h1{
    font-size: 2em;
}
#real .r3 {
    border-right: none;
}
#feel{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}
#feel img{
    width: 290px;
    height: 300px;
    border-radius: 0 0 130px 130px;
}
#feel .talk{
    padding-left: 70px;
}
.talk h1{
    font-family: GreatVibes;
    font-size: 2.7em;
    text-transform:capitalize;
}
.talk p{
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
}
#about{
    padding: 80px 0;
    text-align: center;
}
#about h1{
    font-family: GreatVibes;
    text-transform: capitalize;
    font-size: 2.7em;
}
.money{
    padding: 0 160px;
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
}
.money h3{
    margin-top: 30px;
    font-family: GreatVibes;
    font-size: 1.5em;
    font-variant: normal;
    color: crimson;
}
.we,.still,.your,.greater {
    width: 25%;
    font-variant: small-caps;
}
.we img{
    height: 60%;
    width: 60%;
    border-radius: 50px;
}
.still img {
    height: 60%;
    width: 60%;
    border-radius: 50px;
}
.your img {
    height: 60%;
    width: 60%;
    border-radius: 50px;
}
.greater img {
    height: 60%;
    width: 60%;
    border-radius: 50px;
}
#imagine{
    padding: 12px 0;
}
#happiness{
    padding: 80px 0;
    background-color: rgb(255, 229, 196);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dark #happiness{
    color: #000;
}
#happiness .part1{
    padding-right: 80px;
}
.part1 h1{
    font-family: GreatVibes;
    font-size: 2.5em;
}
.part1 button{
    border: 2px solid #777777;
    border-radius: 45px;
    background-color: transparent;
    padding: 10px 18px;
    font-variant: small-caps;
    font-size: 20px;;
}
.part1 button a{
    color: #000;
    text-decoration: none;
}
.part1 button a:hover{
    color: #fff;
}
.part1 button:hover{
    background-color: #777777;
}
#happiness .part2{
    padding-left: 80px;
    text-align: left;
    border-left: 2px #777777 solid;
}
.part2 p{
    margin-top: -30px;
}
.milk{
    display: flex;
    justify-content: left;
    align-items: center;
    font-variant: small-caps;
    text-transform: capitalize;
}
.milk img{
    width: 32px;
    height: 32px;
    border-radius: 16px;
}
#blog{
    padding: 80px 0;
}
#blog .type{
    display: block;
}
.type button{
    background-color: orangered;
    padding: 10px 18px;
    border: none;
    border-radius: 45px;
    font-size: 20px;
    font-variant: small-caps;
    color: #fff;
}
#blog .bot{
    display: flex;
    justify-content: space-around;
    margin: auto;
    align-items: center;
    padding: 0 243px;
}
.bot a{
    text-decoration: none;
    color: #777777;
}
.type h1{
    font-family: GreatVibes;
    font-size: 2.5em;
    text-transform: capitalize;
}
.k1,.k2,.k4{
    margin: auto;
    padding: 20px;
}
.k1 img{
    width: 245px;
    height: 150px;
    margin-top: 30px;
    border-radius: 80px 0 0 0;
}
.k2 img{
    width: 248px;
    height: 427px;
    border-radius: 80px 0 0 0;
}
.k3 img {
    width: 245px;
    height: 160px;
    margin-top: 0px;
}
.k4 img {
    width: 245px;
    height: 130px;
    margin-top: 20px;
    border-radius: 80px 0 0 0;
}
#services{
    padding: 80px 0;
    text-align: center;
}
#services h1{
    font-family: GreatVibes;
    font-size: 2.6em;
}
.accordion {
    background-color: orangered;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 80%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}
.active,
.accordion:hover {
    background-color: rgb(253, 112, 112);
}

.panel {
    padding: 15px 18px;
    display: none;
    background-color: rgb(253, 112, 112);
    color: #fff;
    overflow: hidden;
    width: 80%;
    margin: auto;
    text-align: justify;
}
.panel button{
    border: none;
    color: red;
    font-variant: small-caps;
    font-size: 1.15em;
    background-color: transparent;
}
#contact{
    padding: 80px 0;
    text-align: center;
}
#contact h1{
    font-family: GreatVibes;
    font-size: 2.5em;
}
.num {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    font-weight: 900;
}
footer{
    padding: 50px 0;
    background-color: rgb(233, 116, 81);
    color: #000;
    text-align: center;
}
footer hr{
    margin: auto;
}
.mac{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
footer h2{
    color: #fff;
}
footer ul li{
    list-style: none;
    color: #000;
}
@media (max-width:768px) {
    #lego{
        display: block;
        text-align: center;
        padding: 100px 0;
    }
    .ema{
        height:130px;
        width: 280px;
        margin: 35px auto 0 auto;
        transform: none;
    }
    .dark #lego{
        background: url('p3.jpg');
        background-position: center;
        background-size: cover;
    }
    #feel{
        display: block;
        margin: auto;
        text-align: center;
    }
    #feel .talk{
        padding-left: 0;
        text-align: center;
    }
    .talk h1{
        margin-top: 35px;
    }
    .money{
        padding: 0;
        display: block;
        text-align: center;
    }
    .we,.still,.your,.greater {
        padding-bottom: 30px;
        min-width: 100%;
        font-variant: small-caps;        
        margin: auto;
    }
    .we img{
        height: 230px;
        width: 250px;
    }
    .still img {
        height: 230px;
            width: 250px
    }
    .your img {
        height: 230px;
        width: 250px
    }
    .greater img {
        height: 230px;
        width: 250px
    }
    #imagine video{
        width: 80%;
    }
    #happiness{
        display: block;
        padding: 50px 0;
    }
    #happiness .part1{
        padding: 20px 0;
        text-align: center;
    }
    #happiness .part2{
        padding-left: 0;
        text-align: center;
        border-left: none;
    }
    .part2 p{
        padding: 0;
    }
    .milk{
        text-align: center;
        justify-content: center;
    }
    #blog{
        padding: 30px 0;
        text-align: center;
    }
    #blog .bot{
        display: flex;
        justify-content: space-around;
        margin: auto;
        align-items: center;
        padding: 0 243px;
    }
    .bot a{
        text-decoration: none;
        color: #777777;
    }
    #blog .bot {
        display: block;
        margin: auto;
        align-items: center;
        padding: 0;
    }
    .k2 img{
        height: 300px;
    }
}
@media (min-width:769px) and (max-width: 940px){
    .money{
        padding: 0;
    }
    #blog .bot{
        padding: 0;
    }
    .k1,
    .k2,
    .k4 {
            margin: auto;
            padding: 0px;
        }
}
@media (min-width:940px) and (max-width: 1200px){
    .money{
        padding: 0;
    }
}