/* Global Styles */
*{
    color: white;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('https://images.pexels.com/photos/998641/pexels-photo-998641.jpeg?cs=srgb&dl=pexels-francesco-ungaro-998641.jpg&fm=jpg');
    background-size: cover;
  }

h1 {
    text-align: center;
}
h3 {
    text-align: center;
    font-size: 40px;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 40px;
    margin-right: 8px;
  }
.convert{
    margin-top: 32px;
    margin-left: 20px;
    width: 110px;
    height: 40px;
}
.converter {
    display: flex;
    margin: 30px auto;
    padding: 10px;
    border: 1px solid #ccc;
    max-width: 1000px;
    color: black;
}
option{color: black;}

label {
    display: inline-block;
    width: 80px;
    margin-right: 10px;
    padding-top: 40px;
    text-align: right;
    color: white;
}
.label-from{
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

input[type="number"] {
    width: 150px;
    margin-top: 23px;
    height: 40px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid black;
    color: black;
}

input[type="text"] {
    width: 150px;
    margin-top: 23px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid black;
    margin-left: 10px;
    color: black;

}
#result{
    height:40px;
    margin-bottom: 10px;
    margin-left: -4px;
}

select {
    margin-top: 30px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
    color: black;
    height: 40px;
}

/* Length Converter Styles */

#lengthFrom {
    width: 150px;
    margin-top: 23px;
    margin-right: 10px;
    color: black;
}
#lengthTo{
    width: 150px;
    margin-top: 23px;
    color: black;
}

#lengthResult {
    margin-left: 11px;
    color: black;
    height: 40px;
}

/* Weight Converter Styles */

#weightFrom{
    width: 150px;
    margin-top: 23px;
    margin-right: 10px;
    color: black;
}

#weightTo{
    width: 150px;
    margin-top: 23px;
    color: black;
}
#weightResult {
    margin-left: 11px;
    color: black;
    height: 40px;
    margin-bottom: 5px;
}

/* Temperature Converter Styles */

#tempFrom {
    width: 150px;
    margin-top: 23px;
    margin-right: 10px;
    color: black;
}
#tempTo {
    width: 150px;
    margin-top: 23px;
    
    color: black;
}
#tempResult {
    margin-left: 11px;
    color: black;
    height: 40px;
}
