body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgba(245, 245, 245, 0.8);
    min-height: 100vh;

}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 15vh;
}

.main-content {
    display: flex;
    gap: 20px;
    height: 55vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.left-column {

    width: 45%;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-section {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.right-column {

    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 45vh;
}

.grid-button {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    height: 10vh;
    border: none;
    transition: transform 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.grid-button:hover {
    transform: scale(1.05);
}

.grid-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.engine-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.engine-switch button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.engine-switch button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

#search-form {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

#search-input {
    width: 40vw;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

#search-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.content-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    width: 100%;
}

.left-column {
    width: 45%;
    margin-left: 5%;
    margin-right: 5%;
}

.right-column {
    flex: 2;
}

.weather-widget,
.music-player {
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow-x: auto;
}

.weather-widget > div {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 1.1em;
}

.weather-widget strong {
    color: #2196F3;
    margin-right: 3px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .left-column {
        max-width: 100%;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Seven Segment Display Styles */
.seven-segment-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}

.digit {
    position: relative;
    width: 40px;
    height: 80px;
}

.segment {
    position: absolute;
    background-color: #ff4444;
    opacity: 0.2;
    transition: opacity 0.2s;
}

.segment.a {
    background-color: #ed6904;
    top: 0;
    left: 5px;
    width: 30px;
    height: 5px;
}

.segment.b {
    background-color: #ed6904;
    top: 5px;
    right: 0;
    width: 5px;
    height: 30px;
}

.segment.c {
    background-color: #ed6904;
    bottom: 5px;
    right: 0;
    width: 5px;
    height: 30px;
}

.segment.d {
    background-color: #ed6904;
    bottom: 0;
    left: 5px;
    width: 30px;
    height: 5px;
}

.segment.e {
    background-color: #ed6904;
    bottom: 5px;
    left: 0;
    width: 5px;
    height: 30px;
}

.segment.f {
    background-color: #ed6904;
    top: 5px;
    left: 0;
    width: 5px;
    height: 30px;
}

.segment.g {
    background-color: #ed6904;
    top: 50%;
    left: 5px;
    width: 30px;
    height: 5px;
    transform: translateY(-50%);
}

.colon {
    width: 5px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.colon::before,
.colon::after {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #ed6904;
    border-radius: 50%;
}

.bottom{
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}