body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #f4e19a, #e3b041);
    margin: 0;
    padding: 0;
    height: 100vh;
    color: #333;
}
.conversion_calculator {
    background: #fffbee;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 700px;
	margin-left: 16%;
    padding: 25px;
    text-align: center;
    position: relative;
}
.top-left-image,
.top-right-image {
    position: absolute;
    width: 50px; 
    height: 50px; 
    top: 10px; 
}
.top-left-image {
    left: 10px; 
}
.top-right-image {
    right: 10px; 
}
h1 {
    color: #e3b041;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: 2.1rem;
    font-family: 'Trebuchet MS', sans-serif;
}
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.input-group label {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}
select, input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e3b041;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
select:focus, input:focus {
    border-color: #f4e19a;
    outline: none;
}
button {
    background: #e3b041;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    transition: transform 0.5s ease;
}
#show_help:hover {
    background: #d89a38;
    transform: scale(1.05);
}
.result {
    background: #e3b041;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    font-size: 1.3rem;
    margin-top: 20px;
}

#show_help {
    background: #e3b041;
    padding: 0px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 33%; /* Centers text vertically */
    border: 2px solid #e3b041;
	font-size: 50px;
	padding-bottom: 8px;
}

#help {
    text-align: left;
    background: white;
    border-radius: 20px;
    padding: 10px;
    border: 2px solid #e3b041;
    margin-bottom: 1%;
}

#welcome {
    text-align: center;
    padding-bottom: 5%;
}

.error {
    color: red;
	text-align: left;
}

/* Media queries for mobile and tablet devices */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .conversion_calculator {
        padding: 20px;
		margin-left: 3%;
    }
    select, input, button {
        font-size: 1rem;
    }
    .result {
        font-size: 1.1rem;
        padding: 15px;
    }
	
	.conversion_calculator {
		margin-left: 0px;
	}
	
	.top-left-image,
	.top-right-image {
		position: absolute;
		width: 30px; 
		height: 30px; 
		top: 10px; 
	}
	#show_help {
		background: #e3b041;
		padding: 0px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		color: white;
		text-align: center;
		line-height: 33%; /* Centers text vertically */
		border: 2px solid #e3b041;
		font-size: 50px;
		padding-bottom: 8px;
	}
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    .conversion_calculator {
        width: 95%;
        padding: 15px;
		margin-left: 3%;
    }
    select, input, button {
        font-size: 0.9rem;
    }
    .result {
        font-size: 1rem;
        padding: 10px;
    }
	
	.top-left-image,
	.top-right-image {
		position: absolute;
		width: 30px; 
		height: 30px; 
		top: 10px; 
	}
	#show_help {
		background: #e3b041;
		padding: 0px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		color: white;
		text-align: center;
		line-height: 33%; /* Centers text vertically */
		border: 2px solid #e3b041;
		font-size: 50px;
		padding-bottom: 8px;
	}
}
