* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  height: 100%;
  overflow-x: hidden;
  position: relative;
}
/* Logo Racional Color 	#f03038 */

.logoimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  height: auto;
  max-width: 350px;
  width: 50%;
}
/* TAB */
nav {
  margin: 27px auto 0;

  position: relative;
  width: 590px;
  height: 50px;
  background-color: #f03038;
  border-radius: 8px;
  font-size: 0;
}
nav a {
  line-height: 50px;
  height: 100%;
  font-size: 15px;
  display: inline-block;
  position: relative;
  z-index: 1;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  color: white;
  cursor: pointer;
}
nav .animation {
  position: absolute;
  height: 100%;
  top: 0;
  z-index: 0;
  transition: all 0.5s ease 0s;
  border-radius: 8px;
}
a:nth-child(1) {
  width: 100px;
}
a:nth-child(2) {
  width: 110px;
}
a:nth-child(3) {
  width: 100px;
}
a:nth-child(4) {
  width: 160px;
}
a:nth-child(5) {
  width: 120px;
}
nav .start-home,
a:nth-child(1):hover ~ .animation {
  width: 100px;
  left: 0;
  background-color: #1abc9c;
}
nav .start-about,
a:nth-child(2):hover ~ .animation {
  width: 110px;
  left: 100px;
  background-color: #441813;
}
nav .start-blog,
a:nth-child(3):hover ~ .animation {
  width: 100px;
  left: 210px;
  background-color: #3498db;
}
nav .start-portefolio,
a:nth-child(4):hover ~ .animation {
  width: 160px;
  left: 310px;
  background-color: #9b59b6;
}
nav .start-contact,
a:nth-child(5):hover ~ .animation {
  width: 120px;
  left: 470px;
  background-color: #e67e22;
}
/* Dropdown Button */
.dropbtn {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #f03038;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}
/* The container <div> -*/
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f03038;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #e7b9bb;
}
body,
html {
  height: 100%;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/C300.jpg");

  /* Set a specific height */
  height: 40%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: 20px;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  max-height: 500px;
}
/* Linkovi */

.links {
  display: flex;
  margin: auto;
  width: 75vw;
  padding-top: 30px;
}

.link {
  flex: 33.33%;
  padding: 5px;
  max-width: 180px;
  margin: auto;
  opacity: 0.7;
}
.link:hover {
  opacity: 1;
}
/* Footer */

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  color: #ffff;
  text-align: center;
  background: gray;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}
.footer-mail {
  text-decoration: none;
  color: white;
}
/* o nama */
.about {
  padding: 10px;
  margin: auto;
  font-family: serif;
  font-size: 20px;
}
.mapouter {
  margin: auto;
  padding: 10px;
  width: 100vw;
}
.gmap_canvas {
  width: 100%;
}

@media screen and (min-width: 601px) and (max-width: 10024px) {
  .about {
    padding: 10px;
    max-width: 90vw;
    font-size: 30px;
    line-height: 1.2;
  }
  .dropdown {
    display: none;
  }
  .logoimg {
    padding-bottom: 10px;
  }
}
@media screen and (min-width: 0px) and (max-width: 600px) {
  .topnav {
    display: none;
  }
  .logoimg {
    float: right;
    padding-right: 20px;
  } 
}
