@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #5c5c5c;
    background-color: #fffff3;
    margin: 0;
    padding: 0;

}

.page-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1920px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #be9c91;
    font-weight: 700;
    height: 60px;
    padding: 0 20px;
    color: #f5f5f5;
    z-index: 100;
}

nav a {
    color: #fffff3;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding-right: 50px;
}

.nav-logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #333;
    margin: 0;
    padding: 1rem;
}

.nav-logo-title img {
    content: url("./uc.png");
    height: 40px;
    margin-right: 10px;
}

nav li {
    margin-left: 20px;
}

nav li:first-child {
    margin-left: 0;
}

nav a:hover {
    background-color: #fffff3;
    color: #8d6e63;
    padding: 5px;
    border-radius: 7px;
    padding-left: 8px;
    padding-right: 8px;
    transition: 1s;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #5c5c5c;
    background-color: #fffff3;
    text-align: left;
    padding: 2rem;
}

.header-texts {
    width: 65%;
}

.header-texts h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #333333;
}

.header-texts h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.header-texts p {
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.header-texts abbr {
    color: #925a00;
    text-decoration: underline;
}

.header-filler {
    margin-top: 50px;
    width: 30%;
    content: url("./undraw.svg");
  }

.content-aside {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    background-color: #fffff3;
}

.content {
    display: flex;
    flex-direction: column;
    flex-basis: 82%;
}

.content h2 {
    letter-spacing: 7px;
    color: #fffff3;
    font-size: 14px;
    width: fit-content;
    background-color: #be9c91;
    padding: 1px;
    padding-left: 10px;
    padding-right: 15px;
    border-radius: 7px;
}

.content h4 {
    font-size: 26px;
    margin-bottom: -15px;
    margin-top: -5px;
}

.content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
}

.content-first {
    margin-left: 40px;
    margin-right: 50px;
}

.content-second {
    margin-left: 40px;
    margin-right: 50px;
}

aside {
    position: sticky;
    left: 0px;
    top: 80px;
    background-color: #be9c91;
    padding: 20px;
    border-radius: 20px;
    width: 200px;
    height: fit-content;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 30px;
    text-align: center;
}

aside:hover {
    background-color: #d8b7a8;
    border-radius: 20px;
}

aside h2 {
    font-size: 1.2em;
    color: #fffff3;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 5px;
}

aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

aside ul li {
    list-style: none;
    margin: 10px 0;
}

aside ul li:before {
    content: "";
    display: inline-block;
    height: 24px;
    width: 24px;
    margin-right: 5px;
    background-image: url("https://iconsplace.com/wp-content/uploads/_icons/ffffff/256/png/phone-icon-18-256.png");
    background-size: contain;
}

aside ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: bold;
}

aside ul li a:hover {
    color: #c0713e;
}

.articles {
    width: 97%;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.articles table {
    border-collapse: collapse;
    width: 100%;
}

.articles td.article {
    background-color: #fffff3;
    padding: 20px;
    vertical-align: top;
}

.articles td.article img {
    content: url(https://source.unsplash.com/featured/500x200?Brown);
    border-radius: 20px;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.articles td.article h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.articles td.article p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.articles td.article a {
    display: inline-block;
    background-color: #be9c91;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.articles td.article a:hover {
    background-color: #c0713e;
}

.articles td.article-long {
    background-color: #fffff3;
    padding: 20px;
    vertical-align: top;
    width: 66.66%;
}

.articles td.article-long h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.articles td.article-long p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.row-second img {
    content: url(https://source.unsplash.com/featured/500x201?Brown);
    border-radius: 20px;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.articles td.article-long a {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.articles td.article-long a:hover {
    background-color: #666;
}

.articles tr.row-first td.article:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.articles tr.row-first td.article:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.articles tr.row-second td.article-long {
    border-radius: 5px;
}

/* Creativity Section */
/* Styling for the creativity section */
.creativity {
    padding: 50px 0;
}

/* Styling for the creativity wrapper */
.creativity-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
}

/* Styling for each mini section */
.mini-one,
.mini-two,
.mini-three,
.mini-four {
    border: 2px solid #be9c91;
    border-radius: 20px;
    border-color: #be9c91;
    background-color: #ffffed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    overflow: hidden;
    position: relative;
    width: 300px;
    height: 400px;
}

/* Styling for the mini image */
.mini-one img,
.mini-two img,
.mini-three img,
.mini-four img {
    content: url(https://source.unsplash.com/featured/425x202?black);
    display: block;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

/* Styling for the mini content */
.mini-content {
    padding: 20px;
}

/* Styling for the mini title */
.mini-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Styling for the mini description */
.mini-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Animasi mini-card */
.creativity-wrapper>div {
    transition: transform 0.5s ease;
}

/* Efek scale saat hover */
.creativity-wrapper>div:hover {
    transform: scale(1.1);
}

/* Animasi background-color saat hover */
.creativity-wrapper>div:hover {
    background-color: #eee;
    transition: background-color 0.5s ease;
}

/* Animasi border saat hover */
.creativity-wrapper>div:hover {
    border: 1px solid #ccc;
    transition: border 0.5s ease;
}

/* Animasi opacity saat hover */
.creativity-wrapper>div {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.creativity-wrapper>div:hover {
    color: #fffff3;
    opacity: 0.8;
}

footer {
    background-color: #be9c91;
    color: #fffff3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.footer-form p {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-form input[type="text"],
.footer-form select {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
}

.footer-form input[type="radio"] {
    margin-right: 10px;
}

.footer-form button {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
}

.footer-form button:hover {
    background-color: #d8b7a8;
    color: #fffff3;
}

.footer-credit h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

@media screen and (max-width: 640px) {

    nav {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: 80px;
        max-width: 100%;
        padding: 0px;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        z-index: 0;
        position: relative;
    }

    nav a {
        margin-top: -30px;
    }

    nav img {
        display: none;
    }

    nav ul {
        display: flex;
    }

    nav ul li a {
        padding-left: 5px;
        margin-top: -50px;
        font-size: smaller;
    }

    #header {
        display: inline;
        width: 500px;
        text-align: justify;
    }

    .header-filler {
        width: 60%;
      }

    .content-aside {
        flex-direction: column;
        padding-left: -10px;
        width: 400px;
    }

    .content-aside aside {
        margin-top: 0;
        width: 70%;
        border-left: 0;
        margin-top: -80px;
        margin-bottom: 60px;
        position: relative;
    }

    .articles td.article {
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 0px;
        margin-top: 50px;
        padding-bottom: 50px;
        border-bottom: 2px dashed #8d6e63;
    }

    .articles td.article-long {
        width: 90%;
    }

    .articles .row-second {
        margin-top: 50px;
        display: flex;
        flex-direction: column-reverse;
        width: 90%;
    }

    .articles td.article img,
    .row-second img {
        height: auto;
    }


    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-form {
        margin-bottom: 40px;
    }

    .footer-credit {
        text-align: center;
    }
}