@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

* {
    box-sizing: border-box;
 }
 

body {
    font-family: "Rubik", sans-serif;
    margin: 0;
   padding: 0;
 }  

.jumbotron {
   font-size: 20px;
   padding-top: 140px;
   padding-bottom: 40px;
   padding-right: 80px;
   padding-left: 80px;
   background-color: #474131;
   text-align: center;
   color: white;
}

header {
   display: inline;
}

.nav {
   background-color: #0a0a0a;
   padding: 1px;
   position: fixed;
   top: 0; 
   left : 0;
   right : 0;
}

.nav a {
   font-size: 18px;
   font-weight: 400;
   text-decoration: none;
   color: white; 
}

.nav a:hover {
   font-weight: bold;
}

.nav li {
   display: inline;
   list-style-type: none;
   margin-right: 20px;
}

nav {
   background-color: #0a0a0a;
   padding: 5px;
   position: sticky;
   top: 0; 
}

nav a {
   font-size: 18px;
   font-weight: 400;
   text-decoration: none;
   color: white; 
}

nav a:hover {
   font-weight: bold;
}

nav li {
   display: inline;
   list-style-type: none;
   margin-right: 20px;
}

main #content {
    font-size: 16px;
    padding: 5px;
    background-color: #2b2b28;
    color: white;
   
}

#content {
    float: left;
    width: 75%;
}

h2 {
    text-align: center;
}

p {
    text-align: justify;
}

.featured-image {
    width: 50%;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    align-self : center;

 }
 
 .card {
    box-shadow: 0 8px 8px 0 rgba(247, 247, 245, 0.2);
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
 }

 .display {
   color: white;
   width: 100%;
   padding: 10px 20px;
   background-color: #333333;
   border: 1px solid black;
   font-size: 2em;
}

.flex-container-column {
    display: flex;
    flex-direction: column;
  
    /* properti pendukung */
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
 }

.flex-container-row {
    display: flex;
 }

.button {
    flex-basis: 25%;
   
    /* properti pendukung */
    font-size: 1.5em;
    text-align: center;
    padding: 40px;
    border: 1px solid black;
    background: -webkit-linear-gradient(top, #474131, #ddd);
    cursor: pointer;
 }

.button:hover {
   font-weight: bold;
}

.double {
    flex-basis: 50%;
 }

 .operator,
 .negative,
 .equals {
    background: orange;
 }

.cards {
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
   border-radius: 5px;
   padding: 30px;
   margin-top: 20px;
}

.history {
   width: 80%;
   margin: 30px auto 0 auto;
   overflow: scroll;
}

table {
   border-collapse: collapse;
   border-spacing: 0;
   width: 100%;
   border: 1px solid #ddd;
}

th,
td {
   text-align: center;
   padding: 16px;
}

th {
   background-color: orange;
   color: white;
}
 
tr:nth-child(even) {
   background-color: #2b2b28;
}

 aside{ 
    font-size: 16px;
    float: right;
    width: 25%;
    height: 100%;
    padding-left: 20px;
    background-color: #2b2b28;
    color: white;
 }

 h3 {
    text-align: center;
 }

 .profile header {
    text-align: center;
 }
 
 .profile img {
    width: 200px;
 }

 h5 {
   text-align: center;
}

 footer {
    text-align: center;
    float: left;
    width: 100%; 
    padding: 20px;
    color: white;
    background-color: #474131;
    font-weight: bold;
 }

 @media screen and (max-width: 1000px) {
    #content,
    aside {
        width: 100%;
        padding: 0;
    }
 }

 @media screen and (max-width: 513px) {
   .button {
       padding: 10px;
   }

}

