@keyframes text {
    from {
        opacity: 0.2;
        right: 2rem;
    }
    to {
        opacity: 0.8;
        right: 4rem;
    }
}

@keyframes text-mobile {
    from {
        opacity: 0.2;
        right: 1rem;
    }
    to {
        opacity: 0.8;
        right: 2rem;
    }
}

@keyframes bgmedia {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 0.9;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Alef&family=Frank+Ruhl+Libre:wght@500&display=swap');
body {
    margin: 0;
    font-family: 'Frank Ruhl Libre';
    background: #ffffff;
    color: #1a1a1a;
    text-align: justify;
    direction: rtl;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

a:link {
    text-decoration: none;
    color: #161616;
}

a:visited {
    text-decoration: none;
    color: #161616;
}

a:link:hover {
    /* font-weight: 600; */
    color: #a25b2e;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

h2,
h3 {
    margin: 0;
    padding: 1em 0;
    font-weight: 700;
}

h1 {
    font-weight: 500;
}

p {
    margin: 0;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-rows: 600px;
    grid-template-columns: 1fr;
}


/* Header Showcase */

.nav {
    width: 100%;
    height: 6rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    /* box-shadow: -5px 2px 20px 8px rgba(124, 104, 88, 0.205); */
    background-color: #f0f0f0;
    font-family: 'Alef', sans-serif;
}

.add-shadow {
    box-shadow: -5px 2px 20px 8px rgba(133, 130, 128, 0.205);
}

.logo img {
    width: 70px;
    padding: 10px;
}

ul {
    list-style-type: none;
    /* margin: 2.5rem  auto; */
    vertical-align: middle;
}

li {
    display: inline;
    padding: 0 5px;
    color: #161616;
    margin-left: 5rem;
    /* letter-spacing: .5px; */
    font-size: 17px;
}

/* li:hover {
color: #a25b2e;
} */

ul .buying {
    width: 50px;
    padding: 3px 10px;
    margin-left: 2rem;
    border-radius: 10px;
    text-align: center;
    font-weight: normal;
    border: 2px solid black;
    position: absolute;
    left: 20px;
    top: 2rem;
    font-size: 16px;
}

#showcase {
    min-height: 600px;
    color: #1a1a1a;
    text-align: center;
    grid-row: 1/2;
}

#showcase .bg-image {
    position: absolute;
    background: url("../images/migo_09_cover.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 600px;
    z-index: -1;
    opacity: 0.8;
}

#showcase h1 {
    padding-top: 100px;
    padding-bottom: 0;
    font-size: 4rem;
    letter-spacing: 0.01rem;
    /* width: 350px; */
    /* margin-right: 30px; */
    position: absolute;
    top: 3rem;
    right: 4rem;
    animation-name: text;
    animation-duration: 5s;
    opacity: 0.8;
    text-align: right;
}


/* Section A */

#section-a {
    display: block;
    color: #333;
    padding-bottom: 2em;
    width: 100%;
    grid-row: 2/3;
}

#section-a .content-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5.5rem 0 3rem 5rem;
}

#section-a .content-text {
    width: 500px;
    text-align: right;
    margin: 0 3rem;
    margin-bottom: 2rem;
}

#section-a .content-img {
    max-width: 350px;
    margin: 0 3rem;
}

#section-a img {
    margin: 0 auto;
    opacity: 0.8;
}


/* Section B */

#sectipn-b {
    display: block;
    min-height: 600px;
    color: #1a1a1a;
    text-align: center;
    grid-row: 3/4;
}

#section-b .bg-image {
    background: url("../images/migo_06_cover.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 600px;
    z-index: -1;
    opacity: 0.8;
}

#section-b .content-wrap {
    width: 100%;
    height: 600px;
    position: absolute;
}

#section-b img {
    /* width: 18rem;
    position: relative;
    top: 4.5rem;
    right: 3rem; */

    /* right: 73%; */
    box-shadow: -2px 2px 20px 8px rgba(131, 129, 129, 0.096);
}


/* Slideshow container */
.slideshow-container {
  /* max-width: 1000px;
  position: relative;
  margin: auto; */
  width: 300px;
  position: relative;
  top: 4.5rem;
  right: 3rem;
}

/* .slideshow-container img {
    position: absolute;
} */

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 6px;
  margin-top: -22px;
  color: rgb(142, 142, 142);
  font-weight: bold;
  font-size: 14px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(171, 171, 171, 0.8);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* Section C */

#section-c {
    display: block;
    color: #333;
    padding-bottom: 2em;
    width: 100%;
    grid-row: 4/5;
    text-align: right;
}

#section-c .content-wrap {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5.5rem 0 3rem 5rem;
    margin: 0 auto;
}

#section-c .content-text {
    width: 500px;
    /* width: 55%; */
    /* text-align: justify; */
    margin: 0 3rem;
    margin-bottom: 0;
}

#section-c .content-img {
    width: 300px;
    /* width: 30%; */
    box-shadow: -2px 2px 20px 8px rgba(131, 129, 129, 0.096);
    opacity: 0.8;
    /* margin-right: 2rem; */
    margin-left: 3rem;
}

#section-c img {
    margin: 0 auto;
}

/* Section D */

#section-d {
    display: block;
    color: #333;
    background-color: #f1f1f1;
    padding-bottom: 2em;
    width: 100%;
    grid-row: 5/5;
    text-align: right;
}

#section-d h2 {
    font-size: 2rem;
    color: #bb7043;
    background-color: #272727;
    padding: .1rem;
    padding-right: .5rem;
    padding-left: .5rem;
    margin: .5rem;
    margin-right: 0;
    margin-bottom: 1rem;
    width: 6rem;
}

#section-d .content-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: .5rem 0 0 0;
    margin: 0 auto;
    height: 30rem;
}

#section-d .content-text {
    width: 350px;
    /* width: 55%; */
    /* text-align: justify; */
    margin: 0 3rem;
    margin-bottom: 2rem;
}
#section-d .content-text-mobile {
    display: none;
}

#section-d .content-img {
    width: 300px;
    /* width: 30%; */
    box-shadow: -2px 2px 20px 8px rgba(131, 129, 129, 0.096);
    opacity: 0.8;
    /* margin-right: 2rem; */
    margin-left: 3rem;
}

#section-d img {
    margin: 0 auto;
}

#section-d h3 {
    display: inline;
    color:#dddddd;
    background-color: #161616;
    height: .5rem;
    /* width: 20rem; */
    text-align: center;
    padding: .5rem;
margin: 0 10rem 0 10rem;
}

#section-d .h3-button {
    width: 100%;
    margin: 0 auto;
    padding: 0, 0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

#section-d h3:hover {
    background-color: #161616f7;
    color:#bb7043;
    padding: .55rem;
}

/* Icons */

.icons-p {
    width: 100%;
    margin: 0 auto;
    padding: 0, 0;
    font-family: 'Alef';
    font-size: 1rem;
    text-align: center;
    margin-top: 2rem;
}

.icons-p p {
    padding: 0;
}

.icons {
    width: 100%;
    margin: 0 auto;
    height: 10rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.icons img {
    width: 7rem;
}


/* Footer */

footer {
    display: block;
    background-color: #353535;
    width: 100%;
    height: 350px;
    /* box-shadow: -5px 2px 20px 8px rgba(114, 107, 107, 0.205); */
    /* grid-row: 5/6; */
}

footer a:link {
    text-decoration: none;
    color: #bb7043;
}

footer a:visited {
    text-decoration: none;
    color: #161616;
}

footer a:link:hover {
    font-weight: 500;
    color: #f09054;
}

footer .ContactContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #bb7043;
    font-family: 'Alef';
    width: 80%;
    padding: 2rem 3rem;
    margin: 0 auto;
}

.ContactChild1 {
    width: 40%;
    /* height: 300px; */
    text-align: justify;
}

.ContactChild2 {
    width: 30%;
    height: 13rem;
}

.rights {
    color: #dddddd;
    font-family: 'Alef';
    font-size: .8rem;
    width: 80%;
    /* height: 2rem; */
    border-top: 1px solid #dddddd;
    padding: .9rem;
    margin: 0 auto;
    /* margin-top: 6rem; */
    text-align: center;
}

form p {
    margin: 0;
    margin-top: .5rem;
    padding: 0;
}

input[type=text] {
    width: 10rem;
    padding-right: .5rem;
    outline: none;
    background-color: #dddddd00;
    color: #bb7043;
    border: none;
    border-bottom: 1px solid #bb7043;
    font-family: 'Alef';
}

input[type=submit] {
    margin: .5rem auto;
    font-family: 'Alef';
    color: #bb7043;
    background-color: #dddddd00;
    border: 1.5px solid #bb7043;
    border-radius: 5px;
    width: 50px;
    text-align: center;
    cursor: pointer;
}

input[type=submit]:hover {
    color: #f09054;
}

a:link:hover {
    /* font-weight: 600; */
    color: #a25b2e;
}

/* #main-footer {
    padding: 2em;
    background: #000;
    color: #fff;
    text-align: center;
}

#main-footer a {
    color: #2690d4;
    text-decoration: none;
}  */


/* Media Queries */

@media screen and (max-width: 480px) {
    body {
        margin: 0 0;
        font-family: 'Frank Ruhl Libre';
        background: #f6f6f6;
        color: #1a1a1a;
        text-align: justify;
        direction: rtl;
        width: 100%;
    }
    img {
        display: block;
        width: 100%;
        height: auto;
    }
    .nav {
        width: 100%;
        height: 4rem;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        box-shadow: -5px 2px 20px 8px rgba(124, 104, 88, 0.205);
        background-color: #f0f0f0;
        font-family: 'Alef', sans-serif;
        font-size: .8rem;
    }
    .logo img {
        width: 40px;
        padding: 10px;
    }
    ul {
        list-style-type: none;
        /* margin: 2.5rem  auto; */
        vertical-align: middle;
    }
    li {
        display: inline;
        padding: 0 5px;
        color: #161616;
        margin-left: 2rem;
        font-size: 15px;
    }
    li:hover {
        font-weight: 800;
    }
    ul .buying {
        width: 50px;
        padding: 3px 10px;
        margin-left: 2rem;
        border-radius: 10px;
        text-align: center;
        font-weight: normal;
        border: 1.5px solid black;
        position: absolute;
        left: 5px;
        top: 1.2rem;
    }
    #showcase h1 {
        font-size: 3.5rem;
        /* width: 15rem; */
        letter-spacing: 0.01rem;
        /* width: 350px; */
        /* margin-right: 30px; */
        position: absolute;
        top: 1rem;
        right: 2rem;
        animation-name: text-mobile;
        animation-duration: 5s;
        opacity: 0.8;
    }
    /* Section A */
    #section-a {
        color: #333;
        padding-bottom: 2em;
        /* width: 100%; */
    }
    #section-a .content-wrap {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        flex-wrap: wrap;
        align-items: center;
        /* padding: 5rem 5rem 5rem 5rem; */
        padding: 2rem 0;
    }
    #section-a .content-text {
        width: 320px;
        text-align: justify;
        margin: 0 auto;
    }
    #section-a .content-img {
        width: 300px;
        margin: 0 3rem;
        margin-top: 2rem;
    }
    #section-a img {
        width: 300px;
        margin: 0 auto;
        opacity: 0.8;
    }
    /* Section B */
    #sectipn-b {
        display: inline-block;
        min-height: 600px;
        color: #1a1a1a;
        text-align: center;
        grid-row: 3/4;
    }
    #section-b .bg-image {
        background: url("../images/migo_06_cover.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 600px;
        z-index: -1;
        opacity: 0.8;
    }
    #section-b .content-wrap {
        /* width: 340px; */
        height: 600px;
        position: absolute;
    }
    #section-b img {
        width: 100%;
        /* height: 500px; */
        position: relative;
        top: -1rem;
        box-shadow: -2px 2px 20px 8px rgba(131, 129, 129, 0.096);
        opacity: 0.8;

    }
    .slideshow-container {
        position: relative;
        top: 5rem;
        right: 0;
        margin: auto 0;
        display: flex;
flex-direction: column;

    }
    @media only screen and (max-width: 300px) {
        .prev, .next,.text {font-size: 11px}
      }

    /* Section C */
    #section-c {
        color: #333;
        padding-bottom: 0;
        /* width: 100%; */
    }
    #section-c .content-wrap {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding: 2rem 0;
    }
    #section-c .content-text {
        width: 320px;
        text-align: justify;
        margin: 0 auto;
    }
    #section-c .content-img {
        width: 300px;
        margin: 2rem 0;
    }
    #section-c img {
        width: 300px;
        margin: 0 auto;
        opacity: 0.8;
    }

    
/* Section D */

#section-d {
    display: block;
    color: #333;
    background-color: #eeeeee;
    padding-bottom: 2em;
    width: 100%;
    grid-row: 5/5;
    text-align: right;
}

#section-d h2 {
    font-size: 2rem;
    color: #bb7043;
    background-color: #272727;
    padding: .1rem;
    margin: .5rem;
    margin-right: 0;
    margin-bottom: 1rem;
    width: 6rem;
}

#section-d .content-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: .5rem 0 0 0;
    margin: 0 auto;
    height: 47rem;
}

#section-d .content-text {
    display: none;
    width: 350px;
    /* width: 55%; */
    /* text-align: justify; */
    margin: 0 3rem;
    margin-bottom: 2rem;
}

#section-d .content-text-mobile {
    display: block;
}
#section-d .content-img {
    width: 300px;
    /* width: 30%; */
    box-shadow: -2px 2px 20px 8px rgba(131, 129, 129, 0.096);
    opacity: 0.8;
    /* margin-right: 2rem; */
    margin-left: 3rem;
}

#section-d img {
    margin: 0 auto;
}

#section-d h3 {
    display: inline;
    color:#dddddd;
    background-color: #161616;
    height: .5rem;
    /* width: 20rem; */
    text-align: center;
    padding: .5rem;
margin: 0 0 0 0;
}

#section-d .h3-button {
    width: 100%;
    margin: 0 auto;
    padding: 0, 0;
    font-size: 1rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
    
  
    /* Icons */

    .icons-p {
        width: 100%;
        margin: 0 auto;
        margin-top: 2rem;
        padding: 0, 0;
        font-family: 'Alef';
        font-size: .7rem;
        text-align: center;
    }
    .icons-p p {
        padding: 0;
    }
    .icons {
        width: 100%;
        margin: 0 auto;
        height: 5rem;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .icons img {
        width: 3rem;
    }
    /* Footer */
    footer {
        display: block;
        /* background-color: #dddddd; */
        width: 100%;
        height: 470px;
        /* box-shadow: -5px 2px 20px 8px rgba(114, 107, 107, 0.205); */
        /* grid-row: 5/6; */
    }
    footer link:hover {
        font-weight: 300;
    }
    footer .ContactContainer {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        /* color: #313131; */
        font-family: 'Alef';
        width: 70%;
        padding: 2rem 2rem;
        margin: 0 0;
        align-content: flex-start;
    }
    .ContactChild1 {
        width: 80%;
        /* height: 300px; */
        text-align: start;
    }
    .ContactChild2 {
        width: 80%;
        height: 6rem;
    }
    .rights {
        /* color: #16181a; */
        font-family: 'Alef';
        font-size: .8rem;
        width: 80%;
        /* height: 2rem; */
        /* border-top: 1px solid #4242428f; */
        padding: .9rem;
        margin: 0 auto;
        /* margin-top: 6rem; */
        text-align: center;
    }
    form p {
        margin: 0;
        margin-top: .5rem;
        padding: 0;
    }
    input[type=text] {
        width: 10rem;
        padding-right: .5rem;
        outline: none;
        background-color: #dddddd00;
        color: #bb7043;
        border: none;
        border-bottom: 1px solid #bb7043;
        font-family: 'Alef';
    }
    input[type=submit] {
        margin: .5rem auto;
        font-family: 'Alef';
        /* color: #161616; */
        /* background-color: #dddddd; */
        border: 1.5px solid #bb7043;
        box-shadow: none;
        border-radius: 5px;
        width: 50px;
        text-align: center;
        cursor: pointer;
    }
}