body {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: 1fr 1fr 1fr;
    height: 100vh;
    margin: 0%;
}

.Nav {
    background-color: rgb(73, 31, 38);
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 1%;
    border-radius: 45px;
    height: 4vw;
    display: flex;
    justify-content: center;
    align-items: center;
}


nav ul{
    display: flex;
    list-style: none;
    padding: 0%;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6vw;
}

li a{
    color: white;
    text-decoration: none;
    font-size: 1.2vw;
}

.MainPicture{
    width: 100%;
    margin-top: 0;
    display: block;
    
}

h1 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: -5%;
    left: 6.5%;
    font-size: 6.5vw;
    -webkit-text-stroke: 0.1vw;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0,0.3);
    padding: 5%;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 14%;
}

h2 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: 40%;
    left: 12%;
    font-size: 3vw;
    -webkit-text-stroke: 0.05vw;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}


.Title {
    position: relative;
}

main {
    margin-top: 5vh;
    margin-left: 2vw;
    margin-right: 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    padding-bottom: 5%;
}

h3 {
    grid-column-start: 1;
    grid-column-end: 6;
    color: aliceblue;
    text-align: center;
}

.ranks {
    grid-column-start: 1;
    grid-column-end: 6;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 2%;
    background-color: rgb(43, 134, 99);
    border-radius: 20px;
    padding-bottom: 2%;
    padding-top: 3%;
    margin-top: 10%;
}

hr{
    color: rgb(255, 255, 255);
    width: 40vw;
    margin-top: 3vh;
    margin-bottom: 3vh;
    grid-column-start: 1;
    grid-column-end: 6;
    border-radius: 80%;
}

.rankInfo{
    grid-column-start: 1;
    grid-column-end: 6;
    color: aliceblue;
    display: none;
   
}

.grids {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.text{
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: justify;
    font-size: 90%;
    margin-right: 5%;
}

.image{
    grid-column-start: 3;
    grid-column-end: 6;
    width: 100%;
    border-radius: 20px;
}

blockquote{
    grid-column-start: 1;
    grid-column-end: 6;
    text-align: center;
    font-style: italic;
    font-size: 70%;
    margin-top: 3%;
    margin-bottom: 0;
}

.further{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-column-start: 1;
    grid-column-end: 6;
    column-gap: 1vw;
    perspective: 1000px;
    margin-top: 3%;
}

.furtherpic{
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    
}

.furtherpic:hover {
    transform: scale(1.07);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    filter: brightness(1.1);
}

.further:hover .furtherpic {
    opacity: 0.7;
}

.further:hover .furtherpic:hover{
    opacity: 1;
}

.popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.popupbox {
    background: white;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 1vh;
    padding-bottom: 2vh;
    border-radius: 20px;
    width: 40vw;
    height: auto;
}

.close{
    float: right;
    font-size: 150%;
    cursor: pointer;
}

.popuptext {
    color: black;
    text-align: justify;
}

h5{
    color: black;
    font-size: 200%;
    margin-top: 5%;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    text-align: center;
}

h3{
    color: white;
    font-size: 220%;
    margin-bottom: 1vh;
}

h4{
    color: rgb(0, 0, 0);
    font-size: 110%;
    grid-column-start: 1;
    grid-column-end: 6;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2%;
}

p{
    color: white;
    text-align: justify;
    grid-column-start: 1;
    grid-column-end: 6;
    margin-top: 1%;
}

.firstline{
    color: rgb(255, 255, 255);
    width: 15vw;
    grid-column-start: 1;
    grid-column-end: 6;
    border-radius: 80%;
    margin-top: 1%;
    margin-bottom: 1%;
}

h6{
    text-align: center;
    font-size: 300%;
    margin-top: 0;
    margin-bottom: 0;
}

.secondline{
    color: rgb(0, 0, 0);
    width: 15vw;
    border-radius: 80%;
    margin-top: 1%;
    margin-bottom: 3%;
}

footer{
    background-color: rgb(73, 31, 38);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: baseline;
}

.footercopyright{
    color: rgb(255, 255, 255);
    margin-left: 5%;
    margin-right: 5%;
    p{
        text-align: center;
        font-size: 80%;
        margin-bottom: 1%;
        margin-top: 2%;
    }
    li{
        font-size: 70%;
        text-align: center;
        list-style: none;
        margin-top: 1%;
    }
    ul{
        padding: 0;
        margin-top: 1%;
    }
}

.lastline{
    border: none;
    height: 1px;
    margin-top: 4%;
    margin-bottom: 5%;
    width: 70%;
    background-color: black;
}

.footermine{
    color: rgb(255, 255, 255);
    margin-left: 5%;
    margin-right: 5%;
    p{
        text-align: center;
        font-size: 80%;
        margin-bottom: 1%;
        margin-top: 7%;
    }
    li{
        font-size: 70%;
        text-align: center;
        list-style: none;
        margin-top: 1%;
    }
    ul{
        padding: 0;
        margin-top: 1%;
    }
}

@media (max-width: 1270px) {
    body {
        grid-template-columns: 15% 70% 15%;
    }

    main {
        column-gap: 5%;
    }


    h3 {
        font-size: 1.7rem;
    }

    .text{
        grid-column-start: 1;
        grid-column-end: 6;
        justify-self: center;
        width: 75%;
        margin-right: 0;
    }

    .image{
        grid-column-start: 1;
        grid-column-end: 6;
        width: 75%;
        justify-self: center;
    }

    .popupbox{
        width: 50%;
    }
}

@media (max-width: 768px) {
    body {
        display: block;
    }

    main {
        display: block;
        margin: 5% 5%;
    }

    .Nav {
        height: auto;
        border-radius: 40px;
        margin-left: 20%;
        margin-right: 20%;
    }

    nav ul {
        flex-direction: column;
        gap: 2vh;
        a{
            font-size: 0.8rem;
        }
    }

    .MainPicture {
        display: none;
    }

    h1 {
        font-size: 13vw;
        position: relative;
        top: 0;
        left: 0;
        color: rgb(255, 255, 255);
        -webkit-text-stroke: 0.6vw rgb(255, 255, 255);
        text-align: center;
        background-image: url(Sidebackground.png);
        background-size: 50%;
        padding-bottom: 2.5%;
        margin-top: 0;
        margin-bottom: 0;
    }

    h2 {
        font-size: 5vw;
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        color: rgb(255, 255, 255);
        -webkit-text-stroke: 0px;
        margin-bottom: 5%;
        margin-top: 0%;
        padding-bottom: 3%;
        padding-top: 3%;
        background-color:rgba(62, 166, 113);
    }

    h3 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2%;
    }

    p {
        margin-top: 2%;
        font-size: 1.2rem;
    }

    .text{
        font-size: 100%;
    }

    .popupbox{
        width: 80%;
    }

    footer {
        display: block;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 2%;
    }
}

*{
    font-family: 'Yuji Syuku';
}
