diff --git a/index.html b/index.html index fc49ab1..993d974 100644 --- a/index.html +++ b/index.html @@ -44,6 +44,7 @@
  • About
  • Contact
  • Badges
  • +
  • FAQ
  • diff --git a/pages/FAQ.html b/pages/FAQ.html new file mode 100644 index 0000000..4745c9c --- /dev/null +++ b/pages/FAQ.html @@ -0,0 +1,104 @@ + + + + + + Badges + + + + +
    +
    + + +
    +
    +
    +

    Frequently Asked Questions

    + +
    + + + diff --git a/styles.css b/styles.css index 5179299..2e7e76e 100644 --- a/styles.css +++ b/styles.css @@ -584,4 +584,69 @@ footer a { } -} \ No newline at end of file +} + + +.faq{ + padding: 10px 12%; + text-align: center; + font-size: 18px; + +} + + + +.faq h2{ + font-weight: 500; + font-size: 40px; + text-align: center; +} +.accordion{ + margin: 60px auto; + width: 100%; + max-width: 750px; +} +.accordion li{ + list-style: none; + width: 100%; + padding: 5px; +} +.accordion li label{ + display: flex; + align-items: center; + padding: 20px; + font-size: 18px; + font-weight: 500; + background: linear-gradient(300deg ,#00435f,#2786cf ,rgb(157, 48, 153)); + /*background: #303030;*/ + margin-bottom: 2px; + cursor: pointer; + position: relative; +} +label::after{ + content: '+'; + font-size: 34px; + position: absolute; + right: 20px; + transition: transform 0.5s; + +} +input[type="radio"]{ + display: none; +} +.accordion .content{ + background: linear-gradient(300deg ,#00435f,#369ae6 ,rgb(164, 53, 161)); + /* background: #303030;*/ + text-align: left; + padding: 0 20px; + max-height: 0; + overflow: hidden; + transition: max-height 0.5s,padding 0.5s; +} +.accordion input[type="radio"]:checked + label + .content{ + max-height: 600px; + padding: 30px 20px; +} +.accordion input[type="radio"]:checked + label::after{ + transform: rotate(135deg); +}