@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #5c5c5c;
}

.main{
    margin: 10% 15% auto;
}

.container{
    max-width: 1200px;
    margin: auto;
}

.main-txt h1 {
    font-size: 50px;
    padding-bottom: 40px;
}

/*dark theme toggle*/
.toggle {
    float: right;
}

.toggle-button-2 {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 50px;
    border: 3px solid #5c5c5c;
    box-sizing: content-box;
    cursor: pointer;
    transition: border-color .4s;
}

.toggle-button-2:has(:checked) {
    border-color: #e3e3e3;
}

.toggle-button-2::after {
    position: absolute;
    top: 52%;
    left: 3px;
    transform: translateY(-50%);
    width: 22.5px;
    height: 22.5px;
    border-radius: 50%;
    background-color: #5c5c5c;
    content: '';
    transition: left .4s;
}

.toggle-button-2:has(:checked)::after {
    left: 25px;
    background-color: #e3e3e3;
}

.toggle-button-2 input {
    display: none;
}

.light-theme {
    background-color: #fff;
    *{
        color: #5c5c5c;
    }
    a{
        color: #5c5c5c;
    }
}

.dark-theme {
    background-color: #333;
    *{
        color: #e3e3e3;
    }
    a{
        color: #e3e3e3;
    }
}