@font-face {
    font-family: "Font";
    src: url("./JetBrains.ttf");
}

html {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

body {
    display: flex;
    flex-direction: column;
    color: #dcc6a0;
    background: #000000;
    margin-right: 6em;
    padding: 0.5em;
    font-family: Font, sans-serif;
}

.main-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

}

.image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*margin-left: 2em;*/
}

img {
    max-height: 600px;
    max-width: 350px;
    margin-right: 2em;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

nav {
    display: grid;
    grid-row-gap: 1em;
    grid-template-columns: 1fr 1fr;
    min-width: 24em;
    grid-auto-rows: max-content;
}

h1 {
    font-size: 2.2em;
    font-weight: 600;
    grid-column: 1/-1;
    text-align: center;
    margin-bottom: 0;
}

h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: #a56951;
    grid-column: 1/-1;
    text-align: center;
}

#weather {
    font-size: 1.2em;
    font-weight: 600;
    color: #a56951;
    margin: 0;
    text-align: center;
}

.weather-box > p {
    margin: 0;
    font-size: .9em;
    font-weight: lighter;
    color: #807e6e;
}

.search-container {
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3em;
    margin-top: -2em;
    width: 130%;
    margin-left: -10%;
}

.search-container > h1 {
    font-size: 1.5em;
    /*width: 100%;*/
    text-align: left;
    font-weight: 400;
}

.search-container > form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    width: 100%;
}

.search-box {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #222;
    border-radius: 4px;
    color: white;
    /*darker background*/
    background-color: #333;

}

.search-box:focus {
    outline: none;
}

.search-button {
    padding: 10px 20px;
    font-size: 16px;
    margin-left: 10px;
    border: 2px solid #222;
    border-radius: 4px;
    /*dark button*/
    background-color: #222;
    color: white;
    cursor: pointer;
}

.search-button:hover {
    background-color: #333;
}

.weather-box {
    grid-column: 1/-1;
    margin-bottom: 0;
    margin-top: -1em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

ul {
    padding: 0;
    white-space: nowrap;
    list-style-type: none;
    margin: 0 0 0 2em;
}

.list-title {
    margin-left: 1em !important;
}

li {
    line-height: 1.4em;
    margin-left: 2.8em;
}

li:first-child {
    display: inline-block;
    color: #cca86b;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    line-height: 2em;
    margin-left: 2.5em;
}

a {
    color: #b66d61;
    font-size: 1.1em;
    text-decoration: none;
}

a:hover {
    color: #ff864e;
    font-style: italic;
}
