@import url("https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@200;300;500;600;700&display=swap");

/*<-----------Settings for all---------->*/
* {
    font-family: 'Open Sans', sans-serif;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

/*<-----------for buttons---------->*/
.buttons {
    width: 100%;
    padding: 100px 0;
}

.OpeningHours-btn {
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .2em;
    color: #FFFFFF;
    padding: 12px 24px;
    position: absolute;
    background: transparent;
    border: 1px solid #fff;
    cursor: pointer;
    font-weight: bold;
    margin-left: 30%;
    
}

.OpeningHours-btn:hover {
    cursor: pointer;
    color: black;
    background: #FFFFFF;
    border: 1px solid #ffffff;
    transition: 1s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.Ratings-btn {
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .2em;
    color: #FFFFFF;
    padding: 12px 24px;
    position: absolute;
    background: transparent;
    border: 1px solid #fff;
    cursor: pointer;
    font-weight: bold;
    margin-left: 60%;
}

.Ratings-btn:hover {
    cursor: pointer;
    color: black;
    background: #FFFFFF;
    border: 1px solid #ffffff;
    transition: 1s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

/*<-----------about us---------->*/

.about {
    width: 100%;
    margin-top: 2%;
}

.about img {
    height: auto;
    width: 430px;
}

.about-text {
    width: 550px;
    color: #FFFFFF;
    text-indent: 10%;
    text-align: justify;
}

.us {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.us img {
    transition: 0.5s;
    animation: fadeOut 1.5s infinite alternate;
    opacity: 1;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
    }



/*<-----------for opening hours---------->*/

.openingHours {
    width: 100%;
    margin-top: 7%;
    align-items: center;
    text-align: center;
}

.OH-title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 400px;
}


.table {
    width: 1000px;
    background: rgba(0, 0, 0, 0.10);
    padding: 20px;
    margin: auto;
    color: white;
    border-radius: 25px;
}

.table table{
    width: 100%;
    margin: auto;
    vertical-align: top;
    border-collapse: collapse;
}

.table table td {
    vertical-align: top;
    text-align: left;
    padding: 20px 50px;
}

.table table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.3);
}

.table span {
    color: red;
    font-weight: bold;
    margin-left: 10%;
    font-size: 15px;
}


/*<-----------for ratings title---------->*/
.ratings {
    width: 100%;
    margin-top: 7%;
    margin-bottom: 5%;
    align-items: center;
    text-align: center;
}

.rate-title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 400px;
}


/*<-----------for ratings---------->*/

.container-styles {
    width: 100%;
    margin-top: 2%;
    margin-bottom: 20%;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.containter-rate {
    position: relative;
    width: 100%;
    background: GREEN;
    padding: 10px 30px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.container-rate .post{
    display: none;
  }

.container-rate .text{
    font-size: 25px;
    color: #ffffff;
    font-weight: 500;

}

.container-rate .edit{
    position: relative;
    left: 1px;
    bottom: 1px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
  }

.container-rate .edit:hover {
    text-decoration: underline;
}

.containter-rate .star-widget input {
     display: none;

}

.star-widget label {
    font-size: 40px;
    color: #444;
    padding: 0px;
    float: right;
    position: relative;
    transition: all 0.2s ease;
    margin: auto;
    
}

.star-widget label {
    display: inline-block;
    left: -44%;
}

.star-widget input {
    appearance: none;
}

input:not(:checked) ~ label:hover,
input:not(:checked) ~ label:hover ~ label {
    color: #fd4;
    
}

input:checked ~ label {
    color: #fd4;
}

input#rate-5:checked ~ label {
    color: #fe7;
    text-shadow: 0 0 20px rgb(58, 25, 0);
}

#rate-1:checked ~ form header:before {
    content: "I just hate it 😠";
    margin-left: 12%;
}
  #rate-2:checked ~ form header:before {
    content: "I don't like it 😒";
    margin-left: 12%;
}
  #rate-3:checked ~ form header:before {
    content: "It is awesome 😄";
    margin-left: 12%;
}
  #rate-4:checked ~ form header:before {
    content: "I just like it 🤩";
    margin-left: 12%;
}
  #rate-5:checked ~ form header:before {
    content: "I just love it 😍";
    margin-left: 12%;
}

.container-rate form {
    display: none;
}

input:checked ~ form {
    display: block;
    width: 100%;
}

form header {
    width: 100%;
    font-size: 25px;
    color: #fe7;
    font-weight: 500;
    margin: 10px 0 10px 30px;
    text-align: center;
    transition: all 0.2s ease;
}

form .textarea {
    height: 100px;
    width: 300px;
    margin: auto;
    overflow: hidden;
}

  form .textarea textarea {
    height: 100%;
    width: 100%;
    outline: none;
    color: #eee;
    border: 1px solid #333;
    background: #222;
    padding: 10px;
    font-size: 17px;
    resize: none;
}

.textarea textarea:focus {
    border-color: #444;
}

form .btn {
    height: 45px;
    width: 100%;
    margin: 15px 0;
}

form .btn button {
    height: 100%;
    width: 20%;
    border: 1px solid #444;
    outline: none;
    background: #222;
    color: #999;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

form .btn button:hover {
    background: rgba(223, 248, 0, 0.3);
}