* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
}

header {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
}
#herobg { 
    width: 100%;
    height: 100vh;
    background-image: url('img/unfolding.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 12vh;
    padding-left:100px;
}
.hero-text {
    text-align: left;
}
#logo {    
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 5;
    padding-right: 20px;
}
.logo {
    font-family: 'Rochester', cursive;
    font-size: 3rem;
    line-height: 2rem;
}
.logo img{
    width: 4rem;
    position: relative;
    bottom: -20px;
}
h1 {
    font-size: 6rem;
    color: #000;
    text-transform: lowercase;
    line-height: 1.15;
}

.fade-in {
    opacity: 0;
    display: block;
    transition: opacity 1.5s ease;
}

button {
    padding: 5px 20px 12px 20px;
    font-size: 1.2rem;
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 50px;
    text-transform: lowercase;
}
button:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    transition: all 0.5s ease-in-out;
}
button a {
    display: block;
    text-decoration: none;
    color: #000;
}
button:hover a {
    color: #fff;
    transition: all 0.5s ease-in-out;
}
#features {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
    min-height: 100vh;
}
.feature-intro h2{
    margin-top: 30px;
    font-size: 3rem;
    margin-bottom: 25px;
}
#features h3 {
    font-size: 1.5rem;
    line-height: 3rem;
}
#features p {
    font-size: 1.25rem;
}
.feature-columns {
    display: flex;
    justify-content: space-between;
    margin: 50px 10vw;
}

.feature-column {
    flex: 1;
    padding: 0 20px;
}
.feature {
    margin-bottom: 25px;
    text-align: left;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.arrow{
    position: relative;
    top: 2px;
    animation: pulse 2s infinite;
}
.newrelease{
    position: relative;
    top: 7px;
}
.screenshot {
    width: 90%;
    margin: 20px 0;
    border-radius: 15px;
}
.feature.policy {
    max-width: 900px; 
    margin: 0 auto;
    padding: 2.5rem;
}
.feature.policy h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#features .feature.policy p {
    font-size: initial;
}
.policylist {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.policylist li {
    margin-bottom: 0.5rem;
}
.policylist li ul {
    margin: 0.5rem 2rem;
}
footer {
    position: relative;
}
footer p {
    margin-top: 50px;
    text-align: center;
    font-size: 0.8rem;
    padding-bottom: 20px;
    color: #444;
}
.modetoggle {
    position: absolute;
    bottom: 5px;
    right: 10px;
    z-index: 1;
    cursor: pointer;
}
.lightmode_btn,
.dark-mode .darkmode_btn {
    display: none !important;
}
.dark-mode .lightmode_btn {
    display: inline !important;
}
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}  
.dark-mode .parallax {
filter: brightness(0.7);
}
.dark-mode #logo {
    color: #000;
}
.dark-mode .feature-intro .logo img {
    filter: invert(1);
}
.dark-mode .cta button a {
    display: block;
    text-decoration: none;
    color: #fff;
}
.dark-mode .cta button:hover a {
    color: #eee;
    transition: all 0.5s ease-in-out;
}
.dark-mode .cta button {
    border: 2px solid #fff;
}
.dark-mode footer p {
    color: #999;
}
@keyframes pulse {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
    100% {
        transform: translateY(0);
    }
}

@media screen and (max-width: 600px) {
    #herobg {
        padding-left: 15px;
        background-position: 45%;
        padding-top: 50vh;
    }
    h1 {
        font-size: 3rem;
        color: #000;
        text-transform: lowercase;
        line-height: 1.25;
    }
    #logo {    
        right: unset;
        left: 10px;
    }
    .feature-intro {
        padding: 0 20px;
    }
    .feature-columns {
        display: block;
    }
    #features {
        padding: 30px 8px;
    }
    #features h3 {
        font-size: 1.5rem;
        line-height: normal;
        margin-bottom: 10px;
    }
    .feature {
        border-top: 1px solid #333;
        padding-top: 20px;
    }

    .cta p {
        margin: 0 20px;
    }
}