@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

* {
  box-sizing: border-box;
}

.class { 
	font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #333;
  color: #222;
  overflow-x: hidden;
  margin: 0;
}

h1 { 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 26.4px; 
} 

h2 { 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 15.4px; 
} 

p { 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 20px; 
} 

a { 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18.5714px; 
}

.search-bar input {
  width: 100%;
  width: 500px;
  padding: 20px;
  margin-left: 60px;
  padding-right: 100px;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.container {
  background-color: #fafafa;
  transform-origin: top left;
  transition: transform 0.5s linear;
  width: 100vw;
  min-height: 100vh;
  padding: 50px;
}

.container.show-nav {
  transform: rotate(-20deg);
}

.circle-container {
  position: fixed;
  top: -100px;
  left: -100px;
}

.circle {
  background-color: #fd5959;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.5s linear;
}

.container.show-nav .circle {
  transform: rotate(-70deg);
}

.circle button {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: #fff;
}

.circle button:focus {
  outline: none;
}

.circle button#open {
  left: 60%;
}

.circle button#close {
  top: 60%;
  transform: rotate(90deg);
  transform-origin: top left;
}

.container.show-nav + nav li {
  transform: translateX(0);
  transition-delay: 0.3s;
}

nav {
  position: fixed;
  bottom: 40px;
  left: 0;
  z-index: 100;
}

nav ul {
  list-style-type: none;
  padding-left: 30px;
}

nav ul li {
  text-transform: uppercase;
  color: #fff;
  margin: 40px 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in;
}

nav ul li i {
  font-size: 20px;
  margin-right: 10px;
}

nav ul li + li {
  margin-left: 15px;
  transform: translateX(-150%);
}

nav ul li + li + li {
  margin-left: 30px;
  transform: translateX(-200%);
}

nav a{
  color: #fafafa;
  text-decoration: none;
  transition: all 0.5s;
}

nav a:hover {
  color: #FF7979;
  font-weight: bold;
}

.content img {
  max-width: 100%;
}

.content {
  max-width: 1000px;
  margin: 50px auto;
}

.content h1 {
  margin: 0;
}

.content small {
  color: #555;
  font-style: italic;
}

.content p {
  color: #333;
  line-height: 1.5;
}

.main-content {
  display: flex;
  justify-content: space-between;
  padding: 40px;
}

.main-content .left {
  width: 150%;
  font-size: large;
  padding-right: 50px;
}

.main-content .right img {
  width: 200%;
  margin-left: 100px;
  margin-top: 100px;
  border-radius: 5%;
}

.image-text {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  background-color: #c8b6b6;
}

.image-text .right-image img {
  width: 200%;
  border-radius: 50px;
  float: right;
}

.image-text .left-text,
.image-text .right-text {
  width: 45%;
  padding: 20px;
}

.image-text .left-text p,
.image-text .right-text p {
  font-size: 1.1em;
  color: #333;
}

a {
  color: #333;
}

a:hover {
  color: #fd5959;
}

footer {
  background-color: #e24646;
  color: white;
  padding: 20px;
  text-align: center;

}

footer .footer-links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

footer .footer-links a {
  margin: 0 15px;
}

footer .footer-links img {
  width: 40px;
  height: 40px;
}

@media only screen and (max-width: 481px) {

  .search-bar input {
    width: 150%;
    width: 250px;
    padding: 20px;
    margin-left: 60px;
    padding-right: 100px;
    border: 2px solid #ccc;
    border-radius: 10px;
  }

  .circle-container {
    position: absolute;
    top: -100px;
    left: -100px;
  }

  .main-content .right img {
    width: 500%;
    margin-left: 30px;
    margin-top: 100px;
    border-radius: 5%;
  }

}