html {
    background-image: url("images/bg/bgmain.svg");
    background-color: #1e1e1e;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    border: 20px solid transparent;       
}
p {
    font-family: 'Playfair Display', serif;
    color: white;
    text-justify: inter-word;
    font-weight: 50;
}
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
}
h2 {
    font-family: 'Playfair Display', serif;
    color: white;
}
h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    max-width: 60%;
}
nav{
    position: sticky;
    top: 0;
    left: 0;
    width: 85%;
    padding: 20px 0;
    z-index: 1000;
    overflow: visible;
    list-style-type: none;
    display: flex;
    justify-content: center;
    background-clip: padding-box;
}
nav ul {
    width: 100%;
    background-color: #1e1e1e;
    border-radius: 20px;
    border: 3px solid white;
    font-weight: bold;
    padding: 16px;
    position: relative;
    display: inline-block;
    box-shadow: 
        3px 3px 0 #7e57c2,
        -3px -3px 0 #ff7043;
}
nav ul li {
    display: inline;
    border-right: 2px solid #7e57c2;
    padding-right: 8px;
    padding-left: 8px;
}
nav ul li:last-child {
    border-right: none;
}
nav ul li a {
    text-decoration: none;
    color: #ff7043;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #7e57c2;
}
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}
.text-section {
    flex: 1;
    padding-right: 20px;
}
.highlight {
    color: #ff7043;
    text-shadow: 0px 0px 15px rgba(255, 112, 67, 0.8);
}
.quote {
    font-style: italic;
    color: #ff7043;
    font-size: 1.2rem;
    margin: 15px 0;
}
.author {
    font-weight: bold;
    color: #ff7043
}
.description {
    font-size: 1.1rem;
    line-height: 1.5;
}
.logo-section {
    width: 40%;
    text-align: center;
}
.logo-section img {
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
}
.mainr {
    color: white;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.carousel-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    align-items: center;
    box-shadow: 0px 0px 30px rgba(255, 112, 67, 0.3);
}
.carousel {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
}
.overlay-text {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
    color: white;
    max-width: 30%;
}
.overlay-text h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.overlay-text p {
    font-size: 1rem;
}
.news-buttons {
    width: 33.3%;
    background: #222;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 100%;
    position: relative;
    z-index: 10;
}
.news-buttons button {
    width: 90%;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    background: #ff7043;
    border: none;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s, transform 0.2s;
    display: block;
}
.news-buttons button:hover {
    background: #7e57c2;
    box-shadow: 0px 0px 30px rgba(255, 112, 67, 0.5);
    transform: scale(1.05);
}
.news-buttons p {
    font-size: 0.9rem;
    text-align: center;
    color: #bbb;
    margin-bottom: 10px;
}
@media (max-width: 900px) {
    .carousel-container {
        flex-direction: column;
        height: auto;
    }
    .carousel {
        width: 100%;
        height: 300px;
    }
    .news-buttons {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
}
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.news-card {
    background: #222;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 30px rgba(255, 112, 67, 0.5);
}
.news-header {
    background: #ff7043;
    color: white;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}
.news-header span:first-child {
    font-weight: bold;
    text-transform: uppercase;
}
.news-header span:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}
.news-content {
    background: #fff6f3;
    color: black;
    padding: 15px;
    margin: 10px 0;
    position: relative;
    border-radius: 0 0 8px 8px;
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}
.news-content p {
    margin: 0;
    color: #333;
    text-align: left;
}
.news-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 10px;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer {
    width: 100%;
    background-color: #1e1e1e;
    border-radius: 20px;
    border: 3px solid white;
    font-weight: bold;
    padding: 16px;
    position: relative;
    text-align: center;
    box-shadow: 
        3px 3px 0 #7e57c2,
        -3px -3px 0 #ff7043;
}
.footer-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}
.social-link img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease-in-out;
}
.social-link img:hover {
    transform: scale(1.2);
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: white;
}
.footer-section {
    max-width: 400px;
    text-align: left;
}
.footer-section h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 10px;
    border-bottom: 3px solid white;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin: 5px 0;
}
.footer-section ul li a {
    text-decoration: none;
    color: #ff7043;
    transition: 0.3s;
}
.footer-section ul li a:hover {
    color: #7e57c2
}
.footer-bottom {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
}
.hero {
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
#typewriter {
    color: #ff7043;
    font-weight: bold;
}