@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    box-sizing: border-box;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #222;
    font-weight: 600;
    font-size: 17px;
    color: var(--black);
    user-select: none;
    -webkit-user-drag: none;
    font-family: "Nunito Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

a {
    color: #222;
    text-decoration: none;
    transition: opacity 0.3s;
    cursor: pointer;
}

header {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
}

header img {
    height: 60px;
}

header div {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

header .button {
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    background-color: #222;
}

a:hover {
    opacity: 0.5;
}

.herosection {
    color: white;
    width: 90%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/bg.avif');
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 700px;
}

.herosection h1 {
    font-weight: 700;
    color: white;
    font-size: 70px;
    text-align: center;
}

.herosection p {
    width: 95%;
    max-width: 800px;
    text-align: center;
}

.search {
    width: 90%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.904);
    padding: 15px;
    margin-top: 20px;
}

.search div {
    width: 26%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ccc;
    cursor: pointer;
    transition: opacity 0.3s;
}

.search div:hover {
    opacity: 0.5;
}

.search h3 {
    color: #222;
    text-align: left;
}

.search p {
    color: #929292;
    text-align: left;
}

.search span {
    width: 16%;
    background-color: #222;
    color: white;
    border-radius: 10px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.search span:hover {
    opacity: 0.5;
}

.popular-search {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 10px;
}

.popular-search div {
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(255, 255, 255, 0.904);
    color: #222;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.popular-search div:hover {
    opacity: 0.5;
}

h1 {
    font-size: 60px;
    font-weight: 700;
    margin-top: 50px;
    width: 90%;
    text-align: left;
}

.numbers {
    display: flex;
    justify-content: center;
    width: 90%;
    gap: 20px;
    margin-top: 50px;
}

.number {
    background-color: #ededed;
    width: 25%;
    padding: 30px;
    border-radius: 20px;
    gap: 10px;
}

.number h3 {
    font-size: 50px;
    font-weight: 700;
}

.number p {
    font-size: 20px;
    font-weight: 600;
}

.numbers img {
    width: 25%;
    border-radius: 20px;
    gap: 10px;
    height: 300px;
    overflow: hidden;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}

.numbers img:hover{
    opacity: 0.7;
}

.world {
    width: 90%;
    height: 600px;
    object-fit: cover;
    margin-top: 100px;
    border-radius: 20px;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/world.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.world h1 {
    text-align: center;
    margin: 0;
}


.world p {
    margin-top: 10px;
    text-align: center;
    width: 90%;
    max-width: 1000px;
}

.avresi {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: white;
    border: 2px solid #999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    max-width: 400px;
    border-radius: 10px;
    gap: 10px;
    transition: opacity 1s ease-in-out;
}

.avresi img {
    width: 100%;
    max-width: 200px;
}

.avresi p {
    font-weight: 400;
}

.avresi div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avresi div a {
    width: 49%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    transition: opacity 0.3s;
}

.avresi div a.blue {
    background-color: oklch(.546 .245 262.881);
}

.avresi div a:hover {
    opacity: 0.7;
}

footer{
    width: 100%;
    margin-top: 100px;
    border-top: 2px solid #ccc;
    padding: 10px;
    text-align: center;
}

@media screen and (max-width: 1125px) {
    .herosection h1{
        font-size: 40px;
    }
}

@media screen and (max-width: 800px) {
    .numbers{
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
    }
    .number{
        width: 49% !important;
        margin-bottom: 20px;
    }
    .numbers img{
        width: 49% !important;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    header div a{
        display: none;
    }
    header div a.button{
        display: flex;
    }
    .popular-search{
        display: none;
    }
    .search {
        flex-direction: column;
    }
    .search div {
        width: 100%;
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }
    .search span{
        width: 100%;
    }
    .herosection p{
        font-size: 15px;
    }
    h1{
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    .number{
        width: 100% !important;
    }
    .numbers img{
        width: 100% !important;
    }
}