* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    /* font-family: "orpheuspro",sans-serif; */
    font-family: "century-gothic", sans-serif;
    /* background: linear-gradient(rgb(210, 188, 175),white); */
    background: linear-gradient(rgb(77, 77, 77),rgb(168, 168, 168));
    background-color: rgb(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

nav {
    margin-top: 16px;
    width: 95vw;
    height: 64px;
    display: flex;
    padding: 8px;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(210, 188, 175, 0.75);
    border-radius: 6px;
}

.logo {
    margin-left: 8px;
    height: 40px;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 0px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    width: auto;
    height: 40px;
    margin-right: 32px;
}

.register:hover {
    color: black;
    border: 2px solid black;
}

.navbar li {
    display: flex;
    margin: 0 5px 0 0;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    margin: 0 0px;
    font-weight: bold;
}

.underline {
    top: 12px;
    margin: 0 auto;
    width: 0%;
    height: 1.5px;
    background-color: rgba(32, 30, 30, 0.877);
}

.navbar ul li a:hover {
    color: rgba(32, 30, 30, 0.877);
}

.navbar ul li a:hover .underline {
    width: 100%;
    transition: 0.3s;
}

.log-in {
    margin: 0 4px 0 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 20px;
    width: 50px;
    height: 40px;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
    color: white;
}

.button {
    font-family: inherit;
    cursor: pointer;
    background: none;
}

.news-list {
    width: 100vw;
    background-color: rgb(240, 240, 240, 1);
    margin-top: 16px;
}

.newAll {
    padding: 24px;
}

.newImage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    overflow: hidden;
}

.newImage img {
    border-radius: 16px;
    max-height: 300px;
    object-fit: contain;
    overflow: hidden;
}

.newDate {
    display: flex;
    margin-top: 8px;
    font-size: 1.5rem;
    justify-content: space-between;
}

.newDate figure {
    cursor: pointer;
    height: 24px;
}

.newDate figure img {
    height: 100%;
    object-fit: contain;
}

.newAll {
    padding: 24px;
    border-top: 2px solid black;
}

.singleNew {
    width: 100vw;
    margin-top: 24px;
    background-color: white;
    padding: 24px;
}

.newAll div p {
    max-height: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: break-word;
}

.newTitle {
    font-size: 2rem;
}

.newBody {
    height: 100%;
    font-size: 1.75rem;
    text-align: justify;
    color: black;
    word-wrap: break-word;
}

.wholeNew {
    text-decoration: none;
    color: black;
}

.wholeBody {
    height: 100%;
}

.contact {
    width: 100%;
    background-color: white;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact p {
    margin-top: 8px;
}

.contact-icons {
    display: flex;
    padding: 24px;
}

.contact-icons a figure img {
    height: 50px;
    margin: 0 16px 0 16px;
}

.footer {
    height: 50px;
    display: flex;
    align-items: center;
    overflow: none;
    justify-content: end;
}

.footer figure {
    overflow: none;
    margin-left: 16px;
}

.footer p {
    color: white;
    font-size: 1.5rem;
    margin-right: 16px;
}

.add-new {
    width: 90vw;
    height: 520px;
    background-color: rgb(210, 188, 175, 1);
    border: 1px solid black;
    border-radius: 16px;
    display: none;
    position: absolute;
    top: 15%;
}

.close-window {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 20px;
    cursor: pointer;
}

.data-upload {
    width: 90%;
    margin: 0 auto;
}

.filename {
    display: none;
}

.box {
    display: flex;
    font-size: 1.5rem;
    flex-direction: column;
    width: 100%;
    margin: 8px auto 0 auto;
}

.title-input {
    width: 100%;
    margin-top: 8px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 0 8px 0 8px;
}

.body-input {
    width: 100%;
    margin-top: 8px;
    height: 120px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 8px 8px;
    text-align: justify;
}

.data-submit {
    width: 124px;
    margin: 18px auto 0 auto;
    display: flex;
    justify-content: center;
}

.data-submit-button {
    cursor: pointer;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 4px;
    background: none;
    font-size: 24px;
    margin: 0 auto 0 auto;
    transition: 0.5s;
}

.data-submit-button:hover {
    color: black;
    border: 1px solid black;
    border-radius: 8px;
}

.title-input:focus, .body-input:focus {
    outline: none;
}

.add-data {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 1.5rem; 
}

.data-file {
    display: none;
}

.grid {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.form-element {
    width: 200px;
    height: 200px;
    box-shadow: 0px 0px 20px 5px rgb(100,100,100,0.1);
}

.form-element input {
    display: none;
}

.form-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-element div {
    position: relative;
    height: 40px;
    margin-top: -40px;
    background:  rgb(0,0,0,0.5);
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    color: #f5f5f5;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-element div span{
    font-size: 3rem;
}

.send-mail {
    width: 90vw;
    height: 75vh;
    background-color: rgb(210, 188, 175, 1);
    border: 1px solid black;
    border-radius: 16px;
    display: none;
    position: absolute;
    top: 140%;
    right: 5%;
}

.email-input {
    width: 100%;
    margin-top: 8px;
    height: 250px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 8px 8px;
    text-align: justify;
}

.removeAlert {
    background-color: rgb(210, 188, 175, 1);
    width: 250px;
    height: 150px;
    margin: auto;
    position: absolute;
    border-radius: 8px;
    padding: 8px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.removeAlert h1 {
    text-align: center;
    width: 100%;
}

.removeAlert div {
    display: flex;
    margin-top: 16px;
}

.removeAlert a {
    text-align: center;
    width: 60px;
    background-color: white;
    padding: 8px;
    margin: 0 24px 0 24px;
    text-decoration: none;
    color: black;
    font-size: 2rem;
    border-radius: 8px;
    border: 1px solid black;
}

@font-face {
    font-family: "orpheuspro";
    src: url('../fonts/orpheuspro-medium.otf');
}

@font-face {
    font-family: "century-gothic";
    src: url('../fonts/century-gothic.TTF');
}
