/*Home Page + footer CSS*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&display=swap');

.bg {
    background-color: rgb(0, 10, 10);
    background-image: url("https://newscoop.com/wp-content/uploads/2018/11/629795-cryptocurrency-thinkstock-120417.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: soft-light;
    position: relative;
    background-size: auto;
    color: white;
    height: 100%;
    width: 100%;
    padding-bottom: 5%;
    margin-bottom: 10px;
    margin-top: 10px;
    z-index: inherit;
}

.header{
    background-color: rgb(19, 150, 150);
    color: white;
    font-size: 30px;
    font-family: 'Cinzel', serif;
    padding-top: 10px;
    z-index: 3;
}

.logo {
    margin-left: 20%;
}


.header li a {
    display: block;
    padding: 12px;
    text-decoration: none;
    font-size: 20px;
}

.header li a:hover {
    background-color:  rgb(43, 43, 221);
}

.header .menu-btn {
    display: none;
}

#wrap {
    text-align: center;
}

#portfolio-btn {
    font-size: 20px;
    padding: 20px 0;
    width: 30%;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    align-items: center;
    position: relative;
}

.w3-container {
    margin-left: 10%;
    margin-right: 10%;
}

#footer {
    text-align: center;
    font-family: 'Cinzel', serif;
}

/*Portfolio Page CSS*/

.bg-portfolio {
    background-image: url("https://www.newsbtc.com/wp-content/uploads/2019/02/shutterstock_1245388864-e1550961476485.jpg");
    background-blend-mode: saturation;
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
    margin-top: 10px;
}

.w3-select {
    margin-top: 15px;
    width: 90%;
}

#listbtn {
    height: 40px;
    background-color: red;
    color: white;
    border-radius: 10px;
}

#listbtn:hover {
    background-color: rgb(43, 43, 221);
}

button {
    background-color: red;
    color: white;
    border-radius: 10px;
}

button:hover {
    background-color: rgb(43, 43, 221);
}

.w3-modal-content {
    padding-bottom: 20px;
    border-radius: 5px;
    width: 25%;
}

.close {
    color: black;
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-color: black;
    border: 3px;
}

.close:hover {
    background-color: rgb(43, 43, 221);
}

#text {
    color: black;
}

.table1 {
    font-style: bold;
    font-size: 40px;
    margin-top: 20px;
}

/* News Page */
.bg-news {
    background-color: rgb(0, 10, 10);
    background-image: url("https://newscoop.com/wp-content/uploads/2018/11/629795-cryptocurrency-thinkstock-120417.jpg");
    background-blend-mode: soft-light;
    color: white;
    margin-top: 10px;
}

h3 {
    text-align: center;
    margin-top: 10%;
}
.searchBtn {
    width: 30%;
    border-radius: 10px;
    background-color: red;
    font-size: 20px;
}

.searchBtn:hover {
    background-color:  rgb(43, 43, 221);
}

.panel {
    margin-bottom: 5%;
    align-items: center;
    text-align: justify;
}

img {
    height: 200px;
    width: 200px;
    align-items: center;
    position: relative;
    float: left;
    padding-right: 20px;
    padding-bottom: 5%;
}

.link {
    text-decoration: underline;
    color: blue;
    margin-bottom: 10%;
    cursor: pointer;
}


/* XS */
@media (max-width: 767px) {
.logo {
    margin-left: 10px;
}

  .header .menu {
   clear: both;
   max-height: 0;
   transition:max-height .2s ease-out;
  }

  .header li {
    padding:0;
    text-align: right;
    list-style-type: none; 
}

  .header .menu-icon {      
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
  }

  .header .menu-icon .nav-icon {
    background: white;
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background .2s ease-out;
  }

  .header .menu-icon .nav-icon:before{
    background: white;
    content: "";
    display:block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: 5px;
  }

  .header .menu-icon .nav-icon:after{
    background: white;
    content: "";
    display:block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: -5px;
  }

  .header .menu-btn {
    display: none;
  }

  .header .menu-btn:checked ~ .menu{
      max-height: 240px;
  }

  .header .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
  }

  .header .menu-btn:checked ~ .menu-icon .nav-icon:before {
      transform: rotate(-45deg);
      top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    transform: rotate(45deg);
    top:0;     
}

#portfolio-btn {
    font-size: 15px;
    padding: 10px 0;
    width: 35%;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    align-items: center;
    position: relative;
}

}

/* SM */
@media (min-width: 768px) and (max-width: 991px) {
    .header ul {
        overflow: hidden;
        white-space: nowrap;
        margin-left: 25%;
        padding:0;
     }
     
     .header li {
         display: inline-block;
     }
}



/* LG */
@media (min-width: 992px) {
    .logo {
        margin-left: 10px;
    }
    .header li {
        float: left;
    }
    .header li a {
        padding-bottom: 20px 30px;
        margin-right: 20px;
        font-size: 20px;
    }

    .header ul {
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
    }

    header .menu {
        clear: none;
        float:right;
        max-height: none;
    }
}