/*	Copyright (c) 2021 DGraphics
/*	Author: DGraphics
/*	This file is made for Current Template

/* Body */
/* Body Content */



/* Body */

html{
    overflow-x: hidden;
}

body{
    overflow-x: hidden;
    overflow-y: visible;
    background: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

a{
    text-decoration: none;
    color: #FFFFFF;
}

.main-content{
    display: block;
    position: relative;
    top: 110px;
    width: fit-content;
}

h2{
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

p{
    font-size: 1.1rem;
}

.tyler-rey.heading-one{
    font-size: 2rem;
    margin-bottom: 20px;
}

.body{
    display: none;
}

.body.active{
    display: block;
}

.loader{
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    text-align: center;
    top: 50%;
}

.loader .logo{
    position: relative;
    left: 0;
}

.fade {
    opacity: 1;
  }


/* Navigation */

.navbar{
    background: none;
    width: 100%;
    padding-top: 60px;
    height: 40px;
    position: relative;
}

a{
    color: #ffffff;
    font-weight: 500;
}

.left-side-navbar{
    left: 0px;
    position: relative;
}

.right.side-navbar{
    display: none;
}

 .logo{
    color: #ff7b7b;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    justify-content: center;

    font-family: 'Montez', cursive;
    font-size: 35px;
    left: 50px;
    position: relative;
    top: -4px;
    cursor: pointer;
 }

 .logo:hover{
     opacity: 0.5;
 }
 
 .menu-items{
    cursor: pointer;
    display: none;
}

.menu-items a:hover{
    opacity: 0.5;
}

/* Animations */

@keyframes fadein {
    from { opacity: 0;
        }

    to   { opacity: 1;
    }
}

@keyframes fadeout {
    from { opacity: 1;
        transform: translate3d(0,0,0);
        }

    to   { opacity: 0;
        transform: translate3d(100vw,0,0);
    }
}


@keyframes fadeup {
    from { opacity: 0;
        transform: translate3d(0,200px,0);
        }

    to   { opacity: 1;
        transform: translate3d(0,0,0);
    }
}



.right_side_navbar {
    float: right;
    position: relative;
    right: 40px;
    top: -27px;
}

nav a {
    font-weight: 600;
    padding: 0px 10px;
    justify-content: space-between;
    color: #1d1d1d;
    text-decoration: none;
}

.right_side_navbar_items {
    display: block;
    justify-content: space-between;
    text-align: right;
}

.hamburger_menu {
    display: none;
}

.x-mark{
    width: 30px;
    height: 25px;
    position: relative;
    right: 5px;
    top: -5px;
    z-index: 10;
    display: none;
}

.navbar_contact {
    padding: 10px 15px;
    background: #ff5151;
    border-radius: 4px;
    font-weight: 700;
    color: #ffffff;
    font-weight: 700;
}


/* Hamburger menu */

.menu_mobile{
    background: #0a0a0a;
    color:#ffffff;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 9;
    animation-name: fadein;
    animation-duration: 0.5s;
    display: none;
}

.right_side_navbar_items_mobile{
    display: flex;
    flex-direction: column;
    position: relative;
    top: 30%;
    justify-content: center;
    text-align: center;
}

.right_side_navbar_items_mobile a{
    margin-bottom: 30px;
    cursor: pointer;
    color:#ffffff;
}

.right_side_navbar_items_mobile a:hover{
    text-decoration: underline;
}

.navbar_contact.mobile{
    width: 110px;
}





/* Body Content */


/* Introduction (Top) */

.tyler-rey.left-side-content{
    display: flex;
    left: 40px;
    position: relative;
    margin-bottom: 3rem;
}

.left-side.info{
position: relative;
/* right: 35%; */
}

.left-side.image{
    /* margin-right: 10%; */
    animation-name: fadein;
    animation-duration: 2s;
}

.left-side img{
    width: 300px;
    border-radius: 10px;
    filter: drop-shadow(0px 1px 6px rgba(0, 0, 0, 0.25));
}

.left-side img:hover{
    opacity: 0.9;
}

.tyler-rey.introduction{
    position: relative;
    right: 0;
    left: 200px;
    width: 100%;
    height: 100%;
    top: 40px;
    text-align: center;
}

.tyler-rey.introduction span{
    color:rgb(250, 114, 114);
}

.first-paragraph{
    font-size: 1rem;
    max-width: 70%;
    margin: 0 22%;
    font-weight: 500;
    color:rgb(48, 48, 48);
    line-height: 1.5rem;
}


#diamond {
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: rgb(250, 114, 114);
    position: relative;
    top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  #diamond:after {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: rgb(250, 114, 114);
  }


/* Services */

#tyler-rey_services{
    background-color: rgb(255, 255, 255);
    color: #000000;
    position: relative;
    top: 120px;
    padding: 4.2rem;
    margin-bottom: 40px;
}

.tyler-rey.all-services{
    top: 2.4rem;
    position: relative;
    animation-name: fadeup;
    animation-duration: 4s;
}

.tyler-rey.services-one{
    display: flex;
}

.service{
    margin-bottom: 9rem;
}

.service h2{
    margin-top: 1.7rem;
}

.service p{
    width: 30%;
    line-height: 1.4rem;
}

.triangle-one{
    width: 0; 
    height: 0; 
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent; 
    border-right:50px solid rgb(33, 201, 207); 
  /*  transform: rotate(-55deg); */
    position: relative;
    top: 10%;
    left: 70px;
}

.triangle-one:hover{
    border-right:50px solid rgb(8, 150, 155);
}

.triangle-two{
    width: 0; 
    height: 0; 
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent; 
    border-right:50px solid blue; 
    position: relative;
    top: 35%;
    left: 70px;
}

.triangle-two:hover{
    border-right:50px solid rgb(14, 3, 172);
}

.triangle-three{
    width: 0; 
    height: 0; 
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent; 
    border-right:50px solid rgb(87, 30, 243); 
    position: relative;
    top: 60%;
    left: 70px;
}

.triangle-three:hover{
    border-right:50px solid rgb(63, 26, 167);
}

.service-header-one{
color: rgb(33, 201, 207);
}

.service-header-two{
    color: rgb(75, 158, 253);
    }

    .service-header-three{
        color: rgb(180, 155, 252);
}

#diamond-two {
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: rgb(250, 114, 114);
    position: relative;
    top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    display: none;
  }
  #diamond-two:after {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: rgb(250, 114, 114);
  }





/* Projects */

#tyler-rey_work{
    top: 160px;
    position: relative;
    margin-bottom: 50px;
}

.tyler-rey.all-projects{
    display: grid;
    grid-template-columns: auto auto;
}

.tyler-rey.work-heading{
    position: relative;
    left: 30px;
}

.tyler-rey.work-heading h1{
    color: #ff7b7b;
}

.tyler-rey.work-heading h2{
    font-size: 1.4rem;
    font-weight: 500;
    width: 90%;
}

.project{
padding: 2rem;
text-align: center;
margin-bottom: 60px;
cursor: pointer;
}

.project h4{
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.project p{
    font-size: 1rem;
    font-weight: 500;
    color: #1f1f1f;
}

.project img{
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

.project img:hover{
animation-name: imagefade;
animation-duration: 2s;
}

@keyframes imagefade {
    from { opacity: 1;
        }

    to   { opacity: 0.5;
    }
}



.project:hover{
    color:rgb(218, 68, 68);
}


/* Contact */

#tyler-rey_contact{
    position: relative;
    top: 200px;
    padding: 2rem;
    margin-bottom: 5rem;
    margin-top: 50px;
    text-align: left;
}

#tyler-rey_contact h1{
    color: #ff7b7b;
}

#tyler-rey_contact p{
    width: 30%;
    font-size: 1.1rem;
    line-height: 1.3rem;
}

.social-media-icons{
    position: relative;
    top: 40px;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 20px;
}

.social-media-icons a{
    margin: 1rem;
}

.social-media-icons svg{
    cursor: pointer;
}

.social-media-icons svg:hover{
    opacity: 0.5;
}



/* Copyright */

.tyler-rey.copywright{
    position: relative;
    padding: 2rem;
    top: 11rem;
}

.tyler-rey.copywright p{
    font-size: 0.7rem;
}



/* Mobile Sizes */


/* Navigation (Mobile) */

@media only screen and (max-width: 850px){
    .main-content{
        display: flex;
        flex-direction: column;
        left: 0px;
        top: 50px;
        width: 100%;
    }

    .service h2{
        font-size: 1.5rem;
    }

    .logo{
        font-size: 25px;
        left: 50px;
    }
    
    .menu-items{
        display: none;
    }

    .left-side-navbar{
        left: 0px;
        position: relative;
    }

    .menuitem{
        margin-bottom: 10px;
        margin-right: 0px;
    }

    #diamond{
        display: block;
    }


    .right_side_navbar_items {
        display: none;
    }

    .logo {
        width: 80%;
    }

    .hamburger_menu {
        display: block;
        cursor: pointer;
    }

    .menu_mobile.active{
        display: block;
    }
    
    .x-mark.active{
        display: block;
    }

    .mobile_icon {
        width: 35px;
        height: 35px;
        position: relative;
        right: 0px;
        top: -10px;
    }


    /* Introduction (Top) (Mobile) */

    .tyler-rey.left-side-content{
        display: inline-block;
        left: 0px;
        padding: 5%;
    }

    .left-side.info{
        position: relative;
        left: 0%;
        display: flex;
        justify-content: center;
        }

    .left-side img{
        width: 50%;   
    }

    .left-side.image{
        margin-right: 0%;
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
    }

    .right.side{
        position: relative;
        width: 85%;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 100px;
        left: 0px;
        padding: 20px;
    }

    .tyler-rey.introduction{
        position: relative;
        left: 0px;
        top: 5%;
        width: 90%;
        height: 100%;
        text-align: center;
    }

    .first-paragraph{
        margin: 0 0%;
        max-width: 100%;
    }

    /* Services */

    #tyler-rey_services{
        text-align: center;
    }

    .service{
        margin-bottom: 7rem;
    }

    .service p{
        width: 100%;
    }
    
    .tyler-rey.services-one{
        display: block;
    }

    .tyler-rey.services-right{
        display: none;
    }

    #diamond-two{
        display: block;
    }


/* Projects */

.tyler-rey.work-heading{
    text-align: center;
    left: 0px;
    padding: 2rem;
}

.tyler-rey.work-heading h2 {
    width: 100%;
}

/* Contact */

#tyler-rey_contact{
    text-align: center;
}

#tyler-rey_contact p{
    width: 100%;
}


/* Copyright */

.tyler-rey.copywright{
    text-align: center;
}

}



@media only screen and (max-width: 760px){
    .tyler-rey.all-projects{
        display: grid;
        grid-template-columns: auto;
    }

    
    .project img{
        width: 100%;
        border-radius: 6px;
    }
}

@media only screen and (max-width: 550px){
    /* html, body {
        max-width: 100%;
        max-height: 100%;
        overflow-x: hidden;
     } */
}