* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} /* Setting these to 0 to remove the default settings*/



body {
    background-color: #0f172a;
    color: white; /* Changing all the text color within the body */
    padding: 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: sans-serif 'Times New Roman', Times, serif
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
}

nav, section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whiteLink {
    color: white;
}

.greyLink {
    color: lightgray;
}

a {
    text-decoration: unset;
    font-size: 0.8em;
}

a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 14px

}

.headerText {
    font-size: 4em;
    font-family: 'Times New Roman', Times, serif;
}

.searchBar {
    display: flex;
    width:100%;
    max-width: 700px;
    margin: 0 auto;
    gap: 14px;
    border: 1px solid grey;
    padding: 10px;
    border-radius: 24px;
}

input {
    background: transparent;
    outline: none;
    border: unset;
    color:white;
    flex: 1;
}

.searchBar:hover {
    border-color: transparent;
    background: darkgrey;
}

.searchButtonContainer button {
    padding: 10px 14px;
    border-radius: 4px; 
    background-color: #677f9f;
    border: 1px sold transparent;
    color: white;
    cursor: pointer;
}

.searchButtonContainer button:hover {
    border: 1px solid darkgrey;
}

.languageSelector {
    font-size: 0.9rem;
}

.languageSelector span {
    color: lightblue;
}

footer {
    display: flex;
    flex-direction: column;
}

footer > section {
    padding: 14px;
}

footer > section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border: 1px solid darkgrey
}

.footerLinks {
    display: flex;
    align-items: center;
    gap: 14px;
}

.buttonIcons{
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
}

.iconButton {
    display: flex;
    align-items: center;
    gap: 14px;
}

#dot {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
}

header section img {
    max-width: 42px; 
    border-radius: 50%;
    border: 2px solid cyan;
}


@media (min-width: 540px) {
    footer > section:last-child {
        flex-direction:row;
    }
}