*{
    max-width: 100%;
    margin:0;
    padding:0;
    
}
body{
    background-image: url('photos/background.jpg');

    font-family:  trashim, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: scroll;
    width:auto ;
    max-width: 100%;
    background-size: cover;
    background-attachment: fixed;
}
.background-image{
    opacity: 0.5;
    position: fixed;
    background-size: cover;
    
}
#head{
    display:flex;
    opacity: 0.9;
    align-items: stretch;
    
    
}
.menu{
    background-color: #603d04;
    border-bottom: 3px solid #5a3103;
    margin: 30px auto;
    text-align: center;
    display:flex;
    text-align: right;
    position:relative;
    
    width: 1000%;
    

    
    
    
}
ul{
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
  
}
li {
    color: #FFF;
    font-size: 20px;
    font-weight: 300;
    display:inline-block;
    width: 150px;
    transition-duration: 0.4s;
    
   
    
    
  }
  li:hover {
    border-color: #000000;
    font-style:inherit;
    font-weight: 500;
    font-size: 20.5px;
    color: #000000;
    width: 150px;
    
  }
 
  
#title{
    
    opacity: 0.9; 
    color: rgb(17, 17, 15);
    font-size:  90px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px;
    text-align: center;
    width: 100%; 
       
  }
  
  .about{
    box-sizing: border-box;
    padding: 40px;
    
  }
  #link-about{
    box-sizing: border-box;
    position: relative;
    
  }
  
  .logo{
    width: 100px;
    height: 89px;
    z-index: 20;
    float:left;
    position:relative;
    margin: 0;
    display:flex;
    opacity: 0.8;
    


    
    

  }
  .Therapeutic-Riding{
    box-sizing: border-box;
    padding: 40px;

  }
  a:hover { text-decoration: none; }
  a:active { text-decoration: none; }

  #link2,#link1,#link3{
    box-sizing: border-box;
    border-radius: 8px;
    padding: 20px 20px;
    margin:  20px 20px; 
    background-color: #603d04;
    border-bottom: 1px solid #603d04;
    color: rgb(243, 239, 239);
    text-align: center;
    font-style: inherit;
    font-size: medium;
    width: 20%;
    height: 30px;
    transition-duration: 0.4s;
    
    

  }
  #link2:hover{
    background-color: rgb(100, 95, 95);
    color: blacke;
      }
   #link1:hover{
    background-color: rgb(100, 95, 95);
    color: blacke;
      } 
  #link3:hover{
    background-color: rgb(100, 95, 95);
    color: blacke;
      }
  
  .Dog-care{
    box-sizing: border-box;
       padding: 40px;

  }
  
  .gallery11{
    box-sizing: border-box;
    padding: 40px;
  }
  .gallery{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }
  

  
  .gallery-item {
    margin: 20px;
  }

  .text-gallery{
    position: relative;
    
  }
  .gallery-item .img {
    width: 210px;
    height: 210px; 
    border: 2px solid;
    border-color: rgb(7, 5, 5);
    border-width: 3px;
    border-style: solid;
    display: inline-block;
    border-radius: 4px;
  }
  * {
    box-sizing: border-box;
  }
  .img{
    
    border-color: rgb(7, 5, 5);
    border-width: 3px;
    border-style: solid;
    display: inline-block;
    transition-timing-function: linear;
    transition-duration: 0.4s;
  }
  .img:hover {
    width: 300px;
    height: 300px; 
  }
  #video1,#video2{
    height: 500px;
    width: 290px;
    border-style:ridge;
    border-color: tan;
    padding: 10px 10px;
   
    
    
} 
#link-recom{
    top: 70px;
}
.Costs{
    box-sizing: border-box;
    padding: 40px;
}

table{
    
    padding: 20px 20px;
    margin:  20px 20px; 
    box-sizing: border-box;
    text-align: center;
    right: 500px;

}

thead th {
    
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 2px;
    background: #503306;
    text-align: center;
    background-color: #503306;
    border-color: #503306;
    color: #FFF;
    
 }

tr {
    background-color: #c4c4c4f6;
   border-bottom: 1px solid #503306;
   margin-bottom: 5px;
   text-align: center;
   }

th, td {
 font-weight: 400;
 padding: 20px;
 text-align: center;
 width: 33.3333%;
 font-size:18px
 
 }

  .Contact-Us{
    text-align : center ;
    box-sizing: border-box;
    margin:40px auto 0 auto;
    padding: 30px;
    display: flex;
    margin-top: 0;
    justify-content: space-between;
    max-width: 1400px; 
  }
  #link-Contact-Us{
   
    
  flex-basis: 10%;
  padding: 10px;
  margin-top: 0;
  box-sizing: border-box;

  }
  .Contact{
    box-sizing: border-box;
    height: 400px; 
    width: 200px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    flex-basis: 30%;
    margin: auto;
    padding-right: 0;
    
  }
  #name,#email,#tel{
    box-sizing: border-box;
    height: 40px; 
    width: 500px;
    border-color: #503306;
    box-sizing:5px;
    background-color: #c4c4c4f6;
    color: #000;
    padding:10px;
    border-radius: 4px;
    margin: 10px; 
    opacity: 0.7;
    transition-duration: 0.4s;
    content:initial;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
  }
  #name,#email,#tel,#message,#submit:hover{
    color: rgb(7, 7, 6);
    
    
  }
  #message{
    box-sizing: border-box;
    height: 80px; 
    width: 500px;
    border-color: #000000;
    box-sizing:5px;
    padding:10px;
    border-radius: 4px;
    background-color: #c4c4c4f6;
    margin: 10px;
    opacity: 0.7;
    transition-duration: 0.4s;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  }
  
  #submit{
    height: 50px; 
    width: 500px;
    border-color: #503306;
    box-sizing:5px;
    box-sizing: border-box;
    background-color: #000000;
    color: rgb(207, 202, 202);
    padding:10px;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    transition-duration: 0.4s;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  #submit:hover{
    background-color: rgb(100, 95, 95);
    color: blacke;
  }
  .our-details{
    flex-basis: 40%;
    box-sizing: border-box;
    position:relative;  
  }
  #namefarm,#location, #num, #mail{
    box-sizing: border-box;
    padding-bottom:5px;
    padding-right: 10px;
    padding-top: 10px;
    margin: 10px;
    color: #000000;
    font-size: 25px;
   
  }
  
  .symbol{
     width: 30px; 
    height:30px;
    
    border-radius: 4px;
  }
  .container{
    position: relative;
    text-align: center;
  }
  
  .center-cost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-55%, -55%);
  }
  
  .banner{
    height: 650px;
    max-width: 95%;
    margin: 40px auto 40px auto;
    background-color: #2a2a2a;
    display: flex;
    border-radius: 40px;
  }
  .center-me{
    color:#FFF;
    font-family:'Segoe UI';
    font-size:large;
  
  }
  
    
  .recommendation-grid{
    display: grid;
    grid-template-columns:repeat(4, 2fr);
    grid-auto-rows: 150px 150px;
    grid-row-gap: 130px ;
    grid-column-gap:70px;
    margin:50px;
    justify-content: center;
    
    
  
  }
  
  .told-about-us{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
    font-size:xx-large;
    color:yellow;
    font-family:'Segoe UI';
    justify-content: center;
    
  }
  
  p{
    font-size: 27px;
    
  }
 h1{
    font-size: 50px;
    
 }
 
 .ho{
    width: 200px;
    height: 200px;
    margin-right:auto;
    float: left;
    position:relative;
    bottom:  89px;
    margin: 30px auto;
    display:flex;
    z-index: 20;
   
    

    position: relative;
    animation: mymove 25s infinite;
    animation-iteration-count: infinite;
    
    
    
 }

 .horse{animation-timing-function: ease;}
 @keyframes mymove {
    from {left: 0px;}
    to {left: 1400px;}
  }
 footer #ending{
   

    background-color: #603d04;
    border-bottom: 3px solid #5a3103;
    color: rgb(252, 252, 252);
    width:1500%;
    top: 100px;
    z-index: 10;
    margin: auto auto;
    text-align: center;
    position:relative;
    padding: 25px 25px;
    align-items: center;



 }
 #ending{
    align-items: center;
    text-align: center;
    
    
 }