/* Fonts imports */
@font-face {
    font-family: "CaviarDreams";
    src: url("fonts/CaviarDreams.ttf");
}
@font-face {
   font-family: "CaviarDreams_Bold";
   src: url("fonts/CaviarDreams_Bold.ttf");
}

ul, li, a {
    text-decoration: none;
    list-style-type: none;
}
p {
    font-weight: 300;
}

.hidden { display: none; }

/* BACKGROUND VIDEO AND LAYOVERS*/
#video-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
  }
  
#video-bg > video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Headers for most content */
h1 {
    font-family: "CaviarDreams_Bold";
    font-size: 3em;
    color: white;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    text-shadow: 2px 4px 19px #000;
}

/* Center the content */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* Start Page || Rewrite of certain bootstrap content */
#start .btn_enter { 
    color: #fff;
    margin: 40px auto;
    mix-blend-mode: screen;
    background-color: #000;
    padding: 20px;
    font-size: 6vh;

    display: block;
    top: 30px;
    position: relative;
    max-width: 50%;

    text-decoration: none;
    border-radius: 30px;
    box-shadow:
                0 0 15px 10px #fff,  /* inner white */
                0 0 15px 20px #f0f, /* middle magenta */
                0 0 30px 30px #0ff; /* outer cyan */
    transition: box-shadow 3s ease-out;
    animation-name: gloweffect;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
#start .btn_enter:hover {
    box-shadow: inset 10px 10px 25px 10px #c192ff,
                0 0 60px 20px #c192ff,  /* inner white */
                0 0 120px 120px rgb(98, 0, 155), /* middle magenta */
                0 0 140px 180px rgb(0, 195, 255); /* outer cyan */
    animation-name: none;
    border: 1px solid #8f00bb;
    font-weight: bold
}

#start .main_nav {
    display: none;
    height: 10px;
    text-align: center;
    justify-self: center;
    justify-content: center;

    ul {
        position: absolute;
        display: flex;
        margin-left: -45px;

        a {
            color: #fff;
            padding: 5px 10px;
            margin: 3px;
            background: rgba(0,0,0, .7);
            font-size: 2.4vh;
            border-radius: 5px;
            border: 1px solid #00b493;
        }
        a:hover {
            background: #640083;
            box-shadow:
                0 0 20px 5px rgb(106, 0, 177), /* middle magenta */
                0 0 30px 10px #0ff; /* outer cyan */
        }
    }
}

@media (max-width: 900px) {
    #start .main_nav {
        ul a {
            font-size: 1.7vh;
        }
        /* ul{ left: -20px; } */
    }
}

/* Start button animation */
@keyframes gloweffect {
    0% {
        transform: rotateX('angle');
        box-shadow:
                0 0 15px 10px #fff,  /* inner white */
                0 0 15px 20px #f0f, /* middle magenta */
                0 0 30px 30px #0ff; /* outer cyan */
    }
    30% {
        box-shadow:
                20px 20px 30px 5px #000000,  /* inner white */
                20px 20px 30px 10px rgb(255, 0, 149), /* middle magenta */
                20px 20px 60px 40px rgb(0, 54, 202); /* outer cyan */
    }
    60% {
        box-shadow:
                -20px -20px 30px 5px #000000,  /* inner white */
                -20px -20px 30px 10px rgb(255, 217, 0), /* middle magenta */
                -20px -20px 60px 40px rgb(0, 255, 136); /* outer cyan */
    }
    100% {
        box-shadow:
                0 0 15px 10px #fff,  /* inner white */
                0 0 15px 20px #f0f, /* middle magenta */
                0 0 30px 30px #0ff; /* outer cyan */
    }
}

/* Start Page Animation */
.animateSmall_start {  background: rgba(0, 0, 0, 0.4); transition: all 1s ease-in-out; }
.animateSmall_start .center { min-height: 26vh; transition: all 1s ease-in-out; }
.animateSmall_start .display-4 { font-size: 2.5rem; transition: all 1s ease-in-out; }
.animateSmall_start .lead { font-size: 1rem; transition: all 1s ease-in-out; }
.animateSmall_start a { display: none !important; transition: all 1s ease-in-out; }
.animateSmall_start .main_nav { display: flex !important; transition: all 1s ease-in-out; }
.animateSmall_start .main_nav a { display: inline-flex !important; transition: all 1s ease-in-out; }


/* Intro Page */
#intro {
    color: #fff;
    margin-top: 20px;
    img {
        width: 80%;
        justify-content: center;
        margin: 10px 30px;
    }
    .text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-self: center;
    }
    .text p {
        margin: 10px;
        background-color: #000000ab;
        padding: 20px;
        border-radius: 10px;
    }
}


/* Home Page Content / Links */
#home {display: none; }
#home .center { min-height: 80vh; }
#home ul {
    list-style-type: none;
    li {
        text-decoration: none;
        a {
            display: flex;   
            border-radius: 5px;
            text-decoration: none;
            color: #333;
            margin: 10px;
            mix-blend-mode: overlay;
            background-color: #000;
            padding: 10px 20px;

            h2 { font-size: 6.5vh; color: #fff }
        }
        
        a:hover{
            mix-blend-mode: normal;
            box-shadow:
                0 0 20px 10px #fff,  /* inner white */
                0 0 60px 20px #f0f, /* middle magenta */
                0 0 90px 30px #0ff; /* outer cyan */
                    }
    }
}

/* The gallery and the way the images are layed out for each gallery */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-top: 40px;

    h2 {
        font-family: "CaviarDreams_Bold";
        font-size: 4vh;
        color: white;
        text-align: center;
        text-shadow: 2px 4px 19px #000;
    }
    
    img {
        margin: 10px;
        justify-content: space-between;
        text-align: justify;
        cursor: pointer;
        filter: grayscale(100%);
        filter: blur(0px);
    }
    img:hover {
        filter: grayscale(0%);
    }

    img:not(:hover) {
        filter: grayscale(100%);
    }

    .modal {
        display: none;
        position: fixed;
        top: 10%;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;

        img {
            margin: auto;
            width: 60%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.8);
            filter: grayscale(0%);
        }
        #caption {
            position: absolute;
            top: 5px;
            left: 21%;
            color: white;
            font-size: 2vh;
            font-family: "CaviarDreams_Bold";
            text-shadow: 2px 2px 5px #000;
        }
    }
}

#gallery > div { display: none; }

@media (max-width: 900px) {
    #gallery .modal {
        top: 20%;
        img {
            width: 100%;
        }
     }
}

/* --- ABOUT SECTION --- */
#about { display: none; }
#about #content {
    max-width: 100vh;
    height: 100vh;
    background: url('../images/about_profile_photo.png') center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

#about #content .information{
    display: flex;
    flex-direction: column;
    position: relative;
    top: 350px;
    color: #fff;
    padding: 25px;
    background: #0358c185;
    margin: 0 16px;
    border-radius: 5px;
}

/* --- CONTACT SECTION --- */
#contact { display: none; }
#contact .content {
    max-width: 100vh;
    margin: 40px auto;
    color: #fff;
    padding: 40px 20px;
    background: rgba(0,0,0,.4);
    border-radius: 10px;
}
#contact .links {
    margin: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;

    a {
        color: #ccc;
        width: 7.5vh;
        margin: 0 15px;

        svg {
            width: 100%;
            height: 100%;
        }
    }
    a:hover { 
        color: #fff;
        .bi-facebook { color: #0060ce; }
        .bi-instagram { background:linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); border-radius: 10px; padding: 2px; }
        .bi-youtube { color: #ce0000; }
    }
}
@media (max-width: 900px) {
    #contact .content {
        margin: 40px 20px;
     }
}

/* --- SERVICES PAGE --- */

#services {
    color: #fff;
    display: none;

    ul { margin: 15px; }
    .s_tabs li {
        display: inline-flex;
        border-bottom: 4px solid #00b493;
        margin:0; 
        
        a{
            padding: 5px 10px;
            margin: 3px 3px 0;
            background: rgba(0,0,0, .7);
            font-size: 2vh;
            border-radius: 5px 5px 0 0;
            border: 2px solid #00b493;
            border-bottom: 0;
            color: #ccc;
        }
        a:hover, .active {
            background: #640083;
            box-shadow:
                0 0 20px 5px rgb(106, 0, 177), /* middle magenta */
                0 0 30px 10px #0ff; /* outer cyan */
        }
    }

    .center { min-height: 0; margin-top: 70px;  
        .s_panel .col {
            padding: 10px; 
            margin: 10px;
            background:rgba(98, 0, 155, .7);
            border-radius: 10px;
            text-align: center;
        }
        /* hover effects */
        .s_panel .col:hover { box-shadow: 0 0 30px 10px #ffffff; }
        .s_panel .col:hover h4 { color: #ccc; }
        
        .s_panel:nth-child(even) .col{ background:rgba(0, 62, 155, 0.7); }        
        svg {
            width: 20vh;
            height: 18vh;
        }
        .text {
            margin: 10px;
            background-color: #000000ab;
            padding: 20px;
            border-radius: 10px;
            text-align: left;
        }
        .tab_content { 
            text-align: left; 
            margin-bottom: 20px; 

            .bg_dark{background: #000000ab; border-radius: 5px; padding: 10px; }            
            li {
                padding:3px;
                margin: 2px;
                font-weight: 300;
            }
            a {
                margin: 5px 30px;
                padding: 5px 10px;
                background: #640083;
                color: #fff;
                font-size: 2.5vh;
                width: auto;
                display: flex;
                border: 1px solid #9300c0;
            }
            a:hover {
                background: #350046;
            }
        }
        h4 { font-size: 2vh; color:#c300ff; text-shadow: 1px 1px 5px #000; }
        .s_panel:nth-child(even) h4{ color: rgb(0, 102, 255); }
        
    }
} 

@media (max-width: 900px) {
    #services .center {
        margin: 10px;
     }
}
