@charset "utf-8";

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
img {
    width: 100%;
    vertical-align: bottom;
}
/* font */
* {
    font-family: "Caveat", "Zen Maru Gothic", sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #303030;
}

/* COMMON */
body {
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: -250px;
    background-attachment: fixed;
}

.inner-wrap {
    width: 50vw;
    margin: 0 auto;
    padding: 150px 0;
}

section:nth-of-type(odd) {
    background-color: #ffffffad;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

section:nth-of-type(even) {
    background-color: #ffffff77;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

h2 {
    margin: 0 auto;
    width: fit-content;
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 100px;
}

h2 span {
    font-size: 18px;
    padding-left: 10px;
    font-weight: 500;
}

h2 span::before {
    content: "-";
    padding-right: 5px;
}
h2 span::after {
    content: "-";
    padding-left: 5px;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.140);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    height: 10vh;
    padding: 10px 50px 0;

    position: fixed;
    top: 0;
    transition: top 0.5s;
    width: 100vw;
    z-index:1;
    
}

header a {
    color: #fff;
}

h1 {
    font-size: 45px;

    text-shadow: 2px 2px 1px #303030;
}

nav ul {
    display: flex;
}

nav ul li {
    font-size: 30px;
    margin-left: 25px;
    padding: 0 8px;
    line-height: 0.8;
    transition: 0.8s;
    text-shadow: 1px 1px 1px #303030;
}

nav ul li:hover {
    border-bottom: 1px solid #fff;
    font-size: 32px;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
}

.hero-title {
    font-family: sans-serif;
    color: #fff;
    width: fit-content;
    position: absolute;
    bottom: 100px;
    right: 120px;
    font-size: 25px;
    font-weight: 600;
    line-height: 2.5em;
    letter-spacing: 0.8em;
}

/* INFO */

.info-item {
    margin: 10px 15px 0;
}

.info-img {
    width: 200px;
    height: 200px;
    background-color: gainsboro;
    transition: 0.8s;
    margin-bottom: 10px;
}

.info-img:hover {
    transform: scale(1.1);
}

.info-img img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.info-item dl {
    width: 200px;
    font-size: 13px;
}

.info-box {
    display: flex;
    overflow: hidden;
}

.slider-wrap {
    display: flex;
    animation: loop 30s linear infinite;
}

@keyframes loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

#info p a {
    display: block;
    margin: 20px 0 0 auto;
    padding-right: 20px;
    width: fit-content;
    position: relative;
    border-bottom: 1px dashed;
    font-size: 15px;
    color: #303030;
}

#info p a::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 3px;
    width: 20px;
    height: 20px;
    background-image: url(../img/info-link.png);
    background-size: contain;
}

/* ABOUT */
#about .inner-wrap {
    display: flex;
    justify-content: space-between;
}

#about .inner-wrap img {
    display: block;
    width: 300px;
}

#about h2 {
    padding-bottom: 50px;
}

#about .inner-wrap div:nth-of-type(2) {
    padding-left: 50px;
}

#about p {
    line-height: 2.2;
    text-align: justify;
}

/* MENU */

h3 {
    font-size: 35px;
}

h4 {
    font-size: 30px;
}

.flex-menu {
    display: flex;
    justify-content: space-between;
    padding-left: 150px;
    margin-bottom: 50px;
}

.flex-menu img {
    width: 200px;
}

.flex-menu dl {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted;
    font-size: 20px;
    margin-bottom: 20px;
}

.flex-menu dl dt {
    padding-right: 50px;
}

#menu p {
    font-size: 25px;
    text-align: center;
}

/* ACCESS */
#access .map {
    width: 300px;
    height: 300px;
    background-color: gainsboro;
}

.inner-access {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.inner-access h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.inner-access p {
    font-size: 20px;
    padding-top: 10px;
}

.inner-access p.adress {
    font-size: 16px;
}

/* CONTACT */
#contact .inner-wrap {
    display: flex;
    justify-content: space-between;
    padding: 150px 0;
}

#contact h2 {
    width: 300px;
    text-align: center;
    padding-bottom: 50px;
}

#contact img {
    display: block;
    width: 300px;
    height: 450px;
}

.radio input[type="radio"] {
    margin: 0 5px 15px 20px;
    accent-color: black;
}

.radio:first-child {
    margin-left: 30px;
}

#contact input[type="text"],
#contact input[type="email"] {
    width: 300px;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid gainsboro;
    border-radius: 4px;
    outline: none;
    color: black;
}

#contact textarea {
    width: 300px;
    height: 150px;
    border: 1px solid gainsboro;
    border-radius: 4px;
    color: black;
    padding: 5px;
    outline: none;
    resize: none;
    margin-bottom: 15px;
}

#contact input:focus,
#contact textarea:focus {
    border: 2px solid rgb(168, 167, 167);
    box-shadow: 0 0 5px rgb(62, 62, 62);
}

.submit {
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact button {
    width: 150px;
    padding: 8px 0;
    border-radius: 20px;
    border: 1px solid rgb(172, 171, 171);
    background-color: whitesmoke;
    opacity: 0.9;
}

#contact button:hover {
    transform: translateY(-1px);
    box-shadow: 5px 5px 10px 1px rgb(137, 137, 137);
    opacity: 1;
}

/* FOOTER */
footer {
    height: 50px;
}

footer .inner-footer {
    padding: 5px 50px;
    background: rgba(255, 255, 255, 0.125);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px 8px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    top: -5px;
}

footer a {
    color: #fff;
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 5px;
}

footer h1 {
    font-size: 30px;
}

footer nav a {
    font-size: 20px;
}

footer small {
    color: #fff;
    text-shadow: 1px 1p 1px black;
}
