.mainpage {
    background-color: lightyellow;
}

/* Header */

.header {
    /* text-align: center; */
    width: 70%;
    height: 120px;
    margin-left: 30%;
    /* border: 2px solid red; */
}

.header-sub img {
    float: left;
    width: 12%;
    /* border: 2px solid red; */
    animation: image 5s infinite linear;
    animation-delay: 2s;
}

@keyframes image {
    0% {transform: scale(.5);}
    25% {transform: rotate(0deg);}
    50% {transform: rotate(359deg);}
    75% {transform: scale(1.2);}
    100% {transform: scale(.5);}
}

.header-sub h1 {
    float: left;
    width: 80%;
    font-family: Brush Script MT, Brush Script Std, cursive;
    margin-top: 1%;
    font-size: 50px;
    /* border: 2px solid red; */
    animation: header 4s infinite linear;
    animation-delay: 2s;
}

@keyframes header {
    0% {transform: translate();}
    25% {transform: translate(50px,80px);}
    50% {transform: translate(-50px, -50px );}
    100% {transform: translate(0px,0px);}
}

.header-sub p {
    /* float: left; */
    width: 50%;
    height: 10%;
    font-size: large;
    margin-bottom: 1%;
    /* border: 2px solid red; */
    animation: sub-title 4s infinite linear;
    animation-delay: 2s;
}

@keyframes sub-title {
    0% {transform: translate();}
    25% {transform: translate(60px,-80px);}
    /* 50% {transform: translate(-50px, -50px );} */
    100% {transform: translate(0px,-0px);}   
}

/* Slides */
.slides {
    width: 100%;
    height: 50px;
    overflow: hidden;
    /* background-color: red ; */
}
.coupons-list {
    width: 200%;
    height: 100%;
    animation: right-left 10s infinite;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes right-left {
    0% {margin-right: 0%;}
    50% {margin-left: -100%;}
    100% {margin-left: 0%;}
}

.slide {
    font-size: larger;
    color: white;
    float: left;
    width: 50%;
    height: 100%;
    background-color: rgb(22, 97, 3);
    text-align: center;
}

/* image and the box */

.web-img {
    width: 100%;
    height: 800px;
}

.web-img img {
    position: relative;
    width: 100%;
    height: 100%;
}

.box {
    position: absolute;
    width: 40%;
    border: 5px solid white;
    background-color: gray;
    margin-top: -40%;
    margin-left: 10%;
}

.box p {
    padding: 5%;
    font-size: 20px;
}

/* side-side box */

.box-container {
    width: 100%;
    height: 500px;
    /* border: 2px solid red; */
}

.box1 {
    float: left;
    width: 45%;
    height: 90%;
    /* border: 2px solid red; */
    margin: 2%;
    background-image: url("images/intro_img1.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
}

.box1 p {
    position: absolute;
    color: white;
    border: 2px solid green;
    width: 30%;
    margin: 10%;
    padding: 5%;
}

.box2 {
    font-size: x-large;
    float: left;
    width: 45%;
    height: 90%;
    border: 2px solid green;
    margin: 2%;
    background-color: antiquewhite;
    color: green;
    padding-left: 1%;
}


/* Products */

.line {
    height: 2px;
    background-color: black;
}

.container {
    width: 100%;
    height: 650px;
    /* border: 2px solid red; */
}

.sub {
    float: left;
    width: 25%;
    height: 90%;
    /* border: 2px solid red; */
    margin: 4%;
    text-align: center;
}

.sub img {
    width: 100%;
    /* border: 2px solid red; */
}

.ritual {
    color: rgb(104, 141, 48);
    font-weight: bold;
}

.sub h2 {
    color: black;
}

.details {
    color: black;
    font-size: larger;
}

.price {
    color: black;
    font-size: larger;
}

.sub a {
    text-decoration: none;
    background-color: black; 
    color: white;
    padding: 3%;
    border-top-right-radius: -30%;
    border-bottom-left-radius: -30%;
    border-top-left-radius: 30%;
    border-bottom-right-radius: 30%;
}

.sub a:hover {
    color: rgb(211, 78, 26);
    background-color:rgb(39, 54, 121);
}

.openwindow {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(236, 222, 205, 0.6);
    opacity: 0;
    pointer-events: none;    
    width: 100%;
    height: 100%;
}

.openwindow:target {
    opacity: 1;
    pointer-events: all;
}

.whole-window {
    width: 40%;
    height: 80%;
    background-color: white;
    margin-top: 5%; 
    margin-left: 30%;  
    /* border: 2px solid red; */
    border-radius: 2%;
}

.openwindow #x {
    float: right;
    padding: 1%;
    font-size: large;
    font-weight: bold;
    text-decoration: none;
    background-color: gray;
    color: black;     
    border-radius: 10%;
}

.product-box {
    width: 85%;
    /* height: 70%; */
    margin: 5%;
    border: 2px solid white;

}

.box-line {
    height: 2px;
    background-color: gray;
}

.product-box img {
    float: left;
    width: 50%;
    /* border: 2px solid red; */
}

.product-details {
    float: left;
    width: 50%;
    /* height: 50px; */
    /* border: 2px solid red; */
}

.description {
    width: 100%;
    height: 35%;
    background-color: rgb(197, 197, 197);
    color: black;
    /* border: 2px solid red; */
}

.description p {
    width: 90%;
    padding: 2%;
    margin: 2%;
    /* border: 2px solid red;  */
}

.description hr {
    /* height: 1px; */
    width: 85%;
    /* margin: 3%; */
    background-color: white;
}

.description button {
    background-color: white;
    color: black;
    padding: 2%;
    float: top;
    margin-top: -5%;
    margin-left: 5%;
    border-radius: 8%;
}

.description button:hover {
    color: white;
    background-color: black;
}

/* Footer */

.footer {
    background-color: black;
    width: 100%;
    height: 500px;
    color: white;
}

.footer-title li {
    display:inline;
    width: 25%;
    float: left;
    height: 30px;
    text-align: center;
    font-weight: bold;
}

.service-list li {
    display: inline;
    width: 25%;
    float: left;
    height: 30px;
    text-align: center;
}

.footer-line {
    margin: 5%;
    margin-top: 10%;
    width: 90%;
    height: 1px;
    background-color: white;
}

.footer h4 {
    text-align: end;
    width: 80%;
    float: right;
    margin-right: 5%;
}
.connect {
    width: 95%;
    /* border: 2px solid red; */

}
.connection-list {

    /* width: 80%; */
    height: 50px;
    /* border: 2px solid red; */
}

.connection-list li {
    display: inline;
    width: 7%;
    float: right;
    text-align: end;
    /* margin-right: -5%; */
}

.connection-list img {
    width: 50px;
    height: 50px;
}

.credit p {
    margin-top: 5%;
    text-align: center;
}