* {
    padding: 0px;
    margin: 0px;
    font-family: 'Catamaran', sans-serif;
}

.menu {
    width: 100%;
    height: 50px;
    background-color: #A1002A;
}


.email {
   float: left;
   padding: 18px 20px 0px 0px;
}

.telefon {
    float: left;
    padding: 18px 0px 0px 0px;
}

.info img {
    width: 40px;
    float: left;
    padding: 10px;
}
.info {
    height: 60px;
}


/*Burger menu*/
/* Add a black background color to the top navigation */
.topnav {
    background-color: #A1002A;
    overflow: hidden;
    text-transform: uppercase;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add an active class to highlight the current page */
  .active {
    background-color: #383838;
    color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }

iframe {
    margin-top: 30px;
}

/*Footer*/

.footercontact {
    width: 100%;
    height: 200px;
    background: #A1002A;
    position: relative;
    margin: auto;
    color: #fff;
    text-align: center;
    line-height: 200px;
    font-size: 17px;
}

.footercontact img {
    width: 45px;
    vertical-align: middle;
}

.firstcontact_text, .secondcontact_text, .thirdcontact_text, .fourthcontact_text {
    padding-right: 20px;
}

/*Placeholder center*/
::-webkit-input-placeholder {
    text-align: center;
    font-size: 17px;
 }
 
 :-moz-placeholder { /* Firefox 18- */
    text-align: center;  
    font-size: 17px;
 }
 
 ::-moz-placeholder {  /* Firefox 19+ */
    text-align: center;
    font-size: 17px;
 }
 
 :-ms-input-placeholder {  
    text-align: center; 
    font-size: 17px;
 }

 input {
     padding: 10px 0px 10px 0px;
     margin: 15px 0px 15px 0px;
     width: 350px;
 }

form {
    text-align: center;
}

form p {
    font-size: 24px;
}

button {
    padding: 10px 0px 10px 0px;
    margin: 10px 0px 100px 0px;
    background: #A1002A;
    color: #fff;
    width: 355px;
    border: 0px;
    font-size: 17px;
}

/*Animal boxes*/
.first_box {
    width: 400px;
    height: 400px;
    background-image: url("dog.jpg");
    margin: 0px 20px 0px 20px;
    opacity: 0.6;
    transition: opacity .5s ease-out;
}

.second_box {
    width: 400px;
    height: 400px;
    background-image: url("cat.jpg");
    margin: 0px 20px 0px 20px;
    opacity: 0.6;
    transition: opacity .5s ease-out;
}


.animal_boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px 40px 100px 40px;
}

.animal_boxes p {
    color: #fff;
    font-size: 38px;
    text-transform: uppercase;
    text-align: center;
    line-height: 400px;
    opacity: 1;
}

.first_box:hover {
    opacity: 1;
}

.second_box:hover {
    opacity: 1;
}

.lost_animals {
    text-align: center;
    font-size: 24px;
    margin: 60px 0px 80px 0px;
}

/*Lingid*/
a {
    text-decoration: none;
    color: #fff;
}

a:link {
    text-decoration: none;
    color: #fff;
}
  
a:visited {
text-decoration: none;
color: #fff;
}

a:hover {
text-decoration: none;
color: #fff;
}

a:active {
text-decoration: none;
color: #fff;
}








































/*Mobile view*/
@media only screen and (max-width: 768px) {
    .info {
        display: none;
        height: 0px;
    }

    .slideshow-container img {
        height: 40vh;
    }

    .img1, .img3, .img4 {
        display: none;
    }

    .firstcontact_text, .thirdcontact_text, .fourthcontact_text {
        display: none;
    }

    .footercontact {
        height: 130px;
        line-height: 130px;
        font-size: 18px;
    }

    .footercontact img {
        width: 50px;
    }

    .animal_boxes {
        margin: 0px;
    }

    .first_box, .second_box, .third_box {
        margin: 0px;
    }

    input {
        width: 100%;
        margin-top: 0px;
        padding: 20px 0px 20px 0px;
    }

    .lost_animals {
        margin: 40px 0px 40px 0px;
    }

    form p {
        margin: 40px 0px 40px 0px;
    }

    button {
        padding: 15px 0px 15px 0px;
    }



    
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 768px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 768px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }