body {
    background-color: #FFCDB2;
    padding: 0;
    margin: 0;
}
main {
    padding-left: 5vw;
}
nav {
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 1;
    margin: 0;
    padding-right: 5vw;
    padding-left: 5vw;
    padding-top: 2vh;
    padding-bottom: 2vh;
    background-color: #FFB4A2;
    margin-bottom: 5vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rightSideNavbar {
    justify-content:end;
}

.mainButton {
    background-color: #E5989B;
    color: #6D6875;
    width: 6vw;
    height: 6vh;
    border: none;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    align-content: center;
}

.searchContainer {
    position: relative;
    display: inline-block;
}

.searchIcon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: auto; 
    height: 2vh;
}

.searchBar {
    background-color: #E5989B;
    border: none;
    border-radius: 28px;
    width: 20vw;
    height: 6vh;
    padding-left: 3vw;
    outline: none;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.championsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    row-gap: 4vh;
}

.championBox {
    width: 8vw;
    height: 25vh;
    border: none;
    overflow: hidden;
    padding: 0;
}

.championBox span {
    display : none;
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: #000;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
}


.championBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.championBox:hover {
    height:30vh;
    width:12vw;
    transform: translateX(-1vw);
    transition: all 0.3s ease;
}
.championBox:hover span {
    display:block;
}


.bigChampionPreview {
    position: relative;
    margin-left: -5vw;
    margin-right: -5vw;
    margin-top: -5vh;
    width: 100vw;
    height: 60vh;
}

    .bigChampionPreview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.championName {
    position: absolute;
    bottom: 10%;
    left: 2%;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.abilities {
    position: absolute;
    bottom: 10%;
    right: 2%;
    display: flex;
    gap: 1vw;
}

.ability {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 3vw;
    height: 3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid white;
    transition: transform 0.3s ease;
}
    .ability .abilityInfo {
        visibility: hidden;
        position: absolute;
        z-index: 1;
        bottom: +10vh;
        background-color: #FFB4A2;
        color: gray;
        padding: 5px;
        width: 15vw;
        height:auto;
        border-radius:5px;
        opacity:0.6;
    }

.ability:hover .abilityInfo{
    visibility: visible;
}

.mainGuideContainer{
    display:flex;
    flex-direction: row;
    padding: 5vh;
}

.runesBlock {
    width: 10vw;
    height: 40vh;
    background-color: #FFB4A2;
    border-radius: 5px;
    margin-right: 1vw;
    display: flex;
    flex-direction: column;
}

.abilityOrderBlock {
    width: 40vw;
    height: 40vh;
    background-color: #FFB4A2;
    border-radius: 5px;
    margin-left: 5vw;
    display: flex;
    flex-direction: row;
}
.LogInBox {
    margin-left: 30vw;
    position: center;
    width: 30vw;
    height: 70vh;
    border-radius: 7px;
    background-color: #FFB4A2;
    align-items: center;
    display:flex;
    flex-direction: column;
}

.inputField {
    width: 80%;
    height: 5vh;
    margin: 1vh 0;
    padding: 0.5vh;
    border-radius: 5px;
    border: 1px solid #6D6875;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    outline: none;
}