Projects / Bakery Website / CSS / FAQ.css
FAQ.css
Raw
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*{
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}
/*------------------------ everything header ------------------------*/
header{
  background-color: #cda63c; /*#272727*/
  position: sticky;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  height: 85px;
  width: 100%;
  margin-bottom: 80px;
}
#logo-image{
  width: auto;
  height: 70px;
  margin-top: 6.5px;
  transform: translateX(-30px);
}
.navMenu a {
  color: black; /* changes nav menu default font color */
  text-decoration: none;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  width: 130px;
  -webkit-transition: all 0.3s ease-in-out; /*to make white color ease in when hovered*/
  transition: all 0.3s ease-in-out;
  transform: translateY(-25px);
}
.navMenu a:hover {
  color: white; /* #fddb3a */
} 
/*------------------------ everything body ------------------------*/
body{
  background: white;
  text-align: center;
 
}
ul,ol{
  text-align: left;
  margin-right: 220px;
  margin-left: 220px;
}

/*------------------------  body gallery ------------------------*/
.wholeGallery{
  margin-left: 50px;
  margin-right: 50px;
}

.img{
  height: 250px;
  width: auto;
  opacity: 1;
  padding: 5px;
}
h1{
  font-size: xxx-large;
}
/*------------------------ everything footer ------------------------*/
footer{
  display: flex;
  background-color: #cda63c; /*#272727*/
  font-family: "Montserrat", sans-serif;
  position: static;
  text-align: center;
  height: 150px;
  width: 100%;
  bottom: 0;
  margin-top: 80px;
  align-items: center;
  justify-content:center;
}
a{
  text-decoration: none;
  color: black;
}
iframe{
  width: 100%;
  height: 300px;
}


/*------------------------  stely of faq ------------------------*/
.link:visited {color: blue;}

body{
    font-family: 'Work Sans', sans-serif;
}
.faq-heading{
    border-bottom: #777;
    padding: 20px 60px;
}
.faq-container{
display: flex;
justify-content: center;
flex-direction: column;
}
.hr-line{
  width: 60%;
  margin: auto;
  
}
/* Style the buttons that are used to open and close the faq-page body */
.faq-page {
    /* background-color: #eee; */
    color: #444;
    cursor: pointer;
    padding: 30px 20px;
    width: 70%;
    border: none;
    outline: none;
    transition: 0.4s;
    margin: auto;
}
.faq-body{
    margin: auto;
    /* text-align: center; */
   width: 50%; 
   padding: auto;
   
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.faq-page:hover {
    background-color: #F9F9F9;
}
/* Style the faq-page panel. Note: hidden by default */
.faq-body {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}
.faq-page:after {
    content: '\02795';
    /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}
.active:after {
    content: "\2796";
    /* Unicode character for "minus" sign (-) */
}