* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(8, 29, 153);
  color: white;
}

.site-title {
  font-size: 1.5rem;
  margin: 0.5rem;
}

.navbar-links ul {
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar-links li {
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  display: block;
}

.navbar-links li:hover {
  background-color: rgb(41, 99, 224);
}

.toggle-button {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 1px;
}

.heading {
  padding: 5vw;
  text-align: center;
  justify-content: center;
}

.main-message {
  padding: 20px;
  margin: 15px;
}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.container-event {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-width: 5px;
  padding: 20px;
  text-align: center;
}

.card {
  background-color: white;
  width: 220px;
  height: 400px;
  margin: 10px;
  border-radius: 15px;
  text-align: center;
}
.card a {
  background-color: black;
  color: white;
  padding: 20px 20px;
  display: block;
  text-align: center;
  margin: 20px 40px;
}

.card:hover {
  background-color: rgb(62, 62, 62);
  color: white;
  transform: scale(1.05);
  transition: all 0.4s ease;
}

.card-image {
  height: 200px;
  margin-bottom: 15px;
  background-size: cover;
  border-radius: 15px 15px 0px 0px;
}

.card-1 {
  background-image: url("./img/Embassy.png");
  width: 100%;
  object-fit: fill;
}

.card-2 {
  background-image: url("./img/pexels-anton-fb.jpg");
  width: 100%;
  object-fit: fill;
}

.card-3 {
  background-image: url("./img/Mayfair.png");
  width: 100%;
  object-fit: fill;
}

.card-4 {
  background-image: url("./img/p1605296167__35976.2.jpg");
  width: 100%;
  object-fit: fill;
}

.card-5 {
  background-image: url("./img/43a75L54q.jpg");
  width: 100%;
  object-fit: fill;
}

.card-6 {
  background-image: url("./img/68me86t7212e9_ma873e.png");
  width: 100%;
  object-fit: fill;
}

.card-7 {
  background-image: url("./img/345pr43ns4.png");
  width: 100%;
  object-fit: fill;
}

.card-8 {
  background-image: url("./img/234m3d14lu987.png");
  width: 100%;
  object-fit: fill;
}

.card-9 {
  background-image: url("./img/8643324arg433n6.png");
  width: 100%;
  object-fit: fill;
}

.card-10 {
  background-image: url("./img/biomass.png");
  width: 100%;
  object-fit: fill;
}

.card-11 {
  background-image: url("./img/dicorrestaurant.png");
  width: 100%;
  object-fit: fill;
}

.card-12 {
  background-image: url("./img/rockyournailsusa.png");
  width: 100%;
  object-fit: fill;
}

.card-13 {
  background-image: url("./img/bostonsmiles1.png");
  width: 100%;
  object-fit: fill;

/* Here start the accordion styling */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

/* Style inputs */
input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.submit {
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.75),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
  background-color: rgb(41, 99, 224);
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

.submit:hover {
  background-color: #45a049;
}

.button {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Style the container/contact section */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 10px;
}

/* Create two columns that float next to eachother */
.column {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 400px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .toggle-button {
    display: flex;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links ul {
    width: 100%;
    flex-direction: column;
  }

  .navbar-links li {
    text-align: center;
  }

  .navbar-links li a {
    padding: 0.5rem, 1rem;
  }

  .navbar-links.active {
    display: flex;
  }

  .column,
  input[type="submit"] {
    width: 100%;
    margin-top: 0;
  }
}
