@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Inter:wght@400;700;800&family=Montserrat:wght@500;700&family=Outfit:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.container {
  width: 1230px;
  height: 650px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
}

.logo {
  margin-left: -95px;
}

.nav-par {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
  padding: 11px 90px;
}

.menu {
  display: flex;
}

.menu li {
  padding-left: 15px;
}

.menu li a {
  display: inline-block;
  text-decoration: none;
  color: hsl(236, 13%, 42%);
  text-align: center;
  transition: 0.15s ease-in-out;
  position: relative;
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: hsl(236, 13%, 42%);
  transition: 0.15s ease-in-out;
}

.menu li a:hover:after {
  width: 100%;
}

.menu li a:hover {
  color: hsl(5, 85%, 63%);
  font-size: 1em;
  transform: scale(1.1);
}

.open-menu, .colse-menu {
  position: absolute;
  cursor: pointer; 
  font-size: 1.5rem;
  display: none;
}

.open-menu {
  top: 35px;
  right: 90px;
  transform: translateY(-50%);
}

.colse-menu {
  top: 17px;
  right: 90px;
}

#check {
  display: none;
}

.big-img {
  width: 700px;
  height: 200px;
  margin-top: 20px;
}

.title {
  font-weight: 800;
  font-size: 3em;
  width: 300px;
}

.tit-dis {
  display: flex;
  margin-top: 30px;
}

.description {
  width: 355px;
  margin-left: 49px;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(236, 13%, 42%);
}

button {
  margin-top: 140px;
  margin-left: -300px;
  width: 170px;
  padding: 13px;
  border: none;
  background-color: hsl(5, 85%, 63%);
  color: hsl(36, 100%, 99%);
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: 0.3s ease-in;
}

button:hover {
  background-color: hsl(240, 100%, 5%);
  transform: scale(1.1);
  cursor: pointer;
}

.colum-right {
  position: absolute;
  right: 90px;
  top: 83px;
  width: 350px;
  height: 422px;
  background-color: hsl(240, 100%, 5%);
  color: hsl(36, 100%, 99%);
  padding: 20px;
}

.title-new {
  color: hsl(35, 77%, 62%);
  font-weight: 800;
  font-size: 2.5em;
  padding: 5px;
}

.tit-1 {
  padding: 5px;
  margin-bottom: 8px;
  transition: 0.3s ease-in;
}

.tit-1:hover {
  transform: scale(1.1);
  color: hsl(35, 77%, 62%);
  cursor: pointer;
}

.pr-1 {
  padding-left: 5px;
  margin-bottom: 20px;
  color: hsl(233, 8%, 79%);
}

hr {
  border: none;
  width: 310px;
  height: 1px;
  background-color: hsl(236, 13%, 42%);
}

.tit-2 {
  padding: 5px;
  margin-bottom: 8px;
  margin-top: 8px;
  transition: 0.3s ease-in;
}

.tit-2:hover {
  transform: scale(1.1);
  color: hsl(35, 77%, 62%);
  cursor: pointer;
}

.pr-2 {
  padding-left: 5px;
  margin-bottom: 20px;
  color: hsl(233, 8%, 79%);
}

.tit-3 {
  padding: 5px;
  margin-bottom: 8px;
  margin-top: 8px;
  transition: 0.3s ease-in;
}

.tit-3:hover {
  transform: scale(1.1);
  color: hsl(35, 77%, 62%);
  cursor: pointer;
}

.pr-3 {
  padding-left: 5px;
  margin-bottom: 5px;
  color: hsl(233, 8%, 79%);
}

.the-last {
  position: relative;
}

.last-one {
  position: absolute;
}

.img-last-1 {
  position: absolute;
  top: 50px;
  width: 100px;
  height: 120px;
}

.tit-01 {
  position: absolute;
  top: 50px;
  left: 120px;
  font-size: 1.5em;
  color: hsl(233, 8%, 79%);
}

.tit-last-01 {
  position: absolute;
  width: 180px;
  top: 90px;
  left: 120px;
  font-weight: 800;
  transition: 0.3s ease-in;
}

.tit-last-01:hover {
  transform: scale(1.1);
  color: hsl(5, 85%, 63%);
  cursor: pointer;
}

.pr-last-01 {
  position: absolute;
  width: 230px;
  top: 120px;
  left: 120px;
  line-height: 1.7;
  color: hsl(236, 13%, 42%);
  font-weight: 400;
}

.img-last-2 {
  position: absolute;
  left: 404px;
  top: 50px;
  width: 100px;
  height: 120px;
}

.tit-02 {
  position: absolute;
  top: 50px;
  left: 530px;
  font-size: 1.5em;
  color: hsl(233, 8%, 79%);
}

.tit-last-02 {
  position: absolute;
  width: 220px;
  top: 90px;
  left: 530px;
  font-weight: 800;
  transition: 0.3s ease-in;
}

.tit-last-02:hover {
  transform: scale(1.1);
  color: hsl(5, 85%, 63%);
  cursor: pointer;
}

.pr-last-02 {
  position: absolute;
  width: 230px;
  top: 120px;
  left: 530px;
  line-height: 1.7;
  color: hsl(236, 13%, 42%);
  font-weight: 400;
}

.img-last-03 {
  position: absolute;
  left: 790px;
  top: 50px;
  width: 100px;
  height: 120px;
}

.tit-03 {
  position: absolute;
  top: 50px;
  left: 910px;
  font-size: 1.5em;
  color: hsl(233, 8%, 79%);
}

.tit-last-03 {
  position: absolute;
  width: 220px;
  top: 90px;
  left: 910px;
  font-weight: 800;
  transition: 0.3s ease-in;
}

.tit-last-03:hover {
  transform: scale(1.1);
  color: hsl(5, 85%, 63%);
  cursor: pointer;
}

.pr-last-03 {
  position: absolute;
  width: 230px;
  top: 120px;
  left: 910px;
  line-height: 1.7;
  color: hsl(236, 13%, 42%);
  font-weight: 400;
}

.attribution {
  text-align: center;
  position: absolute;
  bottom: -55px;
  left: 330px;
  color: hsl(5, 85%, 63%);
}

.attribution a {
  color: hsl(5, 85%, 63%);
  text-decoration: none;
  transition: 0.3s ease-in;
}

.attribution a:hover {
  color: hsl(233, 8%, 79%);
  transform: scale(1.1);
  font-size: 1.2em;
  text-decoration: double hsl(236, 13%, 42%) underline;
}

@media (max-width: 375px) {

  .container {
    max-width: 375px;
  }
  
  .logo {
    margin-left: -75px;
  }
  
  .menu {
    flex-direction: column;
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -250px;
    z-index: 100;
    background-color: hsl(233, 8%, 79%);
    transition: all 0.3s ease-in-out;
  }

  .menu li {
    margin-top: 90px;
    margin-left: -10px;
    padding-left: 40px;
  }

  .menu li a {
    padding-top: 10px;
    padding-left: -9px;
  }
  
  .menu li a:hover {
    color: hsl(5, 85%, 63%);
    transform: scale(1.1);
    font-size: 1em;
  }

  .open-menu, .colse-menu {
    display: block;
  }

  #check:checked~ .menu {
    right: 0;
  }

  .big-img {
    max-width: 240px;
    height: 200px;
    margin-top: 10px;
    margin-left: 20px;
  }

  .title {
    font-weight: 800;
    font-size: 2em;
    width: 230px;
    margin-left: 20px;
  }

  .tit-dis {
    display: block;
    margin-top: 10px;
  }

  .description {
    max-width: 250px;
    margin-left: 20px;
    margin-top: 10px;
    font-size: 1em;
    line-height: 1.5;
    color: hsl(236, 13%, 42%);
  }

  button {
    margin-top: 14px;
    margin-left: 20px;
    width: 170px;
    padding: 13px;
    border: none;
    background-color: hsl(5, 85%, 63%);
    color: hsl(36, 100%, 99%);
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: 0.3s ease-in;
  }

  button:hover {
    background-color: hsl(240, 100%, 5%);
    transform: scale(1.1);
    cursor: pointer;
  }

  .colum-right {
    /* position: absolute; */
    left: 20px;
    top: 600px;
    max-width: 240px;
    height: 535px;
    background-color: hsl(240, 100%, 5%);
    color: hsl(36, 100%, 99%);
    padding: 20px;
  }

  .title-new {
    color: hsl(35, 77%, 62%);
    font-weight: 800;
    font-size: 2.5em;
    padding: 5px;
  }

  .tit-1 {
    padding: 5px;
    margin-bottom: 8px;
    transition: 0.3s ease-in;
    width: 210px;
  }

  .tit-1:hover {
    transform: scale(1.1);
    color: hsl(35, 77%, 62%);
    cursor: pointer;
  }

  .pr-1 {
    padding-left: 5px;
    margin-bottom: 20px;
    color: hsl(233, 8%, 79%);
  }

  hr {
    border: none;
    max-width: 205px;
    height: 1px;
    background-color: hsl(236, 13%, 42%);
  }

  .tit-2 {
    padding: 5px;
    margin-bottom: 8px;
    margin-top: 8px;
    transition: 0.3s ease-in;
  }

  .tit-2:hover {
    transform: scale(1.1);
    color: hsl(35, 77%, 62%);
    cursor: pointer;
  }

  .pr-2 {
    padding-left: 5px;
    margin-bottom: 20px;
    color: hsl(233, 8%, 79%);
  }

  .tit-3 {
    padding: 5px;
    margin-bottom: 8px;
    margin-top: 8px;
    transition: 0.3s ease-in;
    width: 210px;
  }

  .tit-3:hover {
    transform: scale(1.1);
    color: hsl(35, 77%, 62%);
    cursor: pointer;
  }

  .pr-3 {
    padding-left: 5px;
    margin-bottom: 5px;
    color: hsl(233, 8%, 79%);
  }

  .img-last-1 {
    top: 570px;
    left: 20px;
    width: 80px;
    height: 90px;
  }

  .tit-01 {
    top: 565px;
    left: 120px;
    font-size: 1.5em;
    color: hsl(233, 8%, 79%);
  }

  .tit-last-01 {
    width: 180px;
    top: 600px;
    left: 120px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.3s ease-in;
  }

  .tit-last-01:hover {
    transform: scale(1.1);
    color: hsl(5, 85%, 63%);
    cursor: pointer;
  }

  .pr-last-01 {
    max-width: 170px;
    top: 620px;
    left: 120px;
    line-height: 1.7;
    color: hsl(236, 13%, 42%);
    font-weight: 400;
    font-size: 0.7em;
  }

  .img-last-2 {
    left: 20px;
    top: 690px;
    width: 80px;
    height: 90px;
  }

  .tit-02 {
    top: 685px;
    left: 120px;
    font-size: 1.5em;
    color: hsl(233, 8%, 79%);
  }

  .tit-last-02 {
    max-width: 180px;
    font-size: 13px;
    top: 720px;
    left: 120px;
    font-weight: 800;
    transition: 0.3s ease-in;
  }

  .tit-last-02:hover {
    transform: scale(1.1);
    color: hsl(5, 85%, 63%);
    cursor: pointer;
  }

  .pr-last-02 {
    max-width: 160px;
    top: 745px;
    left: 120px;
    line-height: 1.7;
    color: hsl(236, 13%, 42%);
    font-weight: 400;
    font-size: 0.7em;
  }

  .img-last-03 {
    left: 20px;
    top: 810px;
    width: 80px;
    height: 90px;
  }

  .tit-03 {
    top: 805px;
    left: 120px;
    font-size: 1.5em;
    color: hsl(233, 8%, 79%);
  }

  .tit-last-03 {
    position: absolute;
    max-width: 180px;
    top: 840px;
    left: 120px;
    font-weight: 800;
    font-size: 13px;
    transition: 0.3s ease-in;
  }

  .tit-last-03:hover {
    transform: scale(1.1);
    color: hsl(5, 85%, 63%);
    cursor: pointer;
  }

  .pr-last-03 {
    position: absolute;
    max-width: 165px;
    top: 865px;
    left: 120px;
    line-height: 1.7;
    color: hsl(236, 13%, 42%);
    font-weight: 400;
    font-size: 0.7em;
  }

  .attribution {
    top: 1520px;
    left: 10px;
    color: hsl(5, 85%, 63%);
    font-size: 13px;
    max-width: 260px;
    line-height: 1.8;
  }

  .attribution a {
    color: hsl(5, 85%, 63%);
    text-decoration: none;
    transition: 0.3s ease-in;
  }

  .attribution a:hover {
    color: hsl(233, 8%, 79%);
    transform: scale(1.1);
    font-size: 1.2em;
    text-decoration: double hsl(236, 13%, 42%) underline;
  }
}