header {
  margin-top: -30px;
}


body {
  font-family: "Poppins", sans-serif;
  margin: 50px 50px 0 50px;
  background-color: #faf9f6;
  display: flex;
  flex-direction: column;
  min-height: 95vh;
}


.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 850px) {
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 850px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 5;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    color: white;
  }
}

.main {
  flex: 1;
}

h1 {
  font-size: 3rem;
}

footer {
  text-align: right;
  color: midnightblue;
}

.card {
  width: 45%;
}

.tile-image {
  max-width: 100%;
  height: 200px;
  object-position: 100% 50%;
  object-fit: cover;
  float: left;
  margin-right: 50px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.center{
  text-align: center;
}

.dark{
  background-color: #333;
  color: #faf9f6;
}

.indent{
  margin-left: 20px;
}

.margs{
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
}

.margs-s{
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
  margin-top: -20px;
}

.indent2{
  margin-left: 40px;
}

.tight{
  line-height: 0.5;
}

.str_hr {
  border: none;
  height: 3px;
  /* Set the hr color */
  
  background-color: #333;  /* Modern Browsers */
}

  
 .card-img{
    margin-left: 3rem;
    margin-right: auto;
    max-height: 300px;
    max-width: 300px;
  }
  
  .card-img-r{
    margin-right: auto;
    max-height: 300px;
    max-width: 300px;
  }
  
.container_test{
    display: grid;
    align-items: center;
    grid-template-columns: 0.45fr 1fr;
    column-gap: 15px;
  }
  
.container_test_l{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 0.45fr;
    column-gap: 15px;
  }
  
.container_1{
    display: grid;
    align-items: center;
    grid-template-columns: 0.40fr 1.4fr;
    column-gap: 15px;
    padding-top: 15px;
    margin-bottom: 60px
  }

/*.img_test{
    max-width: 50%;
    max-height: 50%;
  }*/
  
.text_test{
    font-size: 17px;
  }
  
@media screen and (max-width: 900px) {
  .card-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-height: 300px;
    max-width: 300px;
  }
  
  .container_test{
    display: block;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 7%;
    column-gap: 15px;
  }
  
  .container_test_l{
    display: block;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
  }
  
  .container_1{
    display: block;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 0;
    padding-top: 10%;
    column-gap: 15px;
  }
  
  .img_p {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  padding-left: 30%;
  text-align: center;
  max-width: auto;
  max-height: 300px;
}
  

}

@media screen and (max-width: 680px) {
  
  body {
  margin: 5px 5px 5px 5px;
 } 

  h1 {
    font-size: 2rem;
    text-align: center;
  }
    
  h2 {
    font-size: 1,5rem;
    text-align: center;
  }
  
  h3 {
    font-size: 1,3rem;
    text-align: center;
  }
  
  h4 {
    font-size: 1,2rem;
    text-align: center;
  }
  
  .indent{
    margin-left: 5px;
  }
  
  .indent2{
     margin-left: 20px;
  }
 
  header {
   margin-top: 0px;
  }

  .card {
    width: 100%;
    display: block;
    margin-bottom: 30px;
    text-align: left;
  }
  
  
   .card-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
    max-width: 300px;
  }
  
  .card img {
    margin-bottom: 10px;
    width: 100%;
    display: inline;
    object-fit: cover;
  }
  
  .container_test{
    display: block;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
  }
   

}


ul{
  margin-bottom: 20px;
}


li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

a {
  font-weight: bold;
  color: black;
}

p a:hover {
  color: gray;
 
}

.img_p {
  max-width: 300px; /*200px;*/
  margin-left: -48px;
  margin-top: -50px;
  display: block;
}

.img_n {
  max-width:100%;
  max-height: 100%;
  object-fit: cover;
  margin: auto;
  display: block;
 
}

.img_m {
  background: black;
  max-width:50%;
  max-height: 50%;
  object-fit: cover;
  margin: auto;
  display: block;
 
}

.img_rnd{
  border-radius: 50%;
}