@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.mainContainer {
    display: flex;
    height: 100vh;
}

.left {
    width: 70vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a2a4a 50%, #2a3f5f 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.left .header {
    margin-bottom: 60px;
}

.left .header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 10px;
}

.left .header .subtitle {
    color: #00d4ff;
    font-size: 1.2rem;
    opacity: 0.9;
}

.left .currentContainer {
    position: absolute;
    bottom: 150px;
    left: 100px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.left .currentContainer.visible {
    opacity: 1;
}

.left .currentContainer .tmp {
    font-size: 150px;
    color: #00d4ff;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.left .currentContainer .city {
    margin-left: 50px;
    color: #e0e6ed;
}

.left .currentContainer .city .name {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 5px;
}

.left .currentContainer .city .date {
    font-size: 25px;
    opacity: 0.8;
}

.left .currentContainer .imgCurrent {
    margin-left: 50px;
}

.left .currentContainer .imgCurrent img {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.right {
    width: 30vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border-left: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.right .searchBar {
    height: 120px;
    position: relative;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.right .searchBar .cityBtn {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    height: 100%;
    width: 120px;
    border: none;
    position: absolute;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.right .searchBar .cityBtn:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00aadd 100%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.right .searchBar .cityBtn:active {
    transform: scale(0.95);
}

.right .searchBar .cityInput {
    height: 50px;
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 140px;
    display: inline-block;
}

.right .searchBar .cityInput input {
    border: none;
    background: none;
    font-size: 24px;
    color: #e0e6ed;
    width: 100%;
}

.right .searchBar .cityInput input:focus {
    outline: none;
}

.right .searchBar .cityInput input::placeholder {
    color: #5a6a8a;
}

.right .searchBar .cityInput::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #00d4ff;
    bottom: 0;
    display: block;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.right .currentDetails {
    opacity: 0;
    margin-top: 60px;
    color: #e0e6ed;
    padding: 0 30px;
    transition: opacity 0.5s ease;
}

.right .currentDetails.visible {
    opacity: 1;
}

.right .currentDetails h2 {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 30px;
    font-weight: 600;
}

.right .currentDetails ul {
    list-style: none;
}

.right .currentDetails ul li {
    margin-top: 25px;
    font-size: 20px;
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.right .currentDetails ul li:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.right .currentDetails ul li .value {
    float: right;
    color: #00d4ff;
    font-weight: 600;
}

.right .currentDetails ul li .opa {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .mainContainer {
        flex-direction: column;
    }
    
    .left, .right {
        width: 100vw;
        height: 50vh;
    }
    
    .left .currentContainer {
        bottom: 50px;
        left: 50px;
    }
    
    .left .currentContainer .tmp {
        font-size: 100px;
    }
}