@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #fa311b;
}

.menu_item, .menu_item_link{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #000000;
    text-decoration: none;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
}

#logo{
    position: relative;
    cursor: pointer;
    border: 5px solid #f00543;
    border-radius: 20px;
    transition: all 0.3s ease 0s, top 0.15s ease-in-out;
    top: 0px;
}

#logo:hover{
    border-color:  #a3042e;
    top: -8px;
}

#navbar_items {
    list-style: none;
}

#navbar_items li{
    position: relative;
    display: inline-block;
    padding: 0px 20px;
    border: 5px solid #f00543;
    border-radius: 20px;
    background-color: #ff184e;
    transition: right 0.15s ease-in-out;
    right: 0px;
}

#navbar_items li:hover{
    right: -2px;
}

#navbar_items li a{
    background-color: #ff184e;
    transition: all 0.3s ease 0s;
}

#navbar_items li a:hover {
    color:#fafafa;
}

.footer{
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000000;
    margin-left: 20px;
    transition: all 0.4s ease 0s;
}

.footer:hover{
    color: #ffffff;
}

#link {
    text-decoration: none;
}

/* css for main program here */

#title{
    position: relative;
    margin: 1% 10% 1% 10%;
    padding: 3%;
    border: 5px solid #f00543;
    border-radius: 20px;
    background-color: #ff184e;
    transition: all 0.3s ease 0s, top 0.15s ease-in-out;
    top: 0px;
}

#title:hover{
    border-color:  #a3042e;
    top: -8px;
}

#title_text{
    background-color: #ff184e;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 50px;
    margin-left: 2%;
}

#description{
    position: relative;
    margin: 1% 10% 1% 10%;
    padding: 3%;
    border: 5px solid #f00543;
    border-radius: 20px;
    background-color: #ff184e;
    transition: all 0.3s ease 0s, top 0.15s ease-in-out;
    top: 0px;
}

#description:hover{
    border-color:  #a3042e;
    top: -8px;
}

#description_text{
    background-color: #ff184e;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin-left: 2%;
}

#image_main{
    margin: 1% 10% 1% 10%;
    border: 6px solid #f00543;
    border-radius: 20px;
    transition: all 0.3s ease 0s;
    max-width: 80%;
}

#image_main:hover{
    border-color:  #a3042e;
}

#image_main0{
    border: 6px solid #f00543;
    border-radius: 20px;
    transition: all 0.3s ease 0s;
    visibility: hidden;
}

#image_main0:hover{
    border-color:  #a3042e;
}

#main_images {
    position: relative;
    list-style: none;
    border: 6px solid #ff759a;
    border-radius: 20px;
    transition: top 0.15s ease-in-out, border-color 0.3s ease-in-out;
    border-style: hidden;
    top: 0px;
}

#main_images li{
    display: inline-block;
}

#main_images:hover{
    border-color:  #ffb5c9;
    top: -8px;
}
