/* COLORS
 * 
*/

/* MARGINS */
html, body {
    margin:0;
    overflow-x:hidden;
}

.nav-container {
    margin-top:10px;
}

/* BORDERS & BGS*/
nav, .main-content {
    background: #ffffff;
}

/* MODALS TOOLTIPS ETC */
.tooltip {
    opacity:0;
    display:block;
    text-align:center;
    position:relative;
    bottom:35px;
    height:0;
    width:100%;
    transition:0.3s;
}

.tt-text {
    display:inline-block;
    max-width:250px;
    margin-left:-125px;
    margin-right:-125px;
    padding:5px;
    font:12px 'Pixelify Sans', 'Arial';
    line-height:12px;
    color:#bbffff;
    background: #0080ff;
    position:relative;
    z-index:5;
    transition:0.3s;
}

.tooltip::after {
    content:"";
    display:block;
    margin:auto;
    width:0;
    height:0;
    border-top: 10px solid #0080ff;
    border-right:8px solid transparent;
    border-left: 8px solid transparent;
    position:relative;
    z-index:5;
    transition:0.3s;
}

.has-tt:hover .tooltip {
    opacity:100;
    transition:0.3s;
}

/* HEADER */
#bg {
    background: url(https://f2.toyhou.se/file/f2-toyhou-se/images/123232483_DpT7OmOgcVsqEnZ.png) repeat-y center top fixed;
    background-size: cover;
    width:100vw;
    height:200vh;
    position:absolute;
    z-index:-5;
    pointer-events:none;
}

.container {
    max-width:800px;
    padding-left: 10px;
    padding-right: 10px;
    margin:auto;
}

.logo {
    margin:auto;
    background: url(https://mysaline.neocities.org/imgs/logodraft.png) no-repeat center local;
    background-size:contain;
    max-width:400px;
    height:200px;
}

.nav-container {
    height:40px;
    display:flex;
    justify-content:center;
}

.switch-container {
    width:60px;
    height:30px;
    position:relative;
    z-index:2;
}

.s-c-2 {
    display:flexbox;
    align-content:center;
    border-radius: 0 0 30% 30%;
    padding:5px;
    height:100%;
}

.switch {
    display:flex;
    aspect-ratio:2/1;
    background: #004dcd;
    border-radius:100px;
    padding:2px;
    border:2px solid #004dcd;
    box-shadow:
        inset 0 0 1px #004dcd,
        inset 1px 1px #0080ff,
        inset -1px -1px #000080,
        -1px -1px #0080ff,
        1px -1px #000080,
        1px 1px #000080,
        -1px 1px #0080ff,
        2px 2px 1px #00008066,
        5px 5px 5px #00008066;
    transition:0.3s;
    cursor:pointer;
}

.switch-input {
    height:0;
    width:0;
    opacity:0;
    margin:0;
    transition:0.3s;
}

.slider {
    width:50%;
    border-radius:100px;
    border:1px solid #00008066;
    background: conic-gradient(#ffffff, #bbffff, #3aaee3, #ffffff, #bbffff, #3aaee3, #ffffff);
    box-shadow:3px 3px 3px #000080;
    transition: 0.3s;
}

.switch-input:checked ~ .slider {
    border: 1px solid #ffffff;
    outline:1px solid #ff5aa5;
    box-shadow:
        0 0 10px #ff5aa5,
        0 0 5px #ff5aa5,
        0 0 5px #ff5aa5,
        0 0 3px #ff5aa5;
    transition: 0.3s;
}

.switch-input:checked {
    width:50%;
    transition:0.3s;
}

nav {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    padding:8px 1% 5px 2%;
    width:85%;
    height:30px;
    border-radius:20px 20px 0 0;
    box-shadow:
        inset 0 2px #00008066,
        -20px -20px 20px #00008066,
        -10px -5px 5px #00008066,
        10px -5px 5px #ffffff66;
    position:relative;
}

.btn {
    display:inline-block;
    padding:0.4%;
    margin: 0 1% 1% 0;
    font-family:'Russo One', 'Verdana';
    text-transform:uppercase;
    text-align:center;
    text-decoration:none;
    font-size:clamp(10px, 1.7vw, 16px);
    line-height:clamp(10px, 1.7vw, 16px);
    color: #ffffff;
    overflow-x:hidden;
    overflow-y:visible;
    z-index:3;
    cursor:pointer;
}

.btn:nth-child(1) {background:#5ffaa5;}
.btn:nth-child(2) {background:#22daca;}
.btn:nth-child(3) {background:#3aaee3;}
.btn:nth-child(4) {background:#778ee8;}
.btn:nth-child(5) {background:#966ddd;}
.btn:nth-child(6) {background:#cc66c6;}
.btn:nth-child(7) {background:#ff5aa5;}

@media only screen and (min-width:481px) {
    #home-btn {width:7.5%;}
    #about-btn {width:8.5%;}
    #resources-btn {width:15%}
    #bliss-btn {width:12.5%;}
    #portfolio-btn {width:16.5%;}
    #webcomics-btn {width:17.5%;}
    #shop-btn {width:9%;}
}

@media only screen and (min-width:1px) and (max-width:480px) {
    #home-btn {width:15%;}
    #about-btn {width:18%;}
    #resources-btn {width:29%;}
    #bliss-btn {width:25%;}
    #portfolio-btn {width:34%;}
    #webcomics-btn {width:35%;}
    #shop-btn {width:21%;}
    .dropdown {height:35%}
}

.dropdown {
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-around;
}

.dd-toggle {
    margin-right:3%;
    font-family:'Pixelify Sans';
    color:#ffffff;
    cursor:pointer;
}

.dd-toggle-input {
    position:absolute;
    width:0;
    height:0;
    opacity:0;
}

.carat {
    display:inline-block;
    transition:0.3s;
}

.dd-toggle-input:checked ~ .carat {
    transform:rotate(90deg);
    transition:0.3s;
}

.dropdown a {
    text-decoration:none;
    color:#ffffff
    
}

.dd-menu {
    position:absolute;
    margin:12px -2px 0 -2px;
    width:inherit;
    font:95% 'Balsamiq Sans', 'Arial';
    line-height:95%;
    text-transform:none;
    text-align:left;
    color:#ffffff;
    background:inherit;
    overflow:hidden;
    transition:0.3s;
}

#shop-btn .dd-menu {
    width:auto;
}

.dd-item {
    margin-top:-300px;
    display:block;
    padding:4%;
    text-decoration:none;
    transition:0.3s;
}

.open ~ .dd-menu .dd-item {
    margin-top:0;
    transition:0.3s;
}

.dd-item:hover {
    background:#00008066;
}

.main-content {
    border:0;
    border-radius:5%;
    width:100%;
    height:500px;
    box-shadow:
        inset 2px 0 #00008066,
        inset -2px 0 #0080ff66,
        inset 0 -2px #0080ff66,
        -20px -20px 20px #00008066,
        -5px -5px 5px #00008066,
        20px 20px 20px #ffffff66,
        5px 5px 5px #ffffff66;
}