@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant_SC/CormorantSC-Regular.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  flex-flow: column;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

header {
  padding-top: 40px;
  width: 100%;
  height: 300px;
  background-image: url(/images/misc/360850-svetik_2560x1600.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

h1 {
  font-family: "Cormorant";
}

.logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.logo img {
  margin-right: -20px;
}

nav {
  width: 100%;
  height: 100px;
  background-color: brown;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

nav a {
  padding: 10px;
  margin: 10px;
  background: rgb(198, 198, 198);
  color: inherit;
  text-decoration: none;
  transition: 200ms;
  border-radius: 20px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

nav a:hover {
  transform: scale(1.05);
  transition: 200ms;
  box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.3);
}

nav a:active {
  padding: 10px;
  margin: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: 200ms;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  width: 100%;
  padding-top: 20px;
}

.order {
  width: 370px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgb(84, 101, 84);
  border-radius: 20px;
  margin-bottom: 20px;
box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.3);
}

.order__imgs {
  width: 370px;
  height: 370px;
  overflow: hidden;
  position: relative;
}

.img__top {
  position: absolute;
  top: 0;
  left: 0;
  width: 370px;
  height: 370px;
  transition: 200ms;
}

.img__bottom {
  position: absolute;
  top: 370px;
  left: 0;
  width: 370px;
  height: 370px;
  transition: 200ms;
}

.order:hover .img__top {
  top: -370px;
  transition: 200ms;
}

.order:hover .img__bottom {
  top: 0px;
  transition: 200ms;
}

.order p,
.order h2 {
  margin: 5px;
}

footer {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  height: 100px;
  align-items: center;
  justify-content: center;
  background-color: rgb(164, 196, 164);
}

.activebtn {
  background: #fff;
}

footer a {
  margin: 10px 0;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter p {
  margin: 0 5px;
}

main form {
  width: 370px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

input {
  margin-bottom: 10px;
  width: 100%;
}

input[type="checkbox"] {
  width: min-content;
  margin-right: 10px;
}

form label {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
}

input[type="submit"] {
  padding: 5px;
  border-radius: 10px;
  margin: 10px;
  outline: none;
  transition: 200ms;
}

input[type="submit"]:hover {
  padding: 5px;
  border-radius: 10px;
  margin: 10px;
  outline: none;
  transform: scale(1.05);
  transition: 200ms;
}

input[type="submit"]:active {
  padding: 5px;
  border-radius: 10px;
  margin: 10px;
  outline: none;
  transform: scale(0.95);
  transition: 100ms;
}