@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: white;
    position: relative;
}

body {
    background-color: black;
    font-family: "Michroma";
}

html {
  scroll-behavior: smooth;
}

/* Containter */
.container {
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/*  Heder */

.headerrr {
    position: sticky;
    top: 0;
    background-color: black;
    z-index: 40;
}


.header-logo {
    display: flex;
    align-items: center;
}
.header-paragreff{
    color: white;
    font-family:"Michroma";
    font-size: 30px;
    margin-right: 10px;
}

.headerr {
    display: flex;
    justify-content:space-between; 
    align-items: center;
}

/* Header links (navbar) */

.header-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-link {
    display: flex;
    list-style: none;
    gap: 32px;
}

.header-link a {
    text-decoration: none;
    color: white;
    position: relative;
}

.header-link a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: white;

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.header-link a:hover::after{
    transform: translateX(-50%) scaleX(1);
}

/* Buttons */

.buttons {
    display: flex;
    gap: 32px;
    margin-right: 20px;
}

.buttons button {
    font-family: "Michroma";
    font-size: 16px;
    background-color: black;
    color: white;
    border-color: white;
    border-width: 0.5px;
    height: 50px;
    width: 120px;
}

.buttons button:hover{
    background-color: rgba(255, 255, 255,20%);
    cursor: pointer;
    border: none;
}

/* HERO */

.maintext {
    color: white;
    z-index: 30;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(128, 128, 128,0.6);
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 40px;
    margin-top: 150px;
}
.maintext h2 {
    padding: 10px;
    font-family: "Monsieur La Doulaise";
    font-size: 70px;
}
.maintext p{
    width: 700px;
    padding-bottom: 50px;
}
.maintext a {
    position: relative;
}

.maintext a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: white;
    transition: width 0.7s ease;
}

.maintext a:hover::after {
    width: 100%;
}

/* Stadium Cards */

.card-stadium{
    margin-top: 350px;
}

.stadiums-section h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin-bottom: 25px;
    color: white;
}



.stadiums {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    list-style: none;
    gap: 50px;
    margin-left: 65px;
    margin-bottom: 50px;
    width: 380px;
}

.stadiums a:hover {
    background-color: rgba(255, 255, 255,10%);
    border-radius: 5%;
}

.cards-li{
    height: 380px;
    background-color: rgba(255, 255, 255, 10%);
    box-shadow: 0 2px 6px rgba(255, 255, 255,30%);
    border-radius: 5%;
}

.cards-li img {
    border-top-left-radius: 5%;
    border-top-right-radius: 5%;
}

.cards-li h3 {
    padding: 5px;
}

.cards-li p {
    padding: 5px;
}

.footer-section {
    color: white;
    height: 500px;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.7)), url(https://image-cdn.hypb.st/https%3A%2F%2Fhypebeast.com%2Fimage%2F2016%2F12%2Ffifa-fifpro-world11-2016-player-nominations-01.jpg?q=75&w=800&cbr=1&fit=max);
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-section h2 {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.footer-design {
    display: flex;
    justify-content: space-around;
}

/* Icons */

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 25px;
}

.footer-icons{
    list-style: none;
}

/* Animatsiya */

.footer-socials a {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
}

/* Instagram */
.instagram {
    position: relative;
    margin-top: 8px;
}

/* Rasm */
.instagram img {
    position: relative;
    display: block;
    z-index: 2;
}

.instagram a::after {
    content: "@otkinchi_notalar";
    position: absolute;
    top: 50%;
    left: 100%; 
    transform: translateY(-50%) translateX(20px); 
    background-color: brown;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Hover bo'lganda animatsiyali kiradi */
.instagram a:hover::after {
    left: calc(100% + 10px);
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Telegram */
.telegram {
    position: relative;
    margin-top: 8px;
}

/* Rasm */
.telegram img {
    position: relative;
    display: block;
    z-index: 2;
}

/* Pseudoelement */
.telegram a::after {
    content: "@otkinchi_notalar";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(20px);
    background-color:cornflowerblue;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Hover bo'lganda animatsiyali kiradi */
.telegram a:hover::after {
    left: calc(100% + 10px); 
    transform: translateY(-50%) translateX(0); 
    opacity: 1;
    pointer-events: auto;
}

/* YouTube */
.youtube {
    position: relative;
    margin-top: 8px;
}

/* Rasm */
.youtube img {
    position: relative;
    display: block;
    z-index: 2;
}

.youtube a::after {
    content: "@icelookingrap";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(20px);
    background-color:red;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Hover bo'lganda animatsiyali kiradi */
.youtube a:hover::after {
    left: calc(100% + 10px); /* img dan sal o'ngda */
    transform: translateY(-50%) translateX(0); /* kiradi */
    opacity: 1;
    pointer-events: auto;
}

/* GitHub */

.github {
    position: relative;
    margin-top: 8px;
}

/* Rasm */
.guthub img {
    position: relative;
    display: block;
    z-index: 2;
}

.github a::after {
    content: "@shadorrappro";
    position: absolute;
    top: 50%;
    left: 100%; 
    transform: translateY(-50%) translateX(20px);
    background-color: darkviolet;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Hover bo'lganda animatsiyali kiradi */
.github a:hover::after {
    left: calc(100% + 10px); 
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Telephone */
.telephone {
    position: relative;
    margin-top: 8px;
}

/* Rasm */
.telephone img {
    position: relative;
    display: block;
    z-index: 2;
}

.telephone a::after {
    content: "+998(97)994-0455";
    position: absolute;
    top: 50%;
    left: 100%; 
    transform: translateY(-50%) translateX(20px); 
    background-color: brown;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Hover bo'lganda animatsiyali kiradi */
.telephone a:hover::after {
    left: calc(100% + 10px); /* img dan sal o'ngda */
    transform: translateY(-50%) translateX(0); /* kiradi */
    opacity: 1;
    pointer-events: auto;
}



/* footer links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 25px;
}

.footer-link{
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 12px;
}

.footer-link a {
    text-decoration: none;
    color: white;
    position: relative;
}

.footer-link a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: white;

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.footer-link a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Joylashuv */
.joylashuv {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 25px;
}

.joylashuv h3 {
    display: flex;
    align-items: center;
    justify-content: center;
}