body {
    background: whitesmoke;
   opacity: 0.9;}
   
* {
    box-sizing: border-box;
}

body {
    margin: 100px;
    font-family: 'raleway', sans-serif;
    font-size: 20px;

}

.body {
line-height: 45px;
position: relative;
padding-top: 30px;
width: 55%;
margin-left: 90px;
margin-top: 50px;
}

.body::selection {
color: #aa5539;
}


p {
    widows: 2;
    }

.introduction {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 30px;
    top: 90px;
    width: 70%;
    color: #aa5539;
    line-height: 50px;
    padding-bottom: 20px;
    padding-top: 65px;
    }

.introduction::selection{
color: brown;
}

.title, h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 120px;
    padding-bottom: 10px;
    text-align: center;
    padding-top: -10px;
    color: brown;

}

.title::selection {
    color: #aa5539;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 38px;
    font-weight: italic;
    text-shadow: 1px 1px 1px #aaa;

}

a {
    color:black;
}

.square {
margin: auto;
background-color: #2A3732;
width: 2px;
height: 130px;
text-shadow: 1px 1px 1px #aaa;
}


.menu-container {
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.menu {
  width: 90%;
  display: flex;
  justify-content: space-between;
  color: black;
  align-items: center;
  padding-top: 0px;
}

.links {
  display: flex;
  justify-content:center;
 font-family: futura;
  font-size: 30px;
  color: black;
}

.contact {
margin: 20px;
padding: 10px;
text-decoration: none;
color: black;
}

.menu-container {
color: black;
text-decoration: none;
}

.logos {
    width: 300px;
    height: 300px;
    position: relative;
    margin: auto;
    top: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos {
    display: block;
    width: 100%;
    height: 100%;
}

.logos {
    width: 100%;
    height: 100%;
}

.logos {
    position: absolute;
    right: 0;
    top: -20%;
    height: 15%;
    width: 15%;
    background-color: #AA0000;
    animation: square-to-circle 4s 0s infinite alternate;
}


@keyframes square-to-circle {
  0%  {
    border-radius:50%;
    transform:rotate(180deg);
  }

}
30% {
  border-radius:50% 50%;
  transform:rotate(40deg);
}
}

  }
  80% {
    border-radius:50% 0 50% 50% ;
    transform:rotate(180deg);
  }
}

80% {
  border-radius:50% 50% 50% 50% ;
  transform:rotate(180deg);
}
}

.arrows {
display: flex;
margin-right: 100px;
padding-top: 50px;
}

.left:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}


.right:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 2px, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

.next {
    width: 5.5%;
    height: 5.5%;
    float: right;
    margin-top: 60px;
    margin-bottom: 40px;
}

.back {
width: 5.5%;
height: 5.5%;
float: left;
margin-top: 60px;
margin-bottom: 40px;
}

.quote{
font-family: 'Playfair Display', serif;
font-weight: 900;
text-align: center;
margin-left: 150px ;
width: 59%;
font-size: 20px;
color: brown;
}

.quote::selection {
color: #aa5539;
}

#box {
    padding: 100px;
    margin-top: 20px;
    margin-bottom: 15px;
    border: 1px solid brown;
}

@media (max-width: 450px ) {

    .logos {
        display:none;
    }

    body {
        font-family: 'raleway', sans-serif;
        margin: 20px;
    }

    .introduction {
        font-family: 'Playfair Display', serif;
        font-style: normal;
        line-height: 35px;
        font-size: 18px;
        margin: 20px;
        color: #aa5539;
        padding-top: 15px;
        padding-bottom: 10px;
        justify-content: center;

        }


    .body {
    font-size: 16px;
    line-height: 35px;
    width: 85%;
    margin-left: 30px;
    margin-top: 10px;
    }

    .quote {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    font-size: 15px;
    margin: auto;
    width: 90%;
    }

    .next {
        width: 11.5%;
        float: right;
        margin-top: 60px;
        margin-bottom: 50px;
    }

    .back {
    width: 11.5%;
    margin-top: 60px;
    margin-bottom: 50px;
    }

    h1 {
        font-family: 'Playfair Display', serif;
        font-weight: 900;
        font-style: italic;
        font-size: 50px;
        color: brown;
        padding-bottom: 0px;

    }

    .square {
    margin: auto;
    background-color: #2A3732;
    width: 1px;
    height: 90px;
    text-shadow: 1px 1px 1px #aaa;
    }

    #box {
        padding: 50px;
        margin-top: 10px;
        margin-bottom: 0px;
        border: 1px solid brown;
    }

}
