@import url(https://fonts.googleapis.com/css?family=Noto+Serif+JP:200,300,regular,500,600,700,800,900);

:root{
    /*colors*/
    --back-princp: #87CEEB;
    --nav-back-color: #white;
    --interective-elements: #FFD700;
    --title-color: #000000;
    --font-color: #000000;
    --links-details: #00FA9A;

    --nav-heigth: 10vh;
}

*{
    margin: 0;
}

body{
    font-family: "Noto Sans JP", sans-serif;
}
/*nav*/
nav{
    background-color: var(--nav-back-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-heigth);
    padding: 1%;
}

nav > img {
    height: 95%;
}

nav > h1{
    font-size: 3em;
}

nav > .burger {
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    display: block;

}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}

.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

.menu{
    background-color: var(--back-princp);
    position: relative;
    height: 100ch;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.menu > *{
    margin-top: 1%;
    margin-bottom: 1%;
}

#input-container {
    width: 50%;
    position: relative;
}

.icon {
    position: absolute;
    right: 10px;
    top: calc(50% + 5px);
    transform: translateY(calc(-50% - 5px));
}

.input {
    width: 100%;
    height: 40px;
    padding: 10px;
    transition: .2s linear;
    border: 2.5px solid black;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input:focus {
    outline: none;
    border: 0.5px solid black;
    box-shadow: -5px -5px 0px black;
}

#input-container:hover > .icon {
    animation: anim 1s linear infinite;
}

@keyframes anim {
    0%,
    100% {
        transform: translateY(calc(-50% - 5px)) scale(1);
    }

    50% {
        transform: translateY(calc(-50% - 5px)) scale(1.1);
    }
}
/*header*/
header{
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: calc(96vh - var(--nav-heigth));
    color: var(--font-color);
    background: rgb(135,206,235);
    background: radial-gradient(circle, rgba(135,206,235,1) 0%, rgba(176,226,255,1) 46%, rgba(70,130,180,1) 100%);
}

header > .place {
    margin-top: 3%;
}

header > .weather {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.icon_general > img{
    height: 30px;
}

#grades_now{
    font-size: 9em;
}

#termic_sensation{
    display: flex;
    justify-content: center;
    vertical-align: middle;
    font-size: 1.5em;
}

.max-min {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.max-min > * {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
}

.state{
    margin-left: 5%;
}

.state > .weather_sate > img{
    height: 0px;
}

.info {
    display: flex;
    justify-content: space-evenly;
}

.info > .info_data {
    display: flex;
    align-items: center;
    font-size: small;
}

.info > .info_data > img {
    height: 20%;
    margin-right: 5%;
}

.info:last-child > .info_data{
    font-size: medium;
}

.info:last-child > .info_data > img {
    height: 80%;
    margin-right: 5%;
}

/*hour table*/
.for-hour-table{
    display: table;
    min-width: 100%;
    text-align: center;
    background-color: rgba(39,82,128,.07);
}
.for-hour-table-head{
    display: table-header-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}
.for-hour-table-head-item{
    display: table-row;
    vertical-align: inherit;
    unicode-bidi: isolate;
    border-color: inherit;
}

.for-hour-table-head .for-hour-table-head-item-cell {
    background-color: rgba(255, 236, 219, .07);
    padding: 2.5rem 0.625rem 0.625rem 0.625rem;
    font-size: 1rem;
}

.for-hour-table-body{
    display: table-row-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

.for-hour-table-body-item{
    display: table-row;
    vertical-align: inherit;
    unicode-bidi: isolate;
    border-color: inherit;

}

.for-hour-table-body-item-cell{
    justify-content: center;
    width: 97%;
    padding: 1rem 0.625rem 0.625rem 0.625rem;
    white-space: nowrap;
    font-size: 0.875rem;
    min-width: 9.0625rem;
    box-sizing: border-box;
}
#table-weather > .for-hour-table-body-item-cell > img {
    height: 50px;
    width: 50px;
}
.for-hour-table-body-item-cell-content{
    display: flex;
    justify-content: center;
}
.for-hour-table-body-item-cell-content > img {
    height: 20px;
    width: 20px;
}

.for-hour-table-body-item-cell:nth-child(3),
.for-hour-table-body-item-cell:nth-child(4),
.for-hour-table-body-item-cell:nth-child(5){
    display: flex;
    flex-direction: row;
}