:root {
    --background-color: #FFFEFA;
    --Tittle_color_primary: #18788B;
    --Tittle_color_primary_hover: #44a4b8;

    --NavBar_Button: #0e2c4d;
}

@font-face {
    font-family: 'Chalkboard';
    src: url('../Fonts/Chalkboard/Chalkboard-Regular.ttf') format('truetype');
} 

@font-face {
    font-family: 'lazy_dog';
    src: url('../Fonts/Lazy_Dog/lazy_dog.ttf') format('truetype');
}  

@font-face {
    font-family: 'MelonFruit';
    src: url('../Fonts/Melon_Fruit/Melon\ Fruit.otf') format('truetype');
} 

@font-face {
    font-family: 'WorkSans';
    src: url('../Fonts/WorkSans/Fonts/TTF/WorkSans-Variable.ttf') format('truetype');
} 


/* --------------------------------------------------------------------- */
.close_navbar {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  opacity: 1;
  transition: .3s ease;
  cursor: pointer;
}
.close_navbar:hover {
  opacity: 1;
}
.close_navbar:before, .close_navbar:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: var(--NavBar_Button);
}
.close_navbar:before {
  transform: rotate(45deg);
}
.close_navbar:after {
  transform: rotate(-45deg);
}


/* BACKGROUND
----------------------------------------------- */
.Background {
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100vh;
    /* background-image: url(../Images/background_Pattern.jpg); */
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.1;
}


/* NAVBAR
----------------------------------------------- */
.navbar_mobile {display: none;}
#Navbar_Buttons {display: none;}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffffeb;
    backdrop-filter: blur(3px);
    height: 90px;
    box-shadow: 0px 5px 5px 0px #00000023;
    border-bottom: 1px solid #00000023;
    position: fixed;
    width: 100%;
    z-index: 20;
}

#navbar_Title {
    display: flex;
    gap: 10px;
    margin-left: 70px;
    cursor: pointer;
    transition: .3s ease;
}

#navbar_Buttons {
    display: flex;
    gap: 30px;
    margin-right: 70px;
}

#navbar_Name {
    font-size: 27px;
    font-weight: 600;
    font-family: "Chalkboard";
    color: var(--Tittle_color_primary);

    /* background: -webkit-linear-gradient(#79bace, var(--Tittle_color_primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

    transition: .3s ease;
    margin: 0;
}

#navbar_Title:hover #navbar_Name {
    color: var(--Tittle_color_primary_hover);
}

#navbar_SubName{
    font-size: 16px;
    font-weight: 300;
    font-family: "WorkSans";
    color: #303030;
    margin: 0;
}

.navbar_button {
    border: none;
    background-color: #00000000;
    cursor: pointer;
}

.NavBarLink {
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid transparent;
    transition: border-color .3s ease, color .3s ease;
    display: inline-block;
    padding-bottom: 2px;
    background: none;
    border: none;
}

.NavBarLink p {
    font-size: 16px;
    font-family: "WorkSans";
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--NavBar_Button);
    margin: 0;
    transition: color .3s ease, transform .3s ease;
}

.NavBarLink:hover {
    border-bottom-color: var(--Tittle_color_primary);
    color: var(--Tittle_color_primary);
}

.NavBarLink:hover p {
    color: var(--Tittle_color_primary);
    transform: translateY(-1px);
}

.copy-tooltip {
    position: fixed;
    display: block;
    opacity: 0;
    visibility: hidden;
    padding: 8px 10px;
    background-color: #0e2c4d;
    color: #fff;
    font-size: 12px;
    font-family: "WorkSans";
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 100;
    transform: translate(0, 0);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* SCROLLBAR
----------------------------------------------- */

/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--Tittle_color_primary);
    border-radius: 999px;
    border: none;
}
::-webkit-scrollbar-thumb:active {
    background: var(--Tittle_color_primary);
    border-radius: 999px;
    border: none;
}


/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--Tittle_color_primary_hover);
    border: none;
}

/* LINKS
----------------------------------------------- */
.links_container {
    background-color: var(--background-color);
    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 30px 0px 15px 0px;
    /* box-shadow: 0px -10px 20px 0px #00000044; */
}

.RS_button {
    text-decoration: none;
}

#RS_icon{
    width: 40px;
    margin-right: 10px;
    margin-left: 10px;
    text-decoration: none;
    transition-duration: .5s;
    cursor: pointer;
}

#RS_icon:hover{
    opacity:1;
}

#RS_icon:hover ~ #RS_icon{
    opacity:.5;
}

.RS_div:hover #RS_icon{
    opacity:.5;
}

.RS_div:hover #RS_icon:hover{
    opacity:1;
}

#mailto{
    font-size: 16px;
    font-family: "WorkSans";
    font-weight: 600;
    color: var(--Tittle_color_primary);
    display: inline-block;
    cursor: pointer;
    transition: color .25s ease, transform .25s ease;
}

#mailto:hover {
    color: var(--Tittle_color_primary_hover);
    transform: translateY(-1px);
}

#copyright{
    font-size: 11px;
    font-family: "WorkSans";
    color: var(--Tittle_color_primary);
    margin-bottom: 0;
    padding-bottom: 10px;
    margin-top: 40px;
}

@media screen and (max-width: 1100px) {
    #navbar_Title{
        flex-direction: column;
    }
}

@media screen and (max-width: 460px) and (orientation: landscape) {
    .navbar_mobile {
        height: 72px;
    }

    #navbar_Title {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
    }

    #navbar_Name {
        font-size: 18px;
        line-height: 1;
        white-space: nowrap;
        flex-shrink: 0;
    }

    #navbar_SubName {
        font-size: 10px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    #navbar_Buttons {
        margin-right: 18px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 767px) {
    .navbar {
        display: none;
    }

    .navbar_mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffffeb;
        backdrop-filter: blur(3px);
        height: 90px;
        box-shadow: 0px 5px 5px 0px #00000023;
        border-bottom: 1px solid #00000023;
        position: fixed;
        width: 100%;
        z-index: 20;
    }

    #navbar_Title {display: block; margin-left: 22px;}
    #navbar_Name {font-size: 23px;}
    #navbar_SubName{font-size: 12px;}

    #navbar_Buttons {margin-right: 27px;}

    #Navbar_Buttons {
        position: fixed;
        z-index: 20;
        background-color: #ffffffd1;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        display: none; /* flex */
        flex-direction: column;
        backdrop-filter: blur(5px);
        gap: 20px;
    }

    .NavBarLink p {
        font-size: 32px;
    }
}

@media screen and (min-width: 461px) and (max-width: 850px) and (orientation: landscape) {
    .navbar {
        display: flex;
    }

    .navbar_mobile {
        display: none;
    }
}

@media screen and (min-width: 461px) and (max-width: 800px) {
    #navbar_Buttons {
        display: none;
    }
}

@media screen and (max-width: 460px) and (orientation: landscape) {
    .navbar_mobile {
        height: 68px;
    }

    #navbar_Title {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        margin-left: 18px;
        max-width: calc(100vw - 130px);
    }

    #navbar_Name {
        font-size: 18px;
        line-height: 1;
        white-space: nowrap;
    }

    #navbar_SubName {
        font-size: 10px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #navbar_Buttons {
        margin-right: 18px;
    }
}