html {
    background: url("/img/senegal.jpg") no-repeat center center fixed;
    background-size: cover;
}

body {
    font-family: "Arial", Times, serif;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

h1 {
    font-family: FANTASY;
    color: black;
    font-size: 3em;
    padding: 0;
    margin-bottom: 12px;
}

h2 {
    /*font-family: MONOSPACE;*/
    font-size: 1.1em;
}

h3 {
    font-size: 1.4em;
    line-height: 1em;
    margin: 0 0 0 0;
}

#container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "header"
        "main"
        "footer"
}

header {
    grid-area: header;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-template-areas:
        "logo title social";
    background-color: rgba(0, 0, 0, 0.7);
}

header .logo {
    grid-area: logo;
    margin: 20px 0 0 20%;
    width: 90px;
    height: 60px;
    opacity: 0.8;
    background-image: url('/img/flag_of_senegal.svg');
    background-size: contain;
}

header .title {
    grid-area: title;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #eeeeee;
}

header .social {
  grid-area: social;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-top: 20px;
  text-align: left;
}
header .social>div>a>img {
  width: 40px;
}

main {
    grid-area: main;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
}

.summary, .bitcoin, .lightning, .gofundme, .updates {
    grid-column-start: 1;
    grid-column-end: 4;
    text-align: center;
    padding: 2em 0 2em;
    color: #eeeeee;
}

.summary p, .updates p {
    width: 500px;
    margin: 1em auto;
    color: #eeeeee;
    text-indent: 1em;
}



.gofundme {
    padding: 2em 0 2em 0;
}

.bitcoin {
    font-size: 1em;
    font-weight: 900;
    color: #eeeeee;
}

.bitcoin>.accepted {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.bitcoin>.accepted>.bitcoin-image {
    text-align: right;
    margin-right: 5em;
}
.bitcoin>.accepted>.text {
    text-align: left;
    padding-top: 1em;
}
.bitcoin>.accepted>.text>p {
    margin: 0;
}

.bitcoin>.address {
    position: relative;
    top: -77px;
    height: 75px;
    background-color: rgba(0, 0, 0, 0.9);
    display: inline-block;
    opacity: 0;
    transition: .5s ease;
    width: 100%;
    color: white;
}
.bitcoin>.address>p {
    margin-top: 25px;
}
.bitcoin>.address:hover {
    opacity: 0.9;
}

.lightning>div {
    margin: -90px auto;
}
.lightning {
    padding-bottom: 0.8em;
}

.youtube {
    grid-column-start: 1;
    grid-column-end: 4;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    color: #eeeeee;
    padding: 3em 0 3em;
}
.youtube>iframe {
    margin: 1em 1em;
}
footer {
    grid-area: footer;
    text-align: center;
    font-weight: 900;
    background-color: rgba(0, 0, 0, 0.9);
    color: #eeeeee;
    padding: 1em 0 1em;
}
footer a {
    color: cyan;
}

@media screen and (max-width: 980px) {
    header .logo {
        margin-left: 20%;
    }
    header .social>div>a>img {
      width: 30px;
    }
    header {
      grid-template-columns: 150px 1fr 150px;
  }
    header .social {
      margin-top: 30px;
    }
}

@media screen and (max-width: 700px) {
    header .title {
        margin-left: -30px;
    }
    .bitcoin>.address {
        opacity: 1;
        display: inline-block;
        top: 0px;
    }
    .lightning {
        margin-top: 60px;
    }

}

@media screen and (max-width: 580px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        margin-left: 0;
    }
    header .title {
        margin-left: -10px;
        margin-top: 10px;
    }
    header .logo {
        margin-left: 5%;
    }
    main {
        grid-template-columns: 1fr;
    }

    .gofundme, .bitcoin, .lightning, .summary {
        grid-column-start: 1;
        grid-column-end: 4;
        grid-gap: 0em;
        text-align: center;
    }

    .youtube {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    .summary p {
        width: 350px;
    }

}
