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;
    
}

h3{
    color: white;
    font-size: 220%;
    margin-bottom: 1vh;
    text-align: center;
}

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%;
    margin-left: 3%;
    margin-right: 3%;
}

.firstline{
    color: rgb(255, 255, 255);
    width: 15vw;
    grid-column-start: 1;
    grid-column-end: 6;
    border-radius: 80%;
    margin-top: 2%;
    margin-bottom: 2%;
}

h1 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: -5%;
    left: 9%;
    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-bottom: 14%;
    padding-left: 9%;
    padding-right: 9%;
}

h2 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: 40%;
    left: 14.5%;
    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;
}

.info{
    grid-column-start: 1;
    grid-column-end: 6;
    margin-bottom: 3vh;
}

main img
{
    width: 100%;
    border-radius: 15%;
}

.mit {
    grid-column-start: 4;
    grid-column-end: 6;
    color: rgb(255, 255, 255);
    margin-top: 0;
    margin-bottom: 3%;
}

.oba {
    grid-column-start: 1;
    grid-column-end: 3;
    color: rgb(255, 255, 255);
    margin-top: 0;
    margin-bottom: 3%;
}

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%;
}

.deco{
    grid-column-start: 1;
    grid-column-end: 6;
    background-image: url(../Sidebackground.png);
    background-size: 18%;
    height: 20vh;
}

.hashiras1{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras1:hover img {
    border-color: pink;
    box-shadow: 0 0 20px pink, 0 0 40px pink, 0 0 60px pink;
    animation: heartsparkle 1s infinite;
}

.hashiras1:hover .mit {
    color: hotpink;
    text-shadow: 0 0 10px pink, 0 0 20px hotpink;
}

@keyframes heartsparkle {
    0%, 100% { box-shadow: 0 0 20px pink, 0 0 40px pink; }
    50% { box-shadow: 0 0 30px hotpink, 0 0 50px pink; }
}

.hashiras2{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras2:hover img {
    border-color: rgb(255, 255, 255);
    box-shadow: 0 0 20px rgb(255, 255, 255), 0 0 40px rgb(255, 255, 255), 0 0 60px rgb(255, 255, 255);
    animation: snakesparkle 1s infinite;
}

.hashiras2:hover .oba {
    color: rgb(215, 221, 225);
    text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(93, 95, 108);
}

@keyframes snakesparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(255, 255, 255), 0 0 40px rgb(255, 255, 255); }
    50% { box-shadow: 0 0 30px rgb(133, 135, 151), 0 0 50px rgb(255, 255, 255); }
}

.hashiras3{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras3:hover img {
    border-color: rgb(255, 245, 130);
    box-shadow: 0 0 20px rgb(255, 245, 130), 0 0 40px rgb(255, 245, 130), 0 0 60px rgb(255, 245, 130);
    animation: stonesparkle 1s infinite;
}

.hashiras3:hover .mit {
    color: rgb(213, 205, 107);
    text-shadow: 0 0 10px rgb(255, 245, 130), 0 0 20px rgb(145, 137, 49);
}

@keyframes stonesparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(255, 245, 130), 0 0 40px rgb(255, 245, 130); }
    50% { box-shadow: 0 0 30px rgb(145, 137, 49), 0 0 50px rgb(255, 245, 130); }
}

.hashiras4{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras4:hover img {
    border-color: rgb(247, 177, 92);
    box-shadow: 0 0 20px rgb(247, 177, 92), 0 0 40px rgb(247, 177, 92), 0 0 60px rgb(247, 177, 92);
    animation: flamesparkle 1s infinite;
}

.hashiras4:hover .oba {
    color: rgb(233, 176, 107);
    text-shadow: 0 0 10px rgb(247, 177, 92), 0 0 20px rgb(127, 83, 30);
}

@keyframes flamesparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(247, 177, 92), 0 0 40px rgb(247, 177, 92); }
    50% { box-shadow: 0 0 30px rgb(127, 83, 30), 0 0 50px rgb(247, 177, 92); }
}

.hashiras5{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras5:hover img {
    border-color: rgb(137, 208, 115);
    box-shadow: 0 0 20px rgb(137, 208, 115), 0 0 40px rgb(137, 208, 115), 0 0 60px rgb(137, 208, 115);
    animation: windsparkle 1s infinite;
}

.hashiras5:hover .mit {
    color: rgb(158, 223, 138);
    text-shadow: 0 0 10px rgb(137, 208, 115), 0 0 20px rgb(40, 89, 25);
}

@keyframes windsparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(137, 208, 115), 0 0 40px rgb(137, 208, 115); }
    50% { box-shadow: 0 0 30px rgb(40, 89, 25), 0 0 50px rgb(137, 208, 115); }
}

.hashiras6{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras6:hover img {
    border-color: rgb(188, 96, 246);
    box-shadow: 0 0 20px rgb(188, 96, 246), 0 0 40px rgb(188, 96, 246), 0 0 60px rgb(188, 96, 246);
    animation: insectsparkle 1s infinite;
}

.hashiras6:hover .oba {
    color: rgb(198, 135, 237);
    text-shadow: 0 0 10px rgb(188, 96, 246), 0 0 20px rgb(77, 29, 106);
}

@keyframes insectsparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(188, 96, 246), 0 0 40px rgb(188, 96, 246); }
    50% { box-shadow: 0 0 30px rgb(77, 29, 106), 0 0 50px rgb(188, 96, 246); }
}

.hashiras7{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras7:hover img {
    border-color: rgb(108, 133, 255);
    box-shadow: 0 0 20px rgb(108, 133, 255), 0 0 40px rgb(108, 133, 255), 0 0 60px rgb(108, 133, 255);
    animation: watersparkle 1s infinite;
}

.hashiras7:hover .mit {
    color: rgb(107, 124, 209);
    text-shadow: 0 0 10px rgb(108, 133, 255), 0 0 20px rgb(31, 42, 100);
}

@keyframes watersparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(108, 133, 255), 0 0 40px rgb(108, 133, 255); }
    50% { box-shadow: 0 0 30px rgb(31, 42, 100), 0 0 50px rgb(108, 133, 255); }
}

.hashiras8{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    position: relative;
}

.hashiras8:hover img {
    border-color: rgb(247, 92, 92);
    box-shadow: 0 0 20px rgb(247, 92, 92), 0 0 40px rgb(247, 92, 92), 0 0 60px rgb(247, 92, 92);
    animation: soundsparkle 1s infinite;
}

.hashiras8:hover .oba {
    color: rgb(235, 87, 87);
    text-shadow: 0 0 10px rgb(247, 92, 92), 0 0 20px rgb(90, 18, 18);
}

@keyframes soundsparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(247, 92, 92), 0 0 40px rgb(247, 92, 92); }
    50% { box-shadow: 0 0 30px rgb(90, 18, 18), 0 0 50px rgb(247, 92, 92); }
}

.hashiras9{
    grid-column-start: 1;
    grid-column-end: 6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    margin-bottom: 5%;
    position: relative;
}

.hashiras9:hover img {
    border-color: rgb(108, 250, 255);
    box-shadow: 0 0 20px rgb(108, 250, 255), 0 0 40px rgb(108, 250, 255), 0 0 60px rgb(108, 250, 255);
    animation: mistsparkle 1s infinite;
}

.hashiras9:hover .mit {
    color: rgb(130, 251, 255);
    text-shadow: 0 0 10px rgb(108, 250, 255), 0 0 20px rgb(34, 110, 112);
}

@keyframes mistsparkle {
    0%, 100% { box-shadow: 0 0 20px rgb(108, 250, 255), 0 0 40px rgb(108, 250, 255); }
    50% { box-shadow: 0 0 30px rgb(34, 110, 112), 0 0 50px rgb(108, 250, 255); }
}

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%;
        color: rgb(255, 255, 255);
    }
    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;
        color: rgb(255, 255, 255);
        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%;
    }
}

.hashiratext{
    grid-column-start: 4;
    grid-column-end: 6;
}

.hashiratext2{
    grid-column-start: 1;
    grid-column-end: 3;
}

.hashirapicture{
    grid-column-start: 1;
    grid-column-end: 4;
}

.hashirapicture2{
    grid-column-start: 3;
    grid-column-end: 6;
}

@media (max-width: 1270px) {
    body {
        grid-template-columns: 15% 70% 15%;
    }

    main {
        column-gap: 5%;
    }

    h3 {
        font-size: 1.7rem;
    }

    .hashirapicture{
    grid-column-start: 1;
    grid-column-end: 6;
    width: 60%;
    justify-self: center;
    margin-bottom: 3%;
    }
    .hashirapicture2{
    grid-column-start: 1;
    grid-column-end: 6;
    width: 60%;
    justify-self: center;
    }
    .hashiratext{
    grid-column-start: 1;
    grid-column-end: 6;
    width: 60%;
    justify-self: center;
    }
    .hashiratext2{
    grid-column-start: 1;
    grid-column-end: 6;
    width: 60%;
    justify-self: center;
    margin-bottom: 3%;
    }
}

@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;
    }

    hr{
        width: 90%;
    }

    footer {
        display: block;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 2%;
    }
}

*{
    font-family: 'Yuji Syuku';
}