@import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@300..700&display=swap');

:root {
    --hover-color: rgb(248, 161, 0);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    transition: all .2s linear;
    font-family: "Lemonada", cursive;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 60px 0;
}

/* header start */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 7px 0;
}

header .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a{
    display: flex;
    align-items: center;
}

.logo a p:hover, nav ul li a:hover, .icons i:hover {
    color: var(--hover-color);
}

.logo a img {
    display: block;
    width: 40px;
    margin-right: 5px;
}

.logo a p {
    font-size: 25px;
    color: black;
}

/* From Uiverse.io by Cevorob */
#burger {
    display: none;
}

.burger {
    position: relative;
    width: 25px;
    height: 23px;
    background: transparent;
    cursor: pointer;
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

input:checked~label:nth-of-type(1) {
    transform: rotate(50deg);
    top: 5px;
}

input:checked~label span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

input:checked~label span:nth-of-type(3) {
    transform: rotate(-94deg);
    top: 13px;
    left: 14px;
}

header nav ul {
    display: flex;
}

header nav ul li {
    padding: 0 10px;
    font-size: 18px;
}

header nav ul li a {
    color: black;
}

header .icons i {
    font-size: 20px;
    cursor: pointer;
}

/* header end */

/* home start */
.home {
    margin-top: 30px;
    width: 100%;
    height: calc(100vh - 30px);
    background-image: url('images/bg.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    direction: rtl;
}

.home .container h1 {
    font-size: 45px;
    color: white;
}

.home .container q {
    font-weight: bold;
}

.home .container p {
    margin-bottom: 25px;
}

.home .container a {
    border-radius: 30px;
    background-color: white;
    color: black;
    padding: 8px 45px;
    font-size: 17px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.home .container a:hover {
    background-color: var(--hover-color);
    color: white;
}

/* home end */

/* about start */
.about .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
    align-items: center;
}

.about .container img {
    display: block;
    width: 100%;
}

.about .container div{
    direction: rtl;
}

.about .container div h2 {
    padding-bottom: 15px;
}
/* about end */

/* products start */
.products {
    background-color: #eeeeee7a;
}
.products .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.products h2{
    text-align: center;
    padding-bottom: 20px;
}

.products .product {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    flex-direction: column;
}

.products .product img {
    width: 100%;
    aspect-ratio: 4 / 4;
}

.products .product div {
    padding: 10px;
    direction: rtl;
}
.products .product div button{
    width: 90%;
    display: block;
    padding: 6px 25px;
    border-radius: 30px;
    text-align: center;
    margin: 15px auto 25px auto;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    cursor: pointer;
    background-color: red;
    color: white;
}

.products .product div button:active {
    scale: .9;
}
/* products end */

/* footer start */
footer {
    padding: 40px;
    width: 100%;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
footer .container a{
    color: black;
}
footer .container a:hover{
    color: var(--hover-color);
}
/* footer end */