body {
  background-color: #3b1403ff;
  font-family: "Times New Roman";
  margin: 0;
  height: 100%;
}
html {
  height: 100%;
}

body.home {
  background:url("https://watchline.ch/images/background.gif") no-repeat center center fixed;
  background-size: cover;
  width: 100%;
}

#warning-message {display: none;}

@media only screen and (orientation:portrait) {
  #wrapper {display:none;}
  #warning-message {display:block; color: white;}

  body.home  {
    background:url("https://watchline.ch/images/background.gif") no-repeat center center fixed;
    background-size: cover;
    height: 100%;
  }
}


.header {
  position: relative;
  background: linear-gradient(180deg, rgba(41,13,1,1) 0%, rgb(50, 16, 1,1) 100%);
  height: 114px;
}

.bar-container {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}

.bar1, .bar2 {
  width: 20px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: 1s;
}

.change .bar1 {
  transform: translate(0, 2px) rotate(-45deg);
}

.change .bar2 {
  transform: translate(0, -5px) rotate(45deg);
}

input[type=text], textarea {
  -webkit-appearance: none;
  outline: none;
  border-radius: 0;
  width: 100%;
  padding: 10px 10px 10px 0px;
  border: none;
  color: white;
  background-color: transparent;
  border-bottom: 1px solid white;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

#nextButtonSell {
  position: absolute;
  left: 50%;
  transform: translate(-50%,0);
}

#previousButtonSell {
  position: absolute;
  left: calc(50% - 50px);
  transform: translate(-50%,0);
}

#sendButtonSell {
  position: absolute;
  left: calc(50% + 50px);
  transform: translate(-50%,0);
}

#sendButtonContact {
  position: absolute;
  left: 50%;
  transform: translate(-50%,0);
}
.button {
  padding: 5px 20px;
  cursor: pointer;
  color: black;
}

.arrow-up{
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.arrow-down {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

figcaption {
  line-height: 10px;
}

#watch-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
/*   grid-gap: 1.5rem; */
  justify-items: center;
  margin: 0;
  padding: 0;
}

.watch-frame {
/*   width: 180px; */
/*   padding: .5rem; */
  font-size: 1.0rem;
  text-align: center;
  color: white;
  border-radius: 10px;
}

.watch-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s ease-in-out;
}

.watch-img:hover {
  opacity: .7;
}

#sell-container1 {
  margin:auto; display:block;
  grid-template-columns: 1fr 1fr;
  width: 1024px;
}

#sell-container2 {
  margin:auto; display:none;
  grid-template-columns: 1fr 1fr;
  width: 1024px;
}

.contact-container {
  margin:auto; display:block;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  width: 1024px;
}

.contact-item1 {
  grid-column: 1 / span 2;
  grid-row: 1;
  color: white;
}

.contact-item2 {
  grid-column: 1;
  grid-row: 2;
  color: white;
}

.contact-item3 {
  grid-column: 2;
  grid-row: 2;
  color: white;
  text-align: right;
}

.contact-item4 {
  grid-column: 1;
  grid-row: 3;
  color: white;
}

.contact-item5 {
  grid-column: 2;
  grid-row: 3;
  color: white;
  text-align: right;
}

a:link, a:visited, a:hover, a:active {
  color: white;
  text-decoration: none;
}

@media (max-width: 1160px) {
  .contact-container {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
  #sell-container1 {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
  #sell-container2 {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
}

.menu-container {
  display: grid;
  gap: 10px;
  color: white;
  height: 0;
  width: 100%;
  position: absolute;
  z-index: 100;
  top: 114px;
  background: linear-gradient(180deg,rgb(50, 16, 1,1) 0%, rgb(59, 19, 1,1) 100%);
  overflow-y: hidden;
  transition: 1s;
  grid-template-rows: auto 1fr 1fr 1fr 1fr 1fr 1fr;
}

.menu-item1 {
  grid-column: 1 / span 1;
  grid-row: 1 / span 2;
  margin-left: 60px;
  margin-top: 40px;
/*   margin-top: 50%; */
}

.menu-item2 {
  grid-column: 2 / span 2;
  grid-row: 1 / span 1;
/*   margin-top: 25%; */
  color: #ff7f2aff;
}

.menu-item3 {
  grid-column: 2 / span 1;
  grid-row: 2 / span 1;
}

.menu-item4 {
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
}

.menu-item5 {
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
}

.menu-item6 {
  grid-column: 5 / span 1;
  grid-row: 2 / span 1;
  display: inline-grid;
  align-items: center;
}

.menu-container a {
  padding: 8px;
  text-decoration: none;
  font-size: 25px;
  color: white;
 
  display: block;
  transition: 0.3s;
}

@media (max-width: 1200px) {
  .menu-item1 {
    grid-column: 1;
    grid-row: 1;
  }
  
  .menu-item2 {
    display: none;
  }

  .menu-item3 {
    display: none;
  }

  .menu-item4 {
    display: none;
  }

  .menu-item5 {
    display: none;
  }

  .menu-item6 {
    display: none;
  }
}

.buy-content {
  font-size: 20px;
  color: white;
  margin-left: 20px;
  margin-right: 20px;
}

.about-content {
  margin-left: 20px;
  margin-right: 20px;
  color: white;
  text-align: justify;
  text-justify: inter-word;
}

.about-content p {
  font-size: 20px;
}

@media (max-width: 600px) {
  .bar-container {
    left: 20px;
  }
  
  .menu-item1 {
    margin-left: 20px;
    margin-top: 40px;
  }
  
  .buy-content {
    margin-left: 20px;
    margin-right: 20px;
  }
  .about-content {
    margin-left: 20px;
    color: white;
    margin-right: 20px;
    text-align: left;
    text-justify: none;
  }
  
  #main-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

select {
  color: black;
}

select option:first-child {
  color: black;
}

#currencySelect {
  position: absolute;
  top: 40px;
  left: 20px;
}

#dateSelect {
  position: absolute;
  top: 40px;
  right: 20px;
}
  
#main {
  height: 240px;
}

.watch-Image {
  width: 116px;
  height: 155px;
}

#main-container {
  position: relative;
  top: 0;
  min-height: 100%;
  margin-left: 40px;
  margin-right: 40px;
}

.grid-container {
  display: grid;
  gap: 10px;
  color: white;
}

.grid-item {
/*   background-color: rgba(255, 255, 255, 0.8); */
}

.item1 {
  grid-column: span 1;
  order: 1;
  display: inline-grid;
  justify-items: center;
  align-items: center;
  padding-right: -80px;
}

.item2 {
  grid-column: span 1;
  order: 2;
}

.item3 {
  grid-column: span 2;
  order: 3;
  text-align: center;
  position: relative;
}

p.footer-mobile {
  position: absolute;
  width: 100%;
  margin-top: 20px;
/*   margin-bottom: 20px; */
  color: white;
  text-align: center;
}

.footer-desktop {
  border: 1px solid white;
  position: fixed;
  top: 50%;
  transform: translate(0, -50%);
  right: -2px;
  width: 50px;
  height: 130px;
  background-color: white;
  text-align: center;
}

footer {
  position: relative;
  top: 30px;
  height: 80px;
  width: 100%;
}

p.copyright {
  position: absolute;
  width: 100%;
  color: white;
  text-align: center;
  font-size: 13px;
  bottom: 0;
}
  
@media (min-width: 600px) {
  .copyright {
    display: none;
  }
}

/* @media (min-height: 400px) {
  .copyright {
    display: none;
  }
} */

@media (max-width: 600px) {
  .footer-desktop {
    display: none;
  }
  
  .footer-mobile {
    display: block;
  }
}

@media (min-width: 600px) {
  .footer-desktop {
    display: block;
  }
  
  .footer-mobile {
    display: none;
  }
}

@media (max-height: 630px) and (min-width: 1024px) {
  .grid-container {
    position: absolute;
    width: 100%;
    top: 200px !important;
  }
}

@media (min-width: 1024px) {
  .grid-container {
    position: absolute;
    width: 100%;
    top: calc(50% - 114px);
    transform:translate(0, -50%);
    display: grid;
    gap: 10px;
    color: white;
    grid-template-columns: auto auto 1fr;
    font-size: 20px;
  }

  .grid-item {
    padding: 20px;
  }
  
  select {
    font-size: 15px;
  }
  
  #currencySelect {
    position: absolute;
    top: 20px;
    left: 20px;
  }
  
  #dateSelect {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .watch-Image {
    width: 225px;
    height: 300px;
    margin-top: 10px;
  }

  #main {
    height: 300px;
  }

  .item1 {
    order: 2;
    grid-row: 1;
  }

  .item2 {
    order: 1;
    grid-row: 1;
    display: inline-grid;
    justify-items: left;
    align-items: center;
  }
  
  .item3 {
    order: 3;
    grid-row: 1;
  }
}