@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --main-bg-color: #2874f0;
}
header {
    width: 100%;
    background-color: var(--main-bg-color);
    font-family: "Lato", sans-serif;
}
nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
}
nav ul {
    height: 50px;
    display: flex;
    list-style: none;
    justify-content: flex-start;
    align-items: center;
}
nav ul li {
    padding: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}
nav ul li a:hover {
    font-weight: bolder;
}
.search {
    display: flex;
    align-items: center;
}
.search input {
    height: 35px;
    width: 40vw;
    max-width: 500px;
    border-radius: 2px;
    border: none;
    padding: 0 15px;
    font-size: 16px;
}
.btn {
    display: flex;
    align-items: center;
    margin-left: 10px;
}
.btn button {
    background-color: #ffe500;
    color: #2874f0;
    border: none;
    border-radius: 2px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 16px;
}
.btn button:hover {
    background-color: #ffe500cc;
}
.container {
    min-height: calc(100vh - 50px - 5vh);
    padding: 20px;
}
.slider {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 4px;
}
.slider img {
    height: 200px;
    width: 100%;
    display: block;
}
h2 {
    margin: 20px 0;
    font-family: "Lato", sans-serif;
    color: #2874f0;
}
.card {
    max-width: 1200px;
    margin: 0 auto 40px;
}
.item {
    flex: 0 0 auto;
    width: 180px;
    margin: 0 10px;
    text-align: center;
}
.item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}
.lines {
    margin-top: 8px;
}
.lines p {
    font-size: 12px;
    margin: 4px 0;
    color: #333;
}
.cards {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 10px 0;
    gap: 10px;
}
footer {
    height: 5vh;
    background-color: var(--main-bg-color);
    color: white;
    font-family: "Lato", sans-serif;
}