/*
    Author: Yui Nguyen
    CST-336 Homework 03
    Date Created: 07-13-2025
    Last Update: 07-13-2025
*/

body{
    margin: 0;
    padding: 0;
}

h1{
    position: relative;
    background: transparent;
}

.background{
    position: absolute;
    left: 50%;
    transform: translate(-50%);

    width: 66vw;
    height: 100vh;

    margin: 0;
    padding: 0;

    background: gray;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_container{
    position: relative;
    background: transparent;

    width: 90%;
    height: 80%;
    padding: 2.5%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5%;

    background-size: cover;
    background-repeat: no-repeat;
}

.info_container{
    position: relative;
    width: 95%;
    height: 25%;

    display: inline-flex;
    align-items: center;
    gap: 2%;

    background: transparent;
}

.weather_container{
    position: relative;
    width: 85%;
    height: 50%;

    background: linear-gradient(rgba(17, 180, 209, 0.5) 50%, rgba(7, 76, 206, 0.5) 95%);;
    border: thick double black;
    padding: 1%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5%;
}

.ticket_container{
    position: relative;
    width: 75%;
    min-width: fit-content;
    height: 75%;

    display: flex;
    flex-direction: row;
    align-content: center;
    gap: 5%;
    padding: 0% 5% 0% 5%;    
}

.info_side{
    position: relative;
    width: 50%;
    height: 85%;

    background: linear-gradient(rgba(17, 180, 209, 0.5) 50%, rgba(7, 76, 206, 0.5) 95%);
    border: thick double black;
    padding: 1%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.location_side{
    position: relative;
    width: 50%;
    height: 85%;

    background: linear-gradient(rgba(17, 180, 209, 0.5) 50%, rgba(7, 76, 206, 0.5) 95%);
    border: thick double black;
    padding: 1%;

    font-size: 24px;
    font-weight: 400;
}

.detail{
    position: relative;
    width: 100%;
    height: 65%;
    background-color: transparent;

    display: flex;
    align-items: center;
    gap: 5%;

    font-size: 24px;
}

.input_field{
    position: relative;
    height: 24px;
    margin-left: -2.5%;
}

.weather_ticket{
    position: relative;
    height: 95%;
    width: 33%;
    padding: 2%;

    background-color: white;

    font-size: 18px;
    font-weight: 300;
    line-height: 50px;
    align-content: center;
    
    border: thick double black;
    border-radius: 5%;

    visibility: hidden;
}

#search_button{
    font-size: 28px;
    width: fit-content;
    height: 25%;
    box-shadow: 2px 2px 2px;
}

#country{
    position: relative;
    width: 30%;
    height: 24px;
    margin-left: -2.5%;
}

#warning{
    position: relative;
    background: transparent;
    width: 100%;
    height: 20%;

    text-align: end;
    font-size: 18px;
    color:  black;
}