/*--------------------------------------------
99. MQ
---------------------------------------------*/
/* Bootstrap Extra Small */

@media (max-width: 767px) {}

@media(min-width: 768px) and (max-width: 1365px) {
    #section1 h3{
        font-size: 2em;
    }
    #section1 h6{
        font-size: 0.7em
    }    
    #section1 h5{
        font-size: 1.2em
    }
}


@media(min-width: 1366px) and (max-width: 1919px) {
    #section1 h3{
        font-size: 4em;
    }
    #section1 h6{
        font-size: 1.4em
    }    
    #section1 h5{
        font-size: 1.9em
    }
    
}

@media(min-width: 1920px){
    #section1 h3{
        font-size: 4em;
    }
    #section1 h6{
        font-size: 1.4em
    }    
    #section1 h5{
        font-size: 1.9em
    }
}


/* PORTRAIT */
@media(max-width: 1023px) and (orientation: portrait) {
    body,
    html {
        position: relative;
        height: 100%;
    }
    .title {
        font-size: 2em;
        padding: 50px;
        padding-bottom: 0px;
        padding-top: 0px;
    }
    .desc {
        margin-top: 0px;
        font-size: 1.3em;
        margin: 0;
        padding: 0;
        text-shadow: none;
        margin-top: 4%;
    }
    .separator {
        width: 59%;
    }
    .logo_kiuki.movedown{
        margin-top: 200%;
    }
    .sezione {
        font-size: 1em;
        letter-spacing: 1px;
        line-height: 10px;
    }
    .num {
        display: block;
    }
    .it {
        font-size: 0.6em;
        letter-spacing: 1px;
        margin-left: -5px;
    }
    .sezione.mobile_text {
        margin-top: 21px;
    }
    .loader {
        font-size: 15vh;
    }

    #navbar {
        width: auto;
        text-align: left;
        padding-right: 83px;
        padding-left: 14px!important;
    }
    #bottombar {
        width: auto;
        text-align: right;
        top: auto;
        bottom: 0;
        background: transparent!important;
        height: 46px;
        width: 0;
        margin: 0;
        padding: 0;
    }
  
    #myVideo {
        object-position: -200px 0px;
    }
    
    #section1 h3{
        font-size: 1.7em;
    }
    #section1 h6{
        font-size: 0.7em
    }        
    #section1 .at{
        font-size: 0.35em;
        margin-top: 4px;
    }        
    #section1 .neikos{
        font-size: 0.55em
    }    
    #section1 h5{
        font-size: 0.6em
    }
    #email .bigemail{
        width: 100px;
        height: 100px;
    }    
    #phone .bigphone{
        width: 100px;
        height: 100px;
    }    
    #social .socialimg{
        width: 700px;
        height: 950px;
        margin-bottom: -20px;
        position: absolute;
        left: 40%;
        top: -15%;
    }
    .mobileback{
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #ffffffeb;
        top: 0;
        left: 0;  
    }
    .front {
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .socialcontent {
        line-height: 70px;
        height: 70px;
        font-size: 0.7em;
    }
    #social .row {
        width: 75%;
    }
    .front img {
        width: 70px;
        height: 70px;
    }
    .flip-container, .front, .back {
        width: 70px;
        height: 70px;
    }
    
    .socialtype:hover {
        width: 33%;
    }
    .socialtype:hover .flip-container, .socialtype:hover .front, .socialtype:hover .back{
        width: 100%;
    }
    .flip-container {
        margin-bottom: 30px;
    }
    .socialtype {
        position: relative;
    }
    .socialtext {
        margin-bottom: 20px;
        margin-top: 5px;
        font-size: 0.5em;
        position: absolute;
        margin-top: -28px;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    
    #section1 #email h1{
        font-size: 3em;
        margin-top: 10%
    }    
    #section1 #phone h1{
        font-size: 2.5em;
        margin-top: 10%
    }
    #place img {
        width: 14px;
        height: 14px;
    }
    #place{
        margin-top: 1%;
    }
    
    .arrowDown{
        border-width: 30px 30px 0 30px;
        bottom: 2px;
    }
    .arrowUp{
        border-width: 0 30px 50px 30px;
        left: 50%;
        
    }
    #section1 .fp-controlArrow.fp-next {
        right: 3px;
        border-width: 10px 0px 10px 10px;
    }    
    #section1 .fp-controlArrow.fp-prev {
        left: 3px;
        border-width: 10px 10px 10px 0;
    }
	
	.fbcont:hover .fbicon, .lcont:hover .licon, .tcont:hover .ticon{
		transform: none;
	}
	#section1 .bottom .table {
		pointer-events: none;
	}
	
    #section2 {
        background-color: #fff;
    }
    #section1 .phone, #section1 .email{
        width: 25px;
        height: 25px;
    }
    .skill::after {
        width: 0vh;
        height: 0vh;
        border: 0vh solid transparent;
        clear: both;
    }
    .descriptionSkill {
        width: 100%;
        height: 50%;
    }
    .descriptionSkill h4 {
        vertical-align: middle;
    }
    .skill {
        width: 100%;
        height: 50%;
    }
    #section2 h1 {
        font-size: 2.3em;
    }
    #section2 h4 {
        font-size: 1em;
        padding: 20%;
    }
    .descriptionSkill h4 {
        padding: 7%;
    }
    #navbar {
        background-color: transparent;
    }
    .logo {
        display: none;
    }
    #SYSADMIN .descriptionSkill,
    #DEVELOPER .descriptionSkill,
    #INNOVATION .descriptionSkill{
        background: #fff;
        color: #000;
    }
    .up {
        font-size: 0.6em;
    }
    .knowhow .square {
        padding: 2px;
    }
    #section4 .container {
        width: 100%;
        height: 100%;
        display: table;
    }
    #section4 .row {
        display: table-cell;
        vertical-align: middle;
        position: relative;
        bottom: 10px;
    }

    .serif_cont {
        height: 25%;
    }
    .serif {
        height: 75%;
    }    
    .serif_left {
        display: 25%;
    }
    .serif_right{
        background-position: center bottom;
    }

    .serif_right {
        display: none;
    }    
    .serif.su{
        z-index: 9999999999999999999999999999999999;
    }
    .top_cont {
        height: 85%;
        margin-top: -6.7%
    }
    .serif.su {
        margin-top: -52px;
    }

    .details h6 {
        padding-bottom: 10px;
    }
    .details {
        border-bottom: 0px solid #000;
        width: 100%;
        margin: 0;
        padding-left: 5%;
        padding-right: 5%;
    }
    .logowork {
        border-top: 0px solid #ec008c;
        width: 100%;
        height: 50%;
        margin: 0;
    }
    .object.show {
        padding: 10px;
    }
    .gallery img {
        /*border: 2px solid #00000038;*/
    }
    .gallery {
        padding: 0px;
        border: 0px solid #fff;
    }

    .serif h3.line {
        line-height: 2;
    }
    #section7 .bottom {
        font-size: 0.7em;
    }

}
/* LANDSCAPE */

@media(max-width:1023px) and (orientation: landscape) {
    .pleaserotate .content h2 {
        font-size: 2.3em;
    }
    .pleaserotate .content h4 {
        font-size: 1.3em;
    }
    
    @-webkit-keyframes rotating
    /* Safari and Chrome */
    {
        from {
            -webkit-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        to {
            -webkit-transform: rotate(360deg);
            -o-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
    @keyframes rotating {
        from {
            -ms-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -webkit-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        to {
            -ms-transform: rotate(360deg);
            -moz-transform: rotate(360deg);
            -webkit-transform: rotate(360deg);
            -o-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
    .rotating {
        -webkit-animation: rotating 2s linear infinite;
        -moz-animation: rotating 2s linear infinite;
        -ms-animation: rotating 2s linear infinite;
        -o-animation: rotating 2s linear infinite;
        animation: rotating 2s linear infinite;
    }
}

@media(min-width: 1024px) and (max-width : 1699px)  and (orientation: landscape) {
    .socialcontent{
        font-size: 0.7em;
    }
	#section1 h3{
		font-size: 3em;
	}
	#section1 h5{
		font-size: 1.5em;
	}
	#section1 h6{
		font-size: 1em;
	}
	.object.show{
		padding: 10px;
	}
	.object.show .subject{
		font-size: 1.25em!important;
	}
}
