/* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template */ /* Created on : 20 Sept 2024, 2:21:11 pm Author : elliot */ p { font-size: 70%; color: black; } body { background-color: #d4d4d4; margin: 0; text-align: center; font-size: 40px; font-family: Verdana, Helvetica; } .ad-poster img { min-width: 300px; max-width: 400px; height: auto; border-radius: 10px; justify-content: center; display: flex; margin-left: 725px; flex-direction: row; } .ad-poster p { justify-content: center; display: flex; margin-left: 725px; flex-direction: row; } html { visibility: hidden; opacity: 0; transition: visibility 3s ease, opacity 3s ease; } html.loaded { visibility: visible; opacity: 1; } .fading-text { font-size: 24px; opacity: 0; transition: opacity 1s ease-in-out; } .header { justify-content: space-between; align-items: center; text-align: center; text-transform: uppercase; padding: 32px; background-color: #065c65; color: #fff; border-bottom: 5px solid #434cf0; display: flex; flex-direction: row; /* Change this line */ } .header h1 { position: relative; top: 0; left: 0; } .header h2 { color: #FFD700; font-size: 120%; } .header a { color: white; text-decoration: none; margin: 10px 0; padding: 20px 20px; border-radius: 25px; transition: background-color 0.3s ease; z-index: 1; } .header a:hover { background-color: #054a51; } .biography { display: flex; flex-direction: column; justify-content: flex-start; /* This ensures that the child elements are aligned to the left */ padding: 20px; font-size: 75%; text-align: left; } .biography h2 { text-align: left; /* This ensures that the text within the

element is left-aligned */ } .biography p { text-align: left; /* This ensures that the text within the

elements is left-aligned */ } .my-border { border: 5px solid black; } img:hover { transform: scale(1.15); /* increase size by 20% */ transition: transform 0.3s ease; /* smooth transition */ } .biography img { min-width: 300px; max-width: 400px; height: auto; border-radius: 10px; margin-left: 20px; display: flex; flex-direction: row; } .link { color: black; text-align: center; font-size: 75%; } .image-container { display: flex; gap: 10px; padding: 20px; } .article-section { width: 80%; margin: 20px auto; background-color: #fff; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .article-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .article-title { font-size: 44px; color: #333; } .article-info { color: #667; } .article-content { margin-bottom: 20px; } .article-image { height: auto; width: auto; margin-bottom: 10px; } .social-media { display: flex; justify-content: center; margin-bottom: 10px; } .social-media a { margin: 0 5px; color: #333; text-decoration: none; } .social-media i { font-size: 18px; } .related-articles { list-style-type: none; padding: 0; } .related-articles li { margin-bottom: 5px; } .related-articles a { color: #333; text-decoration: none; } @media (max-width: 768px) { .article-section { width: 90%; } } .image-container img { max-width: 2000px; height: auto; border-radius: 5px; align-items: center; } @media (max-width: 768px) { .biography { flex-direction: column; text-align: center; } .biography img { float: none; width: 100%; } .biography text { margin-left: 0; padding-top: 20px; } .header { flex-direction: column; align-items: center; margin: 0px -20px; } .container { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px; } .food-item { display: flex; flex-direction: column; width: 400px; margin: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .image { flex: 1; overflow: hidden; } .image img { min-width: 300px; max-width: 400px; height: auto; border-radius: 10px; } .description { flex: 1; padding: 20px; text-align: left; } .header h1 { position: relative; top: 0; left: 0; } .header h2 { font-size: 120%; } .header a { margin: 10px 0; } .biography { padding: 10px; } .image-container { padding: 10px; } img { max-width: 100%; margin: auto; transition: transform 0.3s ease; } } @media (min-width: 769px) { .biography { flex-direction: row; text-align: left; } .biography img { float: left; width: 40%; margin-right: 20px; } .biography text { margin-left: 20px; } .header { flex-direction: row; align-items: center; margin: 0px -20px; } .header h1 { position: relative; top: 0; left: 0; } .header h2 { font-size: 100%; } .header a { margin: 0 10px; } .biography { padding: 20px; } .image-container { padding: 20px; } img { max-width: 100%; margin: auto; transition: transform 0.3s ease; } } h1 { text-align: center; font-size: 100%; color: #333; } form { max-width: 400px; margin: auto; } label { display: block; margin-top: 10px; } input, textarea { width: 100%; padding: 8px; margin-top: 5px; box-sizing: border-box; } button { padding: 20px 40px; font-size: 120%; color: white; background-color: #065c65; border: none; cursor: pointer; text-align: center; text-decoration: none; border-radius: 5px; /* Rounded corners */ transition: background-color 0.3s ease; z-index: 1; } form button { padding: 20px 40px; font-size: 18px; color: white; background-color: #065c65; border: none; cursor: pointer; text-align: center; text-decoration: none; border-radius: 5px; /* Rounded corners */ transition: background-color 0.3s ease; z-index: 1; } form button:hover { background-color: #054a51; } button:hover { background-color: #054a51; } /* Center the button horizontally */ .centered-button { display: inline-block; margin-top: -5px; } /* Add some padding to the body for better spacing */ body { padding: 0 20px; }