* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*:root{


}
*/
html, body{
  background-color: /*#CD5C5C*/ white;
  font-family: 'Poppins', sans-serif;
}


/*------------------------------NAVBAR------------------------------*/
.navbar {
  display: flex;
  height: 60px;
  max-width: 100%;
  background-color: tan;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
/*  box-shadow: 5px 1px 20px tan;*/
}

.navbar li{
  display: inline;
  text-transform: uppercase;
}

.navbar a{
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: inline;
  margin: 0 10px;
}

.navbar a:hover{
  border-bottom: 1px solid rgba(201,132,116);
}


/*-----------------------------------SECTION1----------------------*/

.section1{
  max-width: 100vw;
  display: flex;
  margin-top: 25px;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 10px;
}

.section1 h1{
  text-align: center;
}

.section1 a{
  color: black;
  text-decoration: none;
  position: relative;
}

.section1 a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(201,132,116);
  color: black;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease-in;
}

.section1 a:hover::after{
  /*  color: gray;*/
  /*  border-bottom: 1px solid rgba(201,132,116);*/
  transform: scaleX(1);
  transform-origin: left;
  }

img{
  border-radius: 10px;
  box-shadow: 0 1px 3px black;
}


/*---------------------DISPLAY--------------------------------*/

.content{
  display: flex;
  align-items:center;
  /*position: relative;*/
  justify-content: space-around;
  background: tan;
  color: white;
  height: 500px;
/*  box-shadow: 0 1px 3px black;*/
}

#middle{
  border-bottom: 2px solid black;
  box-shadow: 0 0 15px 0 black;
  border-radius: 10px;
  padding: 5px;
  background-color:#000000;
  opacity: 0;
  transition-duration: 0.3s;
}
#middle:hover{
  opacity: 1;
  cursor: pointer;
}

.form {
  /*position: absolute;*/
  line-height: 2;
  border: 2px solid rgba(201,132,116);
  padding: 10px;
  box-shadow: 0 0 25px 0 rgba(0,0,0, .25);
  border-radius: 15px;
}

.form [type=text]{
  padding: 5px 15px;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid rgba(201,132,116);
  border-radius: 10px;
}

.form [type=email]{
  padding: 5px 15px;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid rgba(201,132,116);
  border-radius: 10px;
}

.head{
  color: Brown;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(201,132,116);
  border-left: 1px solid rgba(201,132,116);
  border-radius: 2px;
}

.btn{
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
  display: inline-block;
  padding: 8px 35px;
  margin: 4px 2px;
  text-decoration: none;
  border: none;
  box-shadow: -1px 2px 2px rgba(201,132,116);
  background: none;
  color: white;
  transition: 0.3s;
  transition-timing-function: linear;
}

.btn:hover{
  transform: translateY(-5px);
  box-shadow: 1px 3px 9px rgba(201,132,116);
  background: white;
  color: black;
}


/*-------------------------------GRID---------------------------------------*/

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
/*  grid-template-rows: 1fr;*/
  grid-gap: 10px;
  text-align: center;
  padding: 50px;
  margin-top: 25px;
/*  height: 100%;
  width: 100%;*/
}


.box1,.box2,.box3{
  height: 50vh;
  background: tan;
  box-shadow: 0 1px 3px black;
  border-radius: 20px;
}

.photo1_grid{
  width: 400px;
  height: 300px;
  box-shadow: 0px 1px 2px black;
  transition: 0.3s;
  transition-timing-function: linear;
  border-radius: 20px;
}

.photo1_grid:hover{
  transform: translateY(-1px);
  box-shadow: 0px 3px 5px black;
}


.photo2_grid{
  width: 400px;
  height: 300px;
  box-shadow: 0px 1px 2px black;
  transition: 0.3s;
  transition-timing-function: linear;
  border-radius: 15px;
}

.photo2_grid:hover{
  transform: translateY(-1px);
  box-shadow: 0px 3px 5px black;
}


.photo3_grid{
  width: 400px;
  height: 300px;
  box-shadow: 0px 1px 2px black;
  border-radius: 15px;
  transition-timing-function: linear;
  border-radius: 15px;
  transition: 0.3s;
}

.photo3_grid:hover{
  transform: translateY(-1px);
  box-shadow: 0px 3px 5px black;
}

.para{
  font-size: 18px;
  text-align: center;
  text-transform: capitalize;
  color: white;
}

.heading{
  text-transform: capitalize;
  color: white;
}


/*-----------------------------------------FOOTER 2 -----------------------------*/

.footer-nav{
  display: flex;
  height: 25vh;
  margin-top: 25px;
  justify-content: space-around;
  font-weight: bold;
  /*border: 1px solid red;*/
}

.footer-nav ul li{
  height: 100%;
  list-style-type: none;
  text-transform: uppercase;
  line-height: 3.5;
}

/*.footer-nav li{
  text-decoration: none;
  list-style-type: none;
  text-transform: uppercase;
  line-height: 3.5;
}
*/
.footer-nav a {
  letter-spacing: 3px;
  color: black;
  text-decoration: none;
  position: relative;
}

.footer-nav a:hover  {
  border-bottom: 1px solid rgba(201,132,116);
}

.footer-nav p {
  font-weight: bold;
  border-bottom: 1px solid rgba(201,132,116);
  border-left: 1px solid rgba(201,132,116);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: -1px 1px 1px black;
}


/*---------------------------------SOCIAL MEDIA-------------------*/
.foot{
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 25em;
  background: tan;
}

.foot1{
  display: inline-block;
  text-align: center;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

/*--------------------------------TOP BUTTON--------------------------*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: gray;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}




/*----------------------------------MEDIA---------------------------*/

@media(max-width:500px){
.navbar a:hover {
  border: none;
}

.section1 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

.section1 a:hover::after{
  transform: none;
}

 .content {
   flex-direction: column;
 }


.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: 3fr;
  padding: 0;
 }

.footer-nav {
  display: flex;
  grid-template-columns: repeat(1, 1fr);
  margin-bottom: 65px;
 }
.footer-nav a:hover {
  border: none;
 }
}
