/**
 * @Author: Christopher Gonzalez <gchriswill>
 * @Date:   2018-08-11T21:44:32-05:00
 * @Email:  gchriswill@me.com
 * @Filename: index.css
 * @Last modified by:   gchriswill
 * @Last modified time: 2018-08-12T04:57:11-05:00
 */

 /* Optimize animations for better performance */
* {
    box-sizing: border-box;
}

body {

    font-family : sans-serif;
    -webkit-font-smoothing : antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
    /* Force light color scheme - prevent OS dark mode from affecting UI */
    color-scheme: light only;
    
    /* Optimize for mobile performance */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Enable hardware acceleration for animated elements */
#facebook-link-button, #youtube-link-button {

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body, main {
    position: fixed;
}

body, main, #logo-container, #logo-container1, #logo-container2, #logo-container3 {

    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

    overflow: hidden;
    background-color: white;
}

nav {

	top: 0px;
	width: 100%;
	height: 80px;
	position: fixed;
	z-index: 200;

	/* display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center; */

	background-color: rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .20);
	box-shadow: 0 0 4px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .20);
}

#nav-title {
    margin: 0;
    padding: 0;
    top: 24px;
    left: 24px;
    display: inline-block;
    position: fixed;
    font-size: 24px;
    font-weight: bold;
}

#brand-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hide default radio buttons */
#brand-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Style labels to look like the original text */
#brand-selector label {
    color: rgba(0, 0, 0, 0.70);
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

/* Selected state styling */
#brand-selector input[type="radio"]:checked + label {
    color: rgba(0, 0, 0, 0.90);
}

/* Custom underline indicator */
#brand-selector label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f44336;
    transition: width 0.3s ease;
}

/* Show underline when selected */
#brand-selector input[type="radio"]:checked + label::after {
    width: 100%;
}

/* Separator styling */
#brand-selector .separator {
    height: 32px;
    font-size: 32px;
    font-weight: 300;
    color: #f44336;
    display: inline-block;
    margin: 0 4px;
}

#facebook-link-button, #youtube-link-button, #github-link-button, #linkedin-link-button {

    z-index: 100;
    position: fixed;
    visibility: visible;
    opacity: 1;

    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;

    top: 24px;
    left: auto;
    bottom: auto;

    background-size: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    
    /* Modern button styling */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
 
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Simplified transitions - for hover, active, and focus states */
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    will-change: transform, box-shadow, opacity;
    
    /* Touch-friendly for mobile */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    
    /* Hardware acceleration */
    -webkit-transform: translateZ(0);

    /* No transform needed - keep them in place */
    transform: translateX(0) scale(1);
}

#facebook-link-button {

    background-image: url("../assets/facebook.png");
    right: 72px;
}

#youtube-link-button {

    background-image: url("../assets/youtube.png");
    right: 24px;
}

#github-link-button {

    background-image: url("../assets/github.png");
    right: 72px;
}

#linkedin-link-button {

    background-image: url("../assets/linkedin.png");
    right: 24px;
}

/* Hover animations with opacity and scale effects */
#facebook-link-button:hover, #youtube-link-button:hover, #github-link-button:hover, #linkedin-link-button:hover {

    transform: scale(1.1) translateZ(0);
    opacity: 0.85;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Active/pressed state for touch devices */
#facebook-link-button:active, #youtube-link-button:active, #github-link-button:active, #linkedin-link-button:active {

    transform: scale(0.95) translateY(1px) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.1s ease !important;
}

/* Focus states for accessibility */
#facebook-link-button:focus, #youtube-link-button:focus, #github-link-button:focus, #linkedin-link-button:focus {

    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

/* Simplified animations for always-visible buttons */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

    * {
        transition-duration: 0.01ms !important;
    }
    
    #facebook-link-button, #youtube-link-button {
        animation: none !important;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {

    #facebook-link-button, #youtube-link-button {
        top: 24px;
    }
    
    #facebook-link-button {
        right: 60px;
    }
    
    #youtube-link-button {
        right: 16px;
    }

    #nav-title {
        left: 16px;
        font-size: 18px;
    }

    #brand-selector .separator {
        font-size: 28px;
    }
}

#scene {

    position: fixed;
    width: 100%;
    height: 100%;

    /* transform: translate(-50%, -50%); */

     /* --- IGNORE --- */
    overflow: hidden;
}

#logo-container {

    z-index: 95;
    opacity: 0;
    position: relative;

    /* Logo dimensions */
    width: 100%;
    height: 100%;
    /* transform: translate(-50%, -50%); */
    /* box-shadow: inset 25px 25px 25px 25px rgba(128, 128, 128, 0.5); */
    background-origin: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(to top, transparent 80%, white), 
        linear-gradient(to bottom, transparent 70%, white), 
        linear-gradient(to left, transparent 70%, white), 
        linear-gradient(to right, transparent 70%, white),
        url("../assets/gchriswill_mwmdai.png");
}

#logo-container1 {

    z-index: 96;
    opacity: 0;
    position: relative;

    /* Logo dimensions */
    width: 100%;
    height: 100%;

    /* transform: translate(-52.5%, -52.5%); */
    /* background-blend-mode: multiply; */
    background-origin: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        background-image: linear-gradient(to top, transparent 85%, white), 
        linear-gradient(to bottom, transparent 75%, white), 
        linear-gradient(to left, transparent 75%, white), 
        linear-gradient(to right, transparent 75%, white),
        url("../assets/gchriswill_mwmdai.png");
}

#logo-container2 {

    z-index: 97;
    opacity: 0;
    position: relative;
    
    /* Logo dimensions */
    width: 100%;
    height: 100%;

    /* transform: translate(-50%, -50%); */
    /* background-blend-mode: multiply; */
    /* background-blend-mode: multiply; */
    background-origin: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
        background-image: linear-gradient(to top, transparent 90%, white), 
        linear-gradient(to bottom, transparent 80%, white), 
        linear-gradient(to left, transparent 80%, white), 
        linear-gradient(to right, transparent 80%, white),
        url("../assets/gchriswill_mwmdai.png");
}

#logo-container3 {

    z-index: 98;
    opacity: 0;
    position: relative;
    
    /* Logo dimensions */
    width: 100%;
    height: 100%;

    /* transform: translate(-47.5%, -47.5%); */
    /* background-blend-mode: multiply; */
    /* background-blend-mode: multiply; */
    background-origin: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
        background-image: linear-gradient(to top, transparent 95%, white), 
        linear-gradient(to bottom, transparent 85%, white), 
        linear-gradient(to left, transparent 85%, white), 
        linear-gradient(to right, transparent 85%, white),
        url("../assets/gchriswill_mwmdai.png");
}

/* #help-link-button{
    opacity: 0.75;
    right: 5%;
    left: auto;
}

#menu-link-button{
    right: auto;
    right: 5%;
}

#help-link-button, #menu-link-button{
    position: absolute;
    z-index: 101;
    opacity: 0.75;
    color: white;
    top: 84px;
    bottom: auto;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
} */

/* Social media buttons styling */

/* #help-link-button:hover{
    opacity: 0.5;
    cursor: help;
    transition: 0.3s;
    transform: scale(0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0, 0.25);
} */

/* #help-link-button, #menu-link-button,
#help-link-button i, #menu-link-button i, #action-link-button i{
    padding: 0;
    margin: 0;
    width: 48px;
    height: 48px;
    font-size: 48px;
} */


footer {

	text-align: center;
	bottom: 0px;
	width: 100%;
	height: 80px;
	z-index: 200;
	position: fixed;
	background-color: rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .10), 0 -4px 8px rgba(0, 0, 0, .20);
	box-shadow: 0 0 2px rgba(0, 0, 0, .10), 0 -4px 8px rgba(0, 0, 0, .20);

	/* Flexbox for vertical centering */
	display: flex;
	align-items: center;
	justify-content: center;
}

p#copyr {

	line-height: 2;
	padding: 0;
    padding-bottom: 16px;
	margin: 0;
	font-size  : 0.75em;
	color      : rgba(0, 0, 0, 0.75);
}

p#copyr a {

	color: #f44336;
	text-decoration : none;
	
	/* Add smooth transitions like nav buttons */
	transition: transform 0.3s ease, opacity 0.3s ease;
	will-change: transform, opacity;
	display: inline-block; /* Required for transform to work on inline elements */
}

/* Same hover animation as nav buttons - scale and opacity */
p#copyr a:hover {

	transform: scale(1.1);
	opacity: 0.85;
}
