/* font */

@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');



/* === Reset some default styles === */
*{
    padding : 0;
    margin: 0;
}

body {
    background-color: white;
    font-family: "Karla", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

:root{
    --bg--color: rgb(225, 225, 225);
    --primary-color: black;
    --second-color: #196fe0;
    --hover-bg-color: #efefef;
    --shadow-1: 0px 2px 10px rgb(0, 0, 0, 0.3);
    --shadow-2: 0px 2px 10px rgba(26, 112, 224,0.4);
}

/* Remove text decoration(like undelines from links) */
a{
    text-decoration: none;
}
/* Remove dots */
ul{
    list-style-type: none;
}

/* Navigation var */
nav{
    display: flex;
    align-items: center;
    padding-inline: 3vw;
    height: 50px;
    padding-right: 80px;
}

/* Logo */
.logo{
    position: fixed;
    top: 20px;
    left: 40px; /* distance from left edge */
    transform: translateY(-50%) ;/* rotate vertical */
    transform-origin: left top;
    z-index: 1000;
    font-family: "Alata", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-size: 32px;
    display: flex;
    align-items: center;
    letter-spacing: 3px;
    opacity: 0.8;
    pointer-events: none; /* don’t block clicks */
}

.logo span{
    padding: 0 10px;
    font-size: 20px;
    margin-top: -2.5px;
}

.nav-main-menu{
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
    margin-left: auto;
}

.hideOnMobile{
    display:flex;
    margin-top:0px;
    margin-inline: 5px;
    transition: .3s;
    justify-content: flex-end;
    height: 100%;
    padding: 0 25px;
    text-decoration: none;
    align-items: center;
    color: black;
    font-size: 20px;
}

.hideOnMobile:hover{
    color: var(--text-color, #6F8FAF);
}

.hideOnMobile span{
    margin-right: 5px;
}

.sidebar{
    position: fixed;
    top: 0;
    right:0;
    row-gap: 20px;
    height: 100vh; /* Full viewport height */
    width: 100vw;  /* Full viewport width */
    background-color:  rgba(255,255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none ; 
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    z-index: 7000;
}

.sidebar a{
    display: block;              /* Make links fill available width */
    text-align: center;          /* Center the text horizontally */
    color: black;
    font-size: 20px;
    width: 100%;
    padding: 12px 0;             /* Add a bit of spacing */
    text-decoration: none;
}

.sidebar a:hover{
    color: var(--text-color, #6F8FAF)
}

.text {
    color: black;
    position: absolute;
    top:10%;
    left:10%;
    text-align: start;
    padding:0px;
    white-space: nowrap;
    z-index: 1000;
}

.text .title{
    font-size: 30px;
    margin-top:30px;
}

.text .content{
    font-size: 15px;
}

.menubutton{
    display: none;
}


@media(max-width: 1024px){
    .hideOnMobile{
        display: none;
    }
   
    .menubutton{
        position: absolute;
        display: block;
        right: 0px;
    }

    .text {
        left:5%;
    }
    .text .title{font-size: 20px;}
    .text .content{font-size: 10px;}
}

@media(max-width: 434px){
    .logo{
        left:15px;
        font-size: 20px;
    }
    .logo span{
        padding: 0 5px;
        font-size: 10px;
    }
    
    .sidebar{
        width: 100%;
        height: 100%;
    }

    .sidebar a{
        left: 50%;
    }

    .text .title{font-size: 15px;}
    .text .content{font-size: 10px;}
}