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

html {
  height: 100%;
  background-image: url(images/Watercolor.png);
  background-size: cover;
}

body {
  overflow: scroll;
  font-family: "Arial", sans-serif;
  font-size: 1.25em;
}

#social {
    display: flex;
    list-style-type: none;
    justify-content: right;
    width: 100%;
}

li {
  list-style: none;
}

h1 {
    text-align: center;
    font-family: "Poiret One", sans-serif;
}

.center {
    text-align: center;
    border-radius: 15px 50px;
    background-image: linear-gradient(to bottom right, #8c52ff, #0cc0df);
    color: white;
}

.container {
  width: 1600px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  height: 100px;
  background: #333;
  box-shadow: 0px 35px 35px rgba(0, 0, 0, 0.25);
}

.header__logo {
  text-transform: uppercase;
  padding: 10px;
  margin-top: 50px;
}

.header__menu {
  display: flex;
  column-gap: 40px;
}

.header__link {
  font-size: 15px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.header__link::after {
  content: "";
  width: 0px;
  height: 2px;
  background: #8C52FF;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s ease;
}

.header__link:hover::after {
  width: 100%;
  transition: 0.3s ease;
}

.contentbox {
    border-radius: 15px;
    background: white;
    width: 80%;
    padding: 10px;
    margin: auto;
    box-shadow: 0px 35px 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    z-index: 100;
}

.image-container {
    text-align: center;
}

.image-container img {
    display: block;
    margin: auto;
}

.flex-points {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 80%;
}

.flex-item {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    text-align: center;
    flex: 1;
    border: 1px solid #000;
}

/* CONTACT FORM */

#form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 15px 50px;
    background-image: linear-gradient(to bottom right, #8c52ff, #0cc0df);
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    color: white;
}
input, textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
button {
    padding: 10px 15px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #000000;
}

/* Article Cards */


@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
* {
  box-sizing: border-box;
}
.cardcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: #f7f8fc;
  font-family: "Roboto", sans-serif;
  color: #10182f;
}

.card {
  margin: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none; 
  overflow: hidden;
  width: 300px;
  height: 600px;
}
.card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  height: 250px;
}

a {
    color: black;
}

a:link {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: 24px;
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
}
.tag-teal {
  background-color: #0cc0df;
}
.tag-purple {
  background-color: #5e76bf;
}
.tag-pink {
  background-color: #cd5b9f;
}

.card-body p {
  font-size: 14px;
  margin: 0 0 20px;
}
.user {
  display: flex;
  margin-top: auto;
}

.user img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.user-info h5 {
  margin: 0;
}
.user-info small {
  color: #545d7a;
}

/* ACCORDION PANELS */

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

body {
  font-family: Arial, sans-serif;
}

.accordion {
  display: flex;
  height: 675px;
  overflow: hidden;
}

.panel {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: flex 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
}

.panel:hover {
  flex: 4;
}

.panel h2 {
  position: absolute;
  background: #0cc0df;
  border-radius: 5px;
  bottom: 5%;
  left: 10px;
  transform-origin: left;
  font-size: 1.5rem;
  padding: 5px;
  text-transform: uppercase;
  margin: 0;
}

.panel ul {
  position: relative;
  background: #ffffff;
  border-radius: 5px;
  list-style: none;
  color: black;
  font-size: 1rem;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.panel:hover ul {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .accordion {
    flex-direction: column;
    height: auto;
  }

  .panel {
    flex: 1 1 100%;
    height: 200px;
  }

  .panel:hover {
    flex: 1 1 100%;
  }

  .panel h2 {
    position: static;
    transform: rotate(0);
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .panel ul {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .panel {
    height: 150px;
  }

  .panel h2 {
    font-size: 1rem;
  }

  .panel ul {
    font-size: 0.9rem;
  }
}

/* FOOTER */

/* start upper footer */ 

.moon {
    background-color: #333;
    color: #F5F5F5
        /*rgba(40, 167, 69, 0.5)*/
}

.moon .about {
    padding: 30px 0 0;

}


.moon .about h2 {
    margin-bottom: 20px;
}

.moon .useful-links a {
    text-decoration: none;
    color: inherit;
}

.moon h4 {
    padding: 15px 0px;
    font-size: 25px;
    color: #ffffff;
}

.moon .useful-links {
    margin-bottom: 30px;
    font-weight: 700;
}

.moon .useful-links li {
    transition: 0.1s ease-in-out
}

.moon .useful-links li:hover {
    transform: translate(2px, 0px);
    color: #777
}

.moon .useful-links ul li:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f054";
    margin-right: 5px;
    font-weight: 900;
    font-size: 12px;
    color: #777;
}


.moon .useful-links h4:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f0fb";
    margin-right: 10px;
    font-weight: 900;
    font-size: 26px;
    color: #0C0C0C;
}

.moon .contact h4:before {
    font-family: 'Font Awesome 5 Free';
    margin-right: 15px;
    font-weight: 900;
    font-size: 25px;
    color: #0C0C0C;
}


/* Horizontal Accordion Layout */
.accordion {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    border: 1px solid #ccc;
    overflow: hidden;
}

/* Individual Panels */
.accordion-item {
    flex: 1;
    transition: flex 0.5s ease;
    overflow: hidden;
    background: #333;
    color: white;
    display: flex;
    flex-direction: column;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: background 0.3s;
    background: #333;
}

.accordion-header:hover {
    background: #555;
}

/* Panel content hidden by default */
.accordion-content {
    display: none;
    padding: 20px;
    background: #f4f4f4;
    color: #333;
    height: 100%;
    overflow: auto;
}

/* Active panel expands and shows content */
.accordion-item.active {
    flex: 5; /* Expand the clicked panel */
}

.accordion-item.active .accordion-content {
    display: block;
}

/* Highlight active panel */
.accordion-item.active .accordion-header {
    background: #0cc0df;
    color: white;
}


/* start footer */ 
footer {
    height:120px;
    padding-top: 25px;
    color: #777;
    border-top:1px solid #dcd3d3;
}

footer ul li{
    display:inline-block;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer i {
    padding: 2px;
    transition: 0.9s;
}

footer .fa-facebook-square:hover {
    color: #0cc0df;
    transform: scale(0.9)
}

footer .fa-envelope-square:hover {
    color: #0cc0df;
    transform: scale(0.9)
}

footer .fa-paper-plane:hover {
    color: #0cc0df;
    transform: scale(0.9);
}

footer p {
    font-size: 14px;
    padding-top: 5px;
    margin-top:10px;
}

