/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans';
}
article { 
    max-width: 870px; 
    height: 1000px; 
    margin: 0 auto; 
    display: block;
    font-family: 'Open Sans';
    font-size: 1.1em; 
    color: #2f2f2f;
    z-index: 9999;
	font-weight: 300;
}

article p {
    width: 550px;
}
.don-logo-wrapper {
    position: fixed;
    top: 3%;
    left: 5%;
    width: 90%;
    z-index: 1000;
    overflow: hidden;
    text-align: right;
}

.logo {
    position: relative;
    background: url(../images/don-logo.png) no-repeat;
    background-position: right;
    height: 69px;
    text-align: right;
    margin-right:10px;

}
.left-logo-eye {
    position: absolute;
    width: 18px;
    height: 20px;
    right: 212px;
    top: 30px;
}
.right-logo-eye {
    position: absolute;
    width: 18px;
    height: 20px;
    right: 173px;
    top: 30px;
}
.pupil {
    width: 10px;
    height: 10px;
    background: #263500;
    border-radius: 10px;
    position: relative;
}


#home-info-content, #scene_2-info-content, #scene_3-info-content {
    position: fixed;
    z-index: 999;
    left: 14%;  
}
#home-info-content{top: 0;}
#scene_2-info-content article, #scene_3-info-content article {
    color: #FFF;
}

#page-slide-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#slides {
    width: 200%;
    height: 200%;
    position: fixed;
    top: 0;
    left: 0;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
}

/*********************
    BACKGROUND IMAGES
**********************/
#home {
    background: #dbdbdb url('../images/scene_1-bg.png') no-repeat center bottom;
    background-size: contain;
}

#back-end {
    background: #62a559 url('../images/scene_3-bg.png') no-repeat center bottom;
    background-size: contain;
    -ms-transform: translate(0%,100%); /* IE 9 */
    -webkit-transform: translate(0%,100%); /* Chrome, Safari, Opera */
    transform: translate(0%,100%);    
 
    /*transform: translate(100%, 0);   */
}

#front-end {
    background: #7a654c url('../images/scene_2-bg.png') no-repeat center bottom;
    background-size: contain;
    -ms-transform: translate(0%, 200%); /* IE 9 */
    -webkit-transform: translate(0%, 200%); /* Chrome, Safari, Opera */
    transform: translate(0%, 200%);  

}

#party {
    background: #40537f url('../images/scene_4-bg.png') no-repeat center bottom;
    background-size: contain;
    -ms-transform: translate(0%, 300%); /* IE 9 */
    -webkit-transform: translate(0%, 300%); /* Chrome, Safari, Opera */
    transform: translate(0%, 300%);   
    /*transform: translate(100%, 100%);   */
}

#scene-2.visible {
    opacity: 1;
}
/******HEAD********/
#don-head-container {
    position: relative;
    top: 0;
    left: 50%;
    margin-left: -545px;
    width: 1000px;
    height: 1000px;
    z-index: 1000;
    overflow: hidden;

}
.head {
    position: fixed;
    bottom: -595px;
    height: 1000px;
    width: 300px;
    background: url('../images/don.png') no-repeat;
    background-size: 100%;
    left: 19%;

}
.shades_1, .shades_2, .shades_3, .shades_4 {
    position: absolute;
    margin: 0 auto;
    left: 9%;
    top: 186px;
    width: 244px;
    height: 95px;      
}
.shades_1 {
    background: url('../images/shades_1.png') no-repeat;
    background-size: 100%;    
}
.shades_2 {
    background: url('../images/shades_3.png') no-repeat;
    background-size: 100%;    
}
.shades_3 {
    background: url('../images/shades_2.png') no-repeat;
    background-size: 100%;    
}
.shades_4 {
    background: url('../images/shades_4.png') no-repeat;
    background-size: 100%;    
}

.tip-pc-icon {
    position: fixed;
    left: 6%;
    background: url('../images/tip-pc-icon.png') no-repeat;
    background-size: 100%;
    width: 150px;
    height: 170px;
    bottom: 255px;
    z-index: 10000;   

}
.tip-info-icon {
    position: fixed;
    left: 44%;
    background: url('../images/tip-info-icon.png') no-repeat;
    background-size: 100%;
    width: 60px;
    height: 135px;
    bottom: 290px;  
}
.tip-settings-info-icon {
    position: fixed;
    left: 44%;
    background: url('../images/tip-settings-info-icon.png') no-repeat;
    background-size: 100%;
    width: 100px;
    height: 135px;
    bottom: 150px;  
}

/*****SCENE 3 TIP*****/
.tip-settings-info2-icon {
    position: fixed;
    left: 17%;
    background: url('../images/tip-settings-info2-icon.png') no-repeat;
    background-size: 100%;
    width: 90px;
    height: 100px;
    bottom: 400px;   
}
.tip-pc2-icon {
    position: fixed;
    left: 26%;
    background: url('../images/tip-pc2-icon.png') no-repeat;
    background-size: 100%;
    width: 130px;
    height: 150px;
    bottom: 440px;   
}
.tip-search-icon {
    position: fixed;
    left: 40%;
    background: url('../images/tip-search-icon.png') no-repeat;
    background-size: 100%;
    width: 75px;
    height: 90px;
    bottom: 370px;     
}


/******end HEAD********/
/***SCENE 2****/
.laptop {
    position: fixed;
    bottom: 0;
    left: 14%;
    background: url('../images/laptop.png') no-repeat;
    background-size: 100%;
    width: 430px;
    height: 95px;
    z-index: 10001;
}


/*******SIDEBAR**********/
div#sidebar-helper {
    position: fixed;
    right: 0;
    margin-right:70px;
    width: 320px;
    height: 1000px;
    top: 15%;
    text-align: center;
    z-index: 11111;
}

.scoreboard {
    background: #535353;    
    width: 97%;
    margin: 0 auto 10px;
    height: 40px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 8px;
    text-transform: uppercase;
    color: #FFF;
    font-size: 1.5em;
}
.nav-box {
    overflow: hidden;
    margin-bottom: 10px;
    clear:  both;
}
.nav-box ul {
    margin: 0;
    padding: 0;
}
.nav-box ul li {
    list-style: none;
    float: left;
    padding: 5px;
}

.home, .back-end, .front-end, .party, .scene_2-skill-percentage {
    width: 150px;
    height: 150px;
    display: block;
}


.home {
    background: url('../images/nav-helper-box_1.png') no-repeat center center;
    background-size: cover; 
    cursor: pointer;
}
.back-end {
    background: url('../images/nav-helper-box_3.png') no-repeat center center;
    background-size: cover; 
    cursor: pointer;
}
.front-end {
    background: url('../images/nav-helper-box_2.png') no-repeat center center;
    background-size: cover; 
    cursor: pointer;
}
.party {
    background: url('../images/nav-helper-box_4.png') no-repeat center center;
    background-size: cover; 
    cursor: pointer;
}

/******SKILLS********/
.percent {
    font-size: 3em;
    font-weight: bold;
    color: #FFF;
}
.skills-wrapper {
    background-color: #43382a;
    height: 30%;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    border-radius: 10px;
}


#html-skill, 
#css-skill,
#java-skill,
#jq-skill,
#csharp-skill,
#ms-sql-skill,
#php-skill,
#mysql-skill{
    height: 100%;
    height: 45px;
    background-color: #43382a;
    display: block;
    font-size: 1.6em;
    color: #43382a;
    
    width: 140px;
}
#html-skill div, 
#css-skill div,
#java-skill div,
#jq-skill div,
#csharp-skill div,
#ms-sql-skill div,
#php-skill div,
#mysql-skill div {
    height: 100%;
    color: #43382a;
    text-align: right;
    line-height: 45px;
    width: 0; 
    padding-right: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#html-skill div { background-color: #e49c48;}  
#css-skill div { background-color: #e4d348; }
#java-skill div { background-color: #a4e448;}
#jq-skill div { background-color: #f57c56;}
#csharp-skill div { background-color: #e49c48; color: #FFF; }
#ms-sql-skill div { background-color: #e4d348; color: #FFF; }
#php-skill div { background-color: #a4e448; color: #FFF; }
#mysql-skill div { background-color: #f57c56; color: #FFF; }


/*.hidden {
    opacity: 0;
}
.visible {
    opacity: 1;
}*/
/*****END SKILLS****/
.email-add, .phone-number, .fb-account {
    display: table;
    background: #535353;    
    width: 97%;
    margin: 0 auto 10px;
    height: 35px;
    font-size: 1.2em;
    text-align: left;    
    border-radius: 8px;
    
}
.email-add span , .phone-number span, .fb-account span {
    display: table-cell;
    vertical-align: middle;
}
.email-add span a, .phone-number span a, .fb-account span a {
    color: #FFF;
    text-decoration: none;
}
span.email-icon {
    background: url('../images/email-address-icon.png') no-repeat center center;
    background-size: 20px;
    width: 50px;
}
span.mobile-icon {
    background: url('../images/mobile-icon.png') no-repeat center center;
    background-size: 17px;
    width: 50px;
}
span.fb-icon {
    background: url('../images/facebook-icon.png') no-repeat center center;
    background-size: 13px;
    width: 50px;
}
span.label {
    padding-left: 15px;
}



/*****SCENE 4*******/
.strobe-light {
    position: fixed;
    left: 57%;
    background: url('../images/strobe-light.png') no-repeat;
    background-size: 100%;
    width: 70px;
    height: 750px;
    z-index: 999;
}

/******************
    HIDE MOBILE PAGE
*******************/
#mobile-page {display: none;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 1280px) {
    .tip-pc2-icon {
        width: 100px;
        height: 150px;
    }
    .tip-search-icon {
        left: 42%;
    }
    .laptop {
        left: 13%;
    }
}

@media only screen and (min-width: 1395px) {
    .strobe-light {
        height: 1000px;
    }
}
@media only screen and (min-width: 1685px) {
    .strobe-light {
        width: 85px;
        height: 1000px;
    }
    .laptop {
        left: 15%;
    }
}

@media only screen and (min-width: 1685px) {
    .tip-info-icon, .tip-settings-info-icon {
        left: 40%;
    }
}


/**************************
    MOBILE SCREEN
***************************/
@media only screen and (max-width: 1000px) {
    html {
        overflow: auto !important;
        scroll-behavior: smooth;
    }

    body {
        overflow: auto !important;
        max-height: fit-content;
        scroll-behavior: smooth;
    }

    #page-slide-container {
        display: none;
    }

    #mobile-page {
        text-align: center;
        display: block;
        position: relative;
    }
    .mobile-container{
        display:flex;
        flex-direction: column;
        overflow: auto;
    }

    .section {
        box-sizing: border-box;
        padding: 0 3em;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding-bottom: 25px;
    }

    .avatar {
        position: relative;
    }

    .laptop {
        background-position: bottom;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 150px;
        z-index: 1;
    }

    .email-add, .phone-number, .fb-account {
        margin: 0 auto 3px;
        
    }

    .tip {
        position: absolute;
        top: 0;
    }

    .tip-search-icon {
        left: 146%;
    }

    .tip-pc2-icon {
        margin-top: -80px;
        left: 55%;
    }

    .tip-settings-info2-icon {
        left: -10%;
    }

    .tip-settings-info-icon {
        left: 119%;
        bottom: -40px;
    }

    .tip-info-icon {
        margin-top: 0px;
        left: 153%;
    }

    .tip-pc-icon {
        left: -16%;
        margin-top: -110px;
    }

    .shades {
        position: absolute;
        width: 130px;
        top: 62%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .don {
        background: url('../images/don.png') no-repeat;
        background-position: center;
        background-size: 100%;
        width: 150px;
        height: 250px;
        margin: 0 auto;
    }

    .mobile-nav {
        min-width: 100vw;
        background-color: #ffffff52;
        padding: 1rem 0.5rem;
        position: fixed;
        z-index: 999;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: flex;
        gap: 5px;
        margin-right: 40px;
    }

    .nav-links a {
        width: 35px;
        height: 35px;
    }

    .mobile-home {
        background: url('../images/nav-helper-box_1.png') no-repeat center center;
        background-size: cover;
        cursor: pointer;
    }

    .mobile-back-end {
        background: url('../images/nav-helper-box_3.png') no-repeat center center;
        background-size: cover;
        cursor: pointer;
    }

    .mobile-front-end {
        background: url('../images/nav-helper-box_2.png') no-repeat center center;
        background-size: cover;
        cursor: pointer;
    }

    .mobile-party {
        background: url('../images/nav-helper-box_4.png') no-repeat center center;
        background-size: cover;
        cursor: pointer;
    }

    .logo {
        height: 40px;
        width: 145px;
        background-size: contain;

    }

    .pupil {
        width: 8px;
        height: 8px;
    }

    .left-logo-eye {
        position: absolute;
        right: 117px;
        top: 16px;
    }

    .right-logo-eye {
        right: 93px;
        top: 16px;
    }

    ul {
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
        list-style-type: none;

        padding: 0;
        margin: 0;
    }

    ul .skill-wrapper {
        background-color: #43382a;
        min-width: 120px;
        height: 50px;
        border-radius: 10px;
        overflow: hidden;

        align-content: center;

        position: relative
    }

    ul .percent-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 50px;
        z-index: 1;
    }

    ul .percent-text {
        font-size: 22px;
        font-weight: bold;
    }

    ul .skill-wrapper span {
        font-size: 18px;
        color: white;
        position: relative;
        z-index: 2;
    }

    .home-bg {
        background: #dbdbdb url('../images/scene_1-bg.png') no-repeat center bottom;
        background-size: contain;
    }

    .back-end-bg {
        padding-top: 100px;
        color: white;
        background: #62a559 url('../images/scene_3-bg.png') no-repeat center bottom;
        background-size: contain;
    }

    .front-end-bg {
        padding-top: 120px;
        color: white;
        background: #7a654c url('../images/scene_2-bg.png') no-repeat center bottom;
        background-size: contain;
    }

    .party-bg {
        overflow: hidden;
        position: relative;
        color: white;
        background: #40537f url('../images/scene_4-bg.png') no-repeat center bottom;
        background-size: contain;
    }

    .strobe-light {
        height: 100dvh;
        position: absolute;
        top: -20%;
        left: 10%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
