@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
    scroll-behavior: smooth;
    background-color: #112d4e;
    color: white;
}

#wrapper{
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    margin: auto;
}

.tab-container.tab.active {
    scale:1;
    opacity: 1;
    z-index: 20;
}

.form-container.active {
    scale:1;
    opacity: 1;
    z-index: 20;
}

.grant-location-container.active {
    scale:1;
    opacity: 1;
    z-index: 20;
}

.loading-container.active{
    scale: 1;
    opacity: 1;
    z-index: 20;
}

.user-info-container.active{
    scale: 1;
    opacity: 1;
    z-index: 20;
}

.not-found-section.active{
    scale: 1;
    opacity: 1;
    z-index: 20;
}

h1{
    margin-top: 50px;
    text-align: center;
    margin-bottom: 50px;
}

.tab-container{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.tab{
    padding: 10px;
    font-size: 15px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
}

.current-tab {
    background-color: rgba(1, 10, 60, 0.632);
}

.weather-container{
    position: relative;
    width: 100%;
}

.grant-location-container{
    position: absolute;
    margin: auto;
    text-align: center;
    width: 100%;
    margin-top: 80px;
    opacity: 0;
    scale: 0;
}

.access-btn{
    padding: 15px;
    cursor: pointer;
    background-color: rgba(29, 100, 233, 0.856);
    color: white;
    border: none;
    outline: none;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 20px;
}

.form-container{
    opacity: 0;
    scale: 0;
    width: 100%;
    margin-top: 50px;
    position: absolute;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.input-box{
    border: none;
    outline: none;
    padding: 15px;
    border-radius: 10px;
    width: 500px;
    background-color: rgba(1, 10, 60, 0.632);
    font-weight: 700;
    cursor: pointer;
}

.btn{
    border: none;
    outline: none;
    border-radius: 100%;
    padding: 15px;
    background-color: rgba(1, 10, 60, 0.632);
    cursor: pointer;
}

.loading-container{
    opacity: 0;
    margin: auto;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    position: absolute;
}

.user-info-container{
    opacity: 0;
    scale: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.name{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.parameter-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 100px;
}

.parameter{
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(128, 128, 128, 0.542);
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: black;
}

.not-found-section{
    position: absolute;
    margin-top: 120px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    opacity: 0;
    scale: 0;
}


@media (width <= 900px){
    .parameter-container{
        flex-direction: column;
    }

    .input-box{
        width: 60%;
    }
}

