

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital@1&family=Roboto:wght@100&display=swap');

*,*::before,*::after{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

html{
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    /* font-family: 'Roboto', sans-serif; */

    color:black;
    overflow-x: hidden;
    scroll-behavior: smooth;

}

body{
    font-family: 'Playfair Display', serif;
    width:100%;
    height: 100%;
    background-size: cover;
    overflow-x: hidden;
   
}

a{
    text-decoration: none;
}
.person{
    display: none;
}
.openNav{
    width:100%;
    height:100vh;
    position: fixed;
    top:-100vh;
    z-index:100;
    background-color: 	black;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    
}
.openNav.open{
    top:0px;
    border-radius: initial;
}


.openNav .nav-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    
}
.openNav .nav-list li{
    margin-bottom: 25px;
}

li{
    margin: 0px 20px;
}

.openNav .nav-list .nav-linkMobile{
    font-size: 24px;
    color:#fafafa;
}

.hamburger{
    width: 60px;
    height: 40px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    cursor: pointer;
    z-index:1500;
    margin-right:20px;
}



.hamburger .bar{
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #fafafa;
    border-radius: 6px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

.hamburger .bar.top{
    top:0px;
}
.hamburger .bar.middle{
    top:18px;
}
.hamburger .bar.bottom{
    top:36px;
}

.hamburger.open .bar.top{
    top: 18px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .hamburger.open .bar.middle{
    opacity: 0;
    right:60px;
  }
  .hamburger.open .bar.bottom{
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

.allBox{
    width:100%;
    height: 100%;
    background-size: cover;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 100%;
    grid-template-areas: "head"
                         "main"
                         "aboutme"
                        "portfolio"
                        "contact"
                        "footer"
                             ;
}
header{
    grid-area: head;
    max-height: 80px;
    z-index:110;
    position: fixed;
    width:100%;
    height: 100px;
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(0,0,0,.8);
    
}
nav{
    /* border:5px solid red; */
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr .25fr;
    grid-template-areas: "brand  hamburger";
    background-color: black;
}
.navbar-brand{
    font-size: 22px;
    align-self: center;
    grid-area: brand;
    max-width: 160px;
    max-height: 80px;
    color:#fafafa;
    font-weight: bold;
}
.nav-list{
    grid-area: navList;
    list-style: none;
    width:100%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    display:none;

}
.hamburger{
    grid-area: hamburger;
    align-self: center;
}
.allBox .mainScreen{
    grid-area: main;
    min-width:100%;
    min-height:100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url("../img/pexels-fatih-guney-14799851.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
   
}
.allBox .landingText{
    position: absolute;
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-transform: uppercase;
  
}
.landingText h3{
    font-size: 28px;
    color:#fafafa;
    animation: 1.5s ease-in-out goRight;
    background: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-align: center;
    margin-bottom: 10px;
  }

  @keyframes goRight {
    0% {
        opacity:0;
      transform:translateX(-100%);
    }
    100% {
        opacity: 1;
        transform:translateX(0);
    }
  }

.landingText h4{
    font-size: 22px;
    color:#fafafa;
    animation: 1.5s ease-in-out goLeft;
    text-align: center;
}

@keyframes goLeft {
    0% {
        opacity:0;
      transform:translateX(100%);
    }
    100% {
        opacity: 1;
        transform:translateX(0);
    }
  }
section{
    padding:30px;
}
section h1{
    width: 100%;
    height: auto;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    font-size: 32px;
    
}
section h1::after{
    content: "";
    position: absolute;
    bottom:-10px;
    left:0;
    width: 100%;
    height: 3px;
    background-color:#5A5A5A ;
}
.eachPictureOfTypes{
    width: 90%;
    height:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}
.eachPictureOfTypes img{
    width: 100%;
    height: auto;
    border:1px solid #5A5A5A;
}
.allBox .aboutMe{ 
    grid-area: aboutme;
    min-width:100%;
    min-height:400px;
   background-color:#fafafa ;
   width:100%;
    
   background-image: linear-gradient(rgba(255,255,255, 0.75), rgba(255,255,255,0.75)),url("../img/2807586_18034.jpg");
   /* background-image: linear-gradient(rgba(252,255,130, 0.6), rgba(252,255,130,0.6)),url("../img/2807586_18034.jpg"); */
   
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   position: relative;
}

.allBox .aboutMe .aboutAndPicture{
    display:flex;
    justify-content: space-between;
    align-items: center;
   
}
.allBox .aboutMe .aboutAndPicture img{
    display:none;
}
.allBox .aboutMe p{
   text-indent: 45px;
   letter-spacing: 1.5px;
    text-align: justify;
    line-height: 1.5;
    padding-top:20px ;
    background-image: linear-gradient(rgba(255,255,255, 0.85), rgba(255,255,255,0.85))
}


.allBox .portfolio{
    grid-area: portfolio;  
    min-width:100%;
    min-height:400px;
   background-color:#383E56 ;
   display:flex;
   flex-direction: column;
   align-items: center;
}
.allBox .portfolio h1{
    color:#fafafa;
   
}
.allBox .portfolio h1::after{
    content: "";
    position: absolute;
    bottom:-10px;
    left:0;
    width: 100%;
    height: 3px;
    background-color:#fafafa ;
}
.allBox .portfolio .pictures{
    width: 100%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.allBox .portfolio .pictureTypes{
    min-width:300px;
    min-height:60px;
    color: #fafafa;
    border:1px solid #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-size: 28px;
    border-radius: 5px;
}
.allBox .portfolio .pictureTypes:first-child{
    margin-top: 20px;
}

.allBox .contact{
    grid-area: contact;
    color:#07031A;
    min-width:100%;
    min-height:400px;
   background-color:#fd5c63 ;
}
.allBox .contact h1{
    color:#FFF5E4;
}
.allBox .contact h1::after{
    content: "";
    position: absolute;
    bottom:-10px;
    left:0;
    width: 100%;
    height: 3px;
    background-color:#FFF5E4 ;
}
.allBox .contact .boxInfo{
    width: 100%;
    height: 60px; 
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.allBox .contact .boxInfo img{
    width: 40px;
    height: 40px;
}
.allBox .contact .boxInfo span{
   font-size: 20px;
    margin-left: 30px; 
}
.allBox .contact .formOfContact{
    display:none;
}
.allBox footer{
    grid-area: footer;
    min-width:100%;
    min-height:80px;
   background-color:#2d4059;
   color:#fafafa;
   font-size: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
}
.allBox footer a{
    text-decoration: none;
    color:#fafafa;
}
.allBox footer .creativeCommon{
    margin-left: 10px;
}
/* for smart phones rotated */
@media (min-width:567px) {
    .openNav .nav-list{
        flex-direction: row;
        
    }
    .openNav .nav-list .nav-linkMobile{
        font-size: 32px;
    }
    nav{
        grid-template-columns: 2fr .1fr;
        
    }
    
}

/* desktop */
@media (min-width:992px) {
    .allBox{
        width:100%;
        height: 100%;
        background-size: cover;
        display: grid;
      
        grid-template-rows: auto;
        grid-template-columns: 300px 4fr;
        grid-template-areas: "head main"
                             "head aboutme"
                            "head portfolio"
                            "head contact"
                            "head footer"
                                 ;
    }
    header{
        min-height: 100%;
        max-width:300px;
        background-color: black;
        /* border-right: 1px solid #fafafa; */
    }
    .navbar-brand h2{
        color:#fafafa;
       
        
    }
    nav{
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-rows: 100px 100%;
        grid-template-columns: 100%;
        grid-template-areas: "brand"
                            "navList";
        place-items: center;
    }
    
    .navbar-brand{
        
        font-size: 22px;
        align-self: center;
        grid-area: brand;
        
        margin-top:10px;
        
        
        
    }
    .nav-list{
        grid-area: navList;
        list-style: none;
        width:100%;
        height: 100%;
        display:flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding-top: 100px;
    }
    .nav-item{
        width: 100%;
        height: 60px;
        margin-bottom: 30px;   
    }
    .nav-link{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color:#fafafa;
        font-size: 28px;
        transition: all 1s;
        position: relative;
        overflow: hidden;
        z-index: 0;
       
    }
    .nav-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fafafa;
        transition: all 1s;
        z-index: -1;
        transform: translateX(-100%);
      }
      
      .nav-link:hover::before {
        transform: translateX(0);
      }
      .nav-link:hover {
        color: black;
      }
    /* .nav-link:hover{
        background-color: #fafafa;
        color:black;
    } */
    .hamburger{
        display: none;
    }
    .landingText h3{
        font-size: 52px;
    }
    .landingText h4{
        font-size: 42px;
    }
    section h1{
        font-size: 42px;
    }
    .allBox .aboutMe{
        min-height:600px;
    }
    .allBox .portfolio{
        min-height:600px;
    }
    .allBox .contact{
        min-height:600px;
    }
    .allBox .aboutMe .aboutAndPicture p{
        align-self: flex-start;
        margin-right: 20px;
        font-size: 1.2vw;
    }
    .allBox .aboutMe .aboutAndPicture img{
        display: block;
        width: 35vw;
        height: auto;
        border-radius: 20px;
        border: 2px solid #fafafa;
        clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    .allBox .portfolio .pictures{
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .allBox .portfolio .pictureTypes{
        min-height: 200px;
       background-position: center;
      background-repeat: no-repeat;
        background-size: cover;
        transition: all .7s ease-in-out;
        position: relative;
    }
    .allBox .portfolio .pictureTypes .linkText{
        width:80%;
        height: 80px;
        border:5px solid rgba(255,255,255,.5);
        background:rgba(20, 30, 48, .5) ;
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 5px;
        display:flex;
        justify-content: center;
        align-items: center;
        transition: all .7s ease-in-out;

    }
    .allBox .portfolio .pictureTypes:hover .linkText{
        background:rgba(20, 30, 48, 1) ;
        color:#fafafa;
    }
    .allBox .portfolio #link1{
        background-image: url("../img/pexels-lukas-hartmann-1127120.jpg");
    }
    .allBox .portfolio #link2{
        background-image: url("../img/pexels-adrien-olichon-3137051.jpg");
    }
    .allBox .portfolio #link3{
        background-image: url("../img/pexels-joyston-judah-933054.jpg");
    }
    .allBox .portfolio #link4{
        background-image: url("../img/pexels-pixabay-247600.jpg");
    }
    .allBox .contact .formOfContact{
        display: block;
        width: 50%;
        height: 100%;
    }
    .allBox .contact .contactInfoAndForm{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .allBox .contact .formOfContact .contact-input{
        width: 100%;
        outline: 0;
        background-color: transparent;
        border:2px solid #07031A;
        font-size: 22px;
        transition: all .7s ease-in-out;
        margin-bottom: 10px;
        border-radius: 5px;
        line-height:25px;
        padding: 10px;
        
    }
    .allBox .contact .formOfContact .button{
        width:200px;
        height: 40px;
        border:none;
        background-color: transparent;
        color:#fafafa;
        border-radius: 5px;
        border: 2px solid #fafafa;
        font-size: 18px;
        cursor: pointer;
        transition: all .7s ease-in-out;
     
    }
    .allBox .contact .formOfContact .button:hover{
        background-color: transparent;
        color:#07031A;
        border:2px solid #07031A;
    }
    .contact-input{
        color:#fafafa;
    }
    .allBox .contact .formOfContact .contact-input:focus{
        background-color: transparent;
        color: #fafafa;
    }
    .allBox .contact .boxInfo img{
        width: 60px;
        height: 60px;
    }
    .allBox .contact .boxInfo span{
       font-size: 28px;  
    }
    
}

/* large screen */
@media (min-width:1200px) {

}