* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/*header*/
.header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    border-bottom: 20px rgb(9, 9, 73) solid;
    background-image: url(space-7709489.jpg);
}
.main {
    width: 80%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}
.logo {
    position: relative;
    width: 20%;
    height: 100%;
}
.logo img {
    width: 50%;
    height: 100%;
}
#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 1.375rem; 
}
button {
    width: 9rem;
    padding: 0.5rem;
    text-align: center;
    border-radius: 1.563rem;
    margin: 1.25rem 0.625rem;
    font-weight: bold;
    border: 0.225rem solid rgb(233, 29, 223);
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
button:hover {
    background-color: rgb(128, 10, 122);
  }
#navbar ul {
    display: flex;
    align-items: center;
    gap: 5.625rem;
    color: white;
    z-index: 1;
    list-style: none;
    color: rgb(87, 39, 84);
    cursor: pointer;
}
#navbar ul {
    display: flex;
    align-items: center;
    gap: 5.625rem;
    color: white;
    z-index: 1;
    list-style: none;
    color: rgb(238, 82, 230);
    cursor: pointer;
}
#navbar ul li:hover {
    color: white;
    cursor: pointer;
}
#heading {
    width: 100%;
    height: 45%;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
}
#heading h1,h3{
    text-align: center;
    color: #f0f0f0;
}

/* timezone */
.container {
    text-align: center;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.container h1 {
    margin-bottom: 90px;
    margin-top: 90px;
}
#time-zones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.time-zone {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 150px;
    border-top: 10px solid #4e053e;
    background-color: #820d86;
}
.close-btn {
    color: #0c0b0b;
    display: flex;
    justify-content: end;
    position: relative ;
    margin-top: -15px;
    cursor: pointer;
    font-size: 1.8rem;
}
.close-btn:hover{
    /* font-size: 2rem; */
    color: #f0f0f0;
}
button {
    margin-top: 10px;
}

input[type="text"] {
    width: 300px;
    padding: 5px;
    margin-right: 10px;
}
.time-zone h2 {
    margin: 0;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffffffe5;
}
.time-zone p {
    margin: 0;
    font-size: 1em;
    color: #ffffffe5;
}
#search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
#timezone-input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
}
#add-timezone {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
    border: none;
    background-color: rgb(87, 39, 84);
    color: white;
    cursor: pointer;
    margin-right: 10px;
}
#remove-timezone{
    font-size: 0.2rem;
    width: 0.5rem;
}
#add-timezone:hover, #remove-timezone:hover {
    background-color: rgb(128, 10, 122);
}
.dropdown {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #1d1919;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    border: 1px solid #f8f5f5;
    max-height: 200px;
    overflow-y: auto;
    width: 30%;
    margin-left: 25rem;
}
.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}




/* Testimoials */
.all-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 5rem auto;
    border-top: 1rem rgb(68, 62, 62) solid;
}
.all-box {
    display: flex;
    flex-direction: column;
    width: 80%;
}
.testimonials {
    align-self: center;
    text-align: center;
}
.testimonials h1 {
    padding: 2rem 0;
    font-size: 2rem;
    font-weight: 400;
}
.reviews {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}
.all-review {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 25%;
    padding-top: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 10px rgba(162, 184, 193, 0.5);
    align-items: center;
}
.stars {
    display: flex;
    flex-direction: row;
    color: rgba(210, 195, 57, 1); 
}
.reviews p {
    font-weight: 300;
    font-size: 0.8rem;
    padding: 1.5rem;
    line-height: 1.25rem;
}
.persons {
    width: 100%;
    height: 8rem;
    background-color: #A2B8C1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.persons img {
    display: flex;
    position: relative;
    width: 4rem;
}
.persons p {
    font-size: 0.7rem;
    color: white;
    padding: 1rem 0 5rem 0;
}
/*footer*/
footer{
    width: 100%;
}
.end {
    background-color: rgba(0, 28, 39, 0.75);
    color: #fff;
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 30px;
    font-size: 23px;
}
.end a{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 20px;
    padding-right: 20px;
    color: #f0f0f0;
    text-decoration: none;
}
.end a:hover{
    text-decoration:underline;
    color: #820d86;
}


@media screen and (max-width: 1020px) {
    .container{
        height: 120vh;
    }
    .container h1 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #time-zones {
        height: 30%;
    }
}
@media screen and (max-width: 900px) {
    #navbar {
        font-size: 0.800rem; 
    }
    button {
        width: 5rem;
        padding: 0.4rem;
        text-align: center;
        border-radius: 1.5rem;
        margin: 1.25rem 0.625rem;
    }
    .logo img {
        width: 40%;
        height: 80%;
    }
    #heading h1{
        font-size: 2rem;
    }
    #heading h3{
        font-size: 1rem;
    }
    #add-timezone{
        font-size: 0.8rem;
        width: 8rem;
    }
    
}