* {
    box-sizing: border-box;
}

body {
    
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    padding: 20px;
    margin: 0 auto;
    max-width: 100%;
    width: 800px;
}

aside {
    padding: 10px 20px;
    width: 250px;
    border-right: 1px solid #111;
}

button {
    cursor: pointer;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #111;
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.5s ease;
}

button:hover {
    transform: scale(1.1);
}

main {
    flex: 1;
    padding: 10px 20px;
}

h2 {
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    margin: 0 0 20px;
}

h3 {
    background-color: #fff;
    border-bottom: 1px solid #111;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    margin: 20px 0 0 ;
}

.person {
    display: flex;
    justify-content: space-between;
    font-weight: 20px;
    margin-bottom: 10px;
}

/* Dark Mode */
.dark-mode{
    padding-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

p{
    margin-left: 10px;
    font-size: 20px;
    line-height: 1.5em;
}

.theme-switch{
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input{
    display: none;
}

.slider{
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before{
    position: absolute;
    content: "";
    height: 40px;
    width: 40px;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto 0;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    box-shadow: 0 0px 15px #2020203d;
    background: white url('img/night.png');
    background-repeat: no-repeat;
    background-position: center;
}

input:checked + .slider:before{
    transform: translateX(24px);
    -ms-transform: translateX(24px);
    -webkit-transform: translateX(24px);
    background: white url('img/sunny.png');
    background-repeat: no-repeat;
    background-position: center;
}

input:checked + .slider{
    background-color: #fff;
}

.slider.round{
    border-radius: 34px;
}

.slider.round:before{
    border-radius: 50%;
}