*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    
}

.container {
  margin-right: auto; 
  margin-left:  auto; 
  max-width: 1200px; 
  padding-right: 10px; 
  padding-left:  10px; 

}

main{
    width: 100%;
    min-height: 100%;
    margin: auto;
}

.post__name{
    color: #4b4741;
    text-align: center;
    padding: 20px 10px;
    font-size: 40px;
    font-family: 'Kaushan Script', cursive;
    text-shadow: 2px 3px 3px rgba(0,0,0,0.3);
}

.card__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card__menu{
    width: 100%;
    position: relative;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.5s;
    border: solid 1px #fafafa;
    
}


.card__menu img{
    width: 102%;
    height: 100%;
    object-fit: cover;
    border: solid 1px #fafafa;
    box-shadow: 0 5px 10px #777;
    border-bottom-left-radius: 50px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    background-color: lightgray;
}
.card__body{
    padding: 30px;
    text-align: left;
}


.card__name .card__text{
    font-weight: 700;
    text-transform: uppercase;
    color: #363636;
    font-size: 157;
    padding-bottom: 10px;
}

a{
    text-decoration: none;
}
.card__body p {
    font-size: medium;
    line-height: 22px;
    color: #363636;
    padding-top: 10px;
    font-weight: 500;
}

.card__detail{
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.card__rating {
    display: block;
    font-size: large;
    color: rgb(85, 255, 0);
    padding-bottom: 18px;
    font-family:"Roboto", sans-serif;
}

.copyright{
    width: 100%;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
    background-color: #1C1C1E;
    font-weight: 500;
    color: #999;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #bf1722;
    color: rgb(255, 255, 255);
    padding: 8px;
    z-index: 100;
 }

 .skip-link:focus {
    top: 0;
 }



.loader{
    width: 100%;
    height: 100vh;
    text-align: center;
    grid-column: 1 / span 3;
    margin-top: 200px;
    background-color: white;
}

.error__data{
    grid-column: 1 / span 3;
    height: 100vh;
    width: 100%;
    font-size: xx-large;
}

.error__data .card__name{
    text-align: center;
}
.nav {
   width: 100%;
   padding-left: 80px;
   padding-right: 80px;
   display: flex;
   position: fixed;
   top:0;
   z-index: 50;
   transition: background 0.5s;
}

.nav__list{
    font-weight: 700;
    font-size: 13px;
    margin-top:auto;
    margin-bottom:auto;
    line-height: 24px;
    text-transform: uppercase;
    margin-left: auto;
    
}

.nav__brand{
    padding: 20px 0;
    font-weight: 700;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size:xx-large;
    text-shadow: 2px 3px 3px rgba(0,0,0,0.3);

}

.nav__item{
    box-sizing: border-box;
    display: inline-block;
    font-size: small;
}


.nav__list a {
    text-decoration: none;
    color: rgb(231, 211, 211);
    padding: 30px;
}

.nav__list a:hover {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

#menu{
    color: white;
    text-align: right;
    padding-bottom: auto;
    font-weight: 500;
    padding-right: 20px;
    padding-top: auto;
    font-size: 40px;
    border:none;
    background-color: transparent;
}

.hero{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(86aa8a1ec1fccd20254c862626079757.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    text-align: center;
    color: white;
    width: 100%;
    height: 800px;
    background-color: lightgray;
    padding-bottom: 30px;
}
 
.hero .hero__inner{
    margin:  0 auto;
    margin-top: 50px;
    padding-bottom: 30px;
}

.hero .hero__inner .hero__img{
    width: 100%;
    height: auto;
}

.hero .hero__inner .hero__text{
    padding-top: 30px;
    font-size: 30px;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.5);

} 

.hero .hero__inner .hero__text p{
    padding-top: 20px;
    font-weight: 400;
    font-size: 30px;
    font-family: 'Kaushan Script', cursive;
    text-shadow: 2px 3px 3px rgba(0,0,0,0.3);

} 

.rating{
    position: absolute;
    bottom: 193px;
    right: -6px;
    padding: 20px;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.1);
    font-size: 17px;
}

.location{
    display: relative;
    font-weight: 500;
    font-size: 17px;
}

.btn {
    display: block;
    width:100%;
    margin: 10px 0;
	padding: 15px;
    background-color:darkslategray;
    border-radius: 5px;
    text-transform: uppercase;
    color: white;
    font-weight: 700;
    font-size: medium;
    transition: 0.5s;
    cursor: pointer;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1);
    border: solid 1px #fafafa;
    box-sizing: border-box;
}

.btn:hover {
	background-color:#5cbf2a;
}

.btn:active {
	position:relative;
	top:1px;
} 

.card_skeleton_loader_home{
  width: 100%;
  display: relative;
  height: 480px;
  cursor: progress; 
  background: 
    linear-gradient(0.25turn, transparent, #fff, transparent),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee);  
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 310px, 225px 22px,225px 22px,95% 10px,95% 10px,95% 10px; 
  background-position: -315px 0, 0 0 , 10px 330px,10px 370px,10px 410px,10px 430px,10px 450px;
  animation: hloading 1.5s infinite;
  
}

@keyframes hloading {  
  to {
    background-position: 315px 0, 0 0, 10px 330px,10px 370px,10px 410px,10px 430px,10px 450px;
  }
}
.nav__color{
   width: 100%;
   background-color: #2d2d2d;
   height: 210px;
   position:absolute;
   top: 0;
   z-index: -1; 
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
}
.detail__grid{
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr ;
    gap: 20px;
}

.detail__img img{
    max-width: 600px;
    width: 100%;
    height: auto;
    border: solid 1px #fafafa;
    box-shadow: 0 5px 10px #777;
    border-radius: 30px;
    background-color: lightgray;
}

.detail__text .detail__name{
    font-weight: 400;
    font-size: 50px;
    color: #2d2d2d;

}

.detail__text .detail__rating{
    margin-top: 5px;
    font-weight: 400;
    font-size: 20px;
    color: #2d2d2d;


}

.detail__text .detail__description{
    font-weight: 400;
    font-size: 14px;
    line-height: 27px;
    color: #363636;
    text-align: justify;
}

.detail__text .detail__address{
    margin-top: 20px;
}

.square{
    padding: 8px;
    border: 1px solid #e7e2e2;
    font-size: 13px;
    line-height: 13px;
    display: inline-block;
    margin: 5px 10px;
    margin-left: 0px;
    border-radius: 3px;
    color: #363636;
}

  
.tabs {
	display: flex;
    flex-wrap: wrap; 
}

.tabs label {
  order: 1; 
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  transition: background ease 0.2s;
  text-align: center;
}

.tabs .tab {
  order: 99; 
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  background: #fff;
  padding: 30px 0;
  border-top: 1px solid #ccc;
  
}

.tabs input[type="radio"] {
	display: none;
}
.tabs input[type="radio"]:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tabs input[type="radio"]:checked + label + .tab {
	display: block;
}

.user__review{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    
    gap: 10px;
    margin-top: 20px;
}

.user__name p{
    padding-top: 20px;
}

.detail__menu{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 30px;
    color: #ffffff;
    
}

.detail__menu .card__menu{
    box-shadow:0 2px 7px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3); 
    border-radius: 20px;   
}

.detail__menu h1{
    text-align: center;
    margin-top: 20px;
    
}

.detail__menu .card__text {
    color: #ffffff;
    font-weight: bolder;
    
}

.detail__menu ul li {
    list-style: none;
}

.detail__menu li::before{
  content: "\2022";
  color: white;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
   padding-left: 40px;
}


.foods{
    background-color:darkslategray;
    
}

.drinks{
    background-color:darkslategray;
}

.comment{
    background-color:darkslategray;
    height: 410px; 
}

.input__input{
     width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}



.btn__favorite{
    border: none;
    position: fixed;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background-color: #F44336;
    bottom: 45px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.btn__favorite i{
  margin-top: 4px;
}

.card_skeleton_loader_detail_img{
  width: 100%;
  display: relative;
  height: 480px;
  cursor: progress; 
  background: 
    linear-gradient(0.25turn, transparent, #fff, transparent),
   
    linear-gradient(#eee, #eee);  
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%; 
  background-position: -315px 0, 0 0;
  animation: iloading 1.5s infinite;
  
}

@keyframes iloading {  
  to {
    background-position: 315px 0, 0 0;
  }
}

.card_skeleton_loader_detail_description{
  width: 100%;
  display: relative;
  height: 480px;
  cursor: progress; 
  background: 
    linear-gradient(0.25turn, transparent, #fff, transparent),
    linear-gradient(0.25turn, transparent, #fff, transparent),
    linear-gradient(0.25turn, transparent, #fff, transparent),
    linear-gradient(#eee, #eee), 
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee), 
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee),
    linear-gradient(#eee, #eee);  
  background-repeat: no-repeat;
  background-size: 10% 9%, 
                   10% 8%,
                   100% 100%,
                   40% 9%,
                   40% 8%, 
                   35% 5%,
                   35% 5%,
                   100% 3%,
                   100% 3%,
                   100% 3%,
                   100% 3%,
                   100% 3%;
  background-position: -34% 0,
                       -34% 60px, 
                       -315px 120px, 
                        0 0,
                        0 60px,
                        0 120px,
                        0 160px,
                        0 200px,
                        0 240px,
                        0 280px,
                        0 320px,
                        0 360px;
  animation: dloading 1.5s infinite;
  
}

@keyframes dloading {  
  to {
    background-position: 34% 0,
                         34% 60px,
                         315px 120px, 
                         0 0,
                         0 60px,
                         0 120px,
                         0 160px,
                         0 200px,
                         0 240px,
                         0 280px,
                         0 320px,
                         0 360px;
                         
  }
}

@media screen and (max-width: 600px) {
    
    .nav__list{
        width: 100%;    
        position: absolute;
        padding:  0;
        -webkit-transform: translate(0, -300px);
        transform: translate(0, -300px);
        transition: transform 0.3s ease;
        margin-top: 75px;
        background: rgba(0, 0, 0, 0.8);
    }

    .nav{
       padding: 0;
       justify-content: space-between;
       font-size: xx-large;
    }

    .nav__brand{
        font-size: 100%;
        font-weight: 600;
        margin-left: 10px;
    }
    .open {

        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .nav__list .nav__item {
        display: block;
        padding: 20px 0;
        text-align: left;
        color: rgb(255, 255, 255);
        text-decoration: none;
        list-style-type: none;
        box-sizing: border-box;
    }    
    
 
}


@media screen and (min-width: 600px) {
    .header__menu {
        display: none;
    }
    .nav{
        padding: 12px;
    }
    .card__grid{
        grid-template-columns: 1fr 1fr;
    }

     .card__menu img{
        height: 200px;
    }

}



@media screen and (max-width: 768px) {
     .headline__figure{
        width: 100%;

    }

    .img__2{
        display: none;
    }
    .img__3{
        display: none;
    }

    .tabs label {
        width: 50%;
    }
    
    .detail__img img{
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .error__data{
        font-size:medium;
    }

    
}

@media screen and (min-width: 768px) {


   .detail__img img{
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .detail__text{
        padding-left: 20px;
        padding-right: 20px;
    }
   
    .post__name{
        font-size: 50px;
    }

    .post__title{
        font-size: 40px;
    }

     .card__menu img{
        height: 300px;
    }

    .user__review{
        grid-template-columns: repeat(2,1fr);
    }

    .tabs label {
        width: 50%;
    }

    .detail__menu{
        grid-template-columns: repeat(2,1fr);
    }
    .hero{
        height: 900px;
    }
    .hero .hero__inner .hero__text{
        margin-top: -40px;
        font-size: 40px;
    } 
    
    .hero .hero__inner .hero__text p{
        font-size: 40px;
    }

     .hero .hero__inner .hero__img{
        width: 70%;
        height: auto;
    } 
    .hero{
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(4820d768f336bed5c557fa0e7de1d503.webp);
    }
}   

@media only screen and (min-width: 1200px) {
    .hero{
        height: 110vh;
    }
     .hero .hero__inner {
        margin-top: 20px;
    } 
    
    .hero .hero__inner .hero__text{
        margin-top: -90px;
    } 

     .hero .hero__inner .hero__text p{
        font-size: 46px;
        margin-top: -10px;
    } 

    .nav{
       padding: 0 70px;

    }

    .hover:hover{
        transform: translate(0,-50px);
        box-shadow:0 4px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    }
   
    .card__grid{
        grid-template-columns: 1fr 1fr 1fr ;
    }

    

    .detail__grid{
        grid-template-columns: 1fr 1fr;
    }

    .detail__text .detail__name{
        font-weight: 400;
        font-size: 50px;
        color: #ffffff;

    }
    .detail__text .detail__rating{
        margin-top: 5px;
        font-weight: 400;
        font-size: 20px;
        color: #ffffff;
    }

    .tabs {
        display: flex;
        flex-wrap: wrap;
        grid-column: 1 / span 2;
    }

    .tabs label {
        width: 25%;
    }

    .user__review{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 10px;
        margin-top: 20px;
    }

    .detail__menu{
        grid-template-columns: repeat(3,1fr);
        
    }

    
}


@media only screen and (max-width: 850px) and (orientation : landscape)  {
    .nav__list .nav__item {
        padding: 0px;
    }    
    .card__grid{
        grid-template-columns: 1fr 1fr;
    }
    .nav{
        padding: 0px 10px;
    }

    .nav__brand{
        font-size: x-large;
    }

    .hero{
        height: auto;
    }
     .hero .hero__inner .hero__img{
        width: 60%;
        height: auto;
    } 
}



