body { margin: 0; } html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } .wrapper { width: 100%; position: relative; overflow: hidden; } img { max-width: 100%; height: auto; vertical-align: top; } .header { background: #EEEFF1; position: relative; padding: 15px 30px; } .header-wrap { display: flex; align-items: center; } .logo { text-decoration: none; color: #34547A; font-size: 48px; font-family: 'Revalia'; font-style: normal; font-weight: 400; line-height: 60px; text-align: center; padding-left: 300px; } header nav { padding-right: 200px; } #burger { position: absolute; left: -9999999px; opacity: 0; visibility: hidden; } .burger { display: block; height: 16px; width: 26px; position: relative; cursor: pointer; } .burger::before, .burger::after { content: ''; } .burger::before, .burger span, .burger::after { height: 2px; position: absolute; left: 0; right: 0; background: #000; border-radius: 2px; } .burger::before { top: 0; } .burger span { top: 7px; } .burger::after { bottom: 0; } #burger:checked+.burger::before { transition: transform .3s ease-in-out; transform: rotate(45deg); top: 7px; } #burger:checked+.burger::after { transition: transform .3s ease-in-out; transform: rotate(-45deg); bottom: 7px; } #burger:checked+.burger span { opacity: 0; } #burger:checked~.nav-list { transition: opacity .3s ease-in-out; opacity: 1; visibility: visible; } .nav { display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; } .nav-list { position: absolute; list-style: none; margin: 0; padding-left: 0; position: absolute; top: 100%; left: 0; right: 0; text-align: center; opacity: 0; visibility: hidden; } .nav-item { padding-right: 40px; } .nav-link { color: #000; text-decoration: none; font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 16px; line-height: 26px; letter-spacing: 0.1em; } .nav-link:hover { color: #34547A; } .container-design { max-width: 1180px; padding: 0 15px; margin: 0 auto; } .section-design { padding: 100px 0; background: #EEEFF1; } .design-row { display: flex; margin: 0 -75px; } .design-col-one { width: 50%; padding: 0 75px; } .design-col-two { width: 50%; padding: 0 75px; } .design-bg { padding-top: 67%; background-size: cover; background-position: center; background-repeat: no-repeat; background-image: url(image/frame.png); } .design-col-two h1 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 48px; line-height: 79px; } .design-col-two p { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; } .btn { display: flex; justify-content: center; align-items: center; max-width: 225px; height: 65px; text-decoration: none; background-color: #34547A; color: #FFFFFF; font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; text-align: center; letter-spacing: 0.1em; } .about_me { display: flex; box-sizing: border-box; flex-direction: column; justify-content: center; align-items: center; padding-top: 120px; padding-bottom: 100px; max-width: 540px; flex-grow: 1; margin: 0 auto; } .about_me h1 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 32px; line-height: 38px; text-align: center; } .about_me p { text-align: center; font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; color: #727272; } .group { display: flex; flex-direction: row; flex-wrap: wrap; background: #34547A; text-decoration: none; justify-content: center; align-items: center; } .group-list { display: flex; } .group-img { text-decoration: none; } .group-item { display: flex; align-items: center; } .group-text { padding-left: 20px; color: #FFFFFF; } .group-text h3 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 21px; line-height: 25px; padding-top: 5px; margin: 0; } .group-text p { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; padding-bottom: 5px; margin: 0; } .work { display: flex; flex-direction: column; align-items: center; background: #EEEFF1; padding-bottom: 100px; } .work-text { text-align: center; max-width: 25%; padding-bottom: 20px; } .work-text h2 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 32px; line-height: 38px; text-align: center; } .work-text p { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; text-align: center; color: #727272; } .videosection { display: flex; position: relative; max-width: 1100px; height: 600px; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; z-index: 0; } #playbtn { position: absolute; display: block; width: 100px; height: 100px; background: url('image/vector.png')no-repeat center top; top: 42%; left: 45%; } .container { max-width: 1180px; padding: 0 15px; margin: 0 auto; } .section-skill { padding: 100px 0; } .skill-row { display: flex; margin: 0 -75px; } .skill-col { width: 50%; padding: 0 75px; } .skill-text { display: flex; flex-direction: column; justify-content: center; } .skill-bg { padding-top: 80%; background-size: cover; background-position: center; background-repeat: no-repeat; background-image: url(image/photo.png); } .skill { width: 85%; } .section-header { padding-bottom: 25px; } .section-header .title { font-size: 32px; line-height: 1.18; font-weight: 500; margin: 0 0 25px } .skill-title { color: #727272; font-size: 16px; line-height: 1.6; display: block; margin-bottom: 20px; } .skills-item:not(:last-child) { margin-bottom: 30px; } .skill-wrap { position: relative; height: 4px; background: #c4c4c4; } .skill { position: absolute; top: 0; bottom: 0; left: 0; background: #34547a; } .my_works { display: flex; flex-wrap: wrap; justify-content: center; flex-direction: row; width: 100%; background-color: #34547A; } .my_works-img { position: relative; width: 25%; height: 100%; } .eye-over { position: absolute; z-index: 1; text-align: center; top: 50%; left: 40%; -webkit-transition: all .25s; -o-transition: all .25s; transition: all .25s; opacity: 0; } .my_works-img:hover { opacity: 0.6; } .my_works-img:hover .eye-over { opacity: 1; } .microsoft { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; } .microsoft img { padding-left: 30px; padding-top: 70px; padding-bottom: 100px; } .contact { background-color: #EEEFF1; } .contact-item { position: relative; max-width: 540px; text-align: center; padding-top: 100px; margin: auto; } .contact-text h2 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 32px; line-height: 38px; text-align: center; } .contact-text p { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 26px; text-align: center; color: #727272; } input[type="text"], input[type="email"] { width: 255px; height: 45px; border-color: #e5e5e5; color: #dcdcde; font-size: 14px; font-family: 'Roboto', sans-serif; margin-bottom: 20px; padding-left: 20px; } input[type="text"] { float: left; } input[type="email"] { float: right; } textarea { padding-top: 20px; padding-left: 20px; width: 540px; height: 175px; } .btn-contact { border: none; margin-bottom: 100px; margin-top: 50px; max-width: 190px; padding: 20px 30px 20px 30px; font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 14px; line-height: 23px; text-align: center; letter-spacing: 0.15em; color: #FFFFFF; background-color: #34547A; } footer { display: flex; background-color: #34547A; justify-content: space-around; align-items: center; padding-bottom: 50px; padding-top: 50px; } .footer-text h3 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 21px; line-height: 25px; color: #FFFFFF; } .footer-text p { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 13px; line-height: 21px; color: #FFFFFF; } footer img { padding-left: 22px; } @media (min-width: 320px) { .logo { padding-left: 50px; } header nav { padding-right: 50px; } } @media (min-width: 576px) { .logo { padding-left: 50px; } header nav { padding-right: 50px; } } @media (min-width: 768px) { .logo { padding-left: 50px; } header nav { padding-right: 50px; } } @media (min-width: 992px) { .logo { padding-left: 50px; } header nav { padding-right: 50px; } } @media(min-width: 1024px) { .burger { display: none; } .nav-list { display: flex; align-items: center; opacity: 1; visibility: visible; position: static; } .nav-item { padding-bottom: 0; } .nav-item+.nav-item { padding-left: 15px; } .logo { padding-left: 50px; } header nav { padding-right: 50px; } } @media(min-width: 1200px) { .burger { display: none; } .nav-list { display: flex; align-items: center; opacity: 1; visibility: visible; position: static; } .nav-item { padding-bottom: 0; } .nav-item+.nav-item { padding-left: 15px; } .logo { padding-left: 20px; } header nav { padding-right: 20px; } } @media(min-width: 1400px) { .logo { padding-left: 150px; } header nav { padding-right: 50px; } } @media(max-width:320px) {} @media(max-width:767px) { .design-col-two h1 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 32px; line-height: 20px; margin: 5px auto; } .about_me { padding-top: 25px; padding-bottom: 25px; } .work-text { max-width: 50%; } input[type="text"] { float: none; } input[type="email"] { float: none; } .design-col-two { width: 80%; } .design-col-two h1 { font-size: 27px; } } @media(max-width:1024px) { .section-design { padding-top: 150px; } .design-row { display: flex; flex-direction: column; align-items: center; } .design-col-two { display: flex; flex-direction: column; justify-content: center; align-items: center; } .design-col-two h1 { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 32px; line-height: 40px; } .about_me { padding-top: 50px; padding-bottom: 50px; } .skill-row { align-content: center; align-items: center; flex-direction: column-reverse; } }