/* Global Layout Set-up */ * { -webkit-box-sizing: border-box; box-sizing: border-box; } body { margin: 0; padding: 0; text-align: center; color: #222; background: #f7f5f0; } /* Link Styles */ a { text-decoration: none; color: #999; } a:hover { color: #6633ff; } /* Section Styles */ .main-nav { width: 100%; background: black; min-height: 30px; padding: 10px; position: fixed; text-align: center; } .nav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; font-weight: 700; list-style-type: none; margin: 0 auto; padding: 0; } .nav .name { display: block; margin-right: auto; color: white; } .nav li { padding: 5px 10px 10px 10px; } .nav a { -webkit-transition: all .5s; transition: all .5s; } .nav a:hover { color: white } .main-header { background: url('..//images/backgroundheader.jpg') no-repeat top center; } .main-header, .experience-header, .contact-header { background-size: cover; overflow: hidden; padding-top: 60px; line-height: 1.5; text-align: center; } .profile-image { margin-top: 50px; width: 170px; height: 170px; border-radius: 50%; border: 3.5px solid orange; -webkit-transition: all .5s; transition: all .5s; cursor: pointer; } .profile-image:hover { -webkit-transform: scale(1.0); transform: scale(1.2) } .tag { background-color: orange; color: black; padding: 10px; border-radius: 5px; display: table; margin: 10px auto; } .description { background-color: purple; color: white; } .card, .contact-card { margin: 30px; padding: 20px 40px 40px; max-width: 500px; text-align: left; background: #DFDEDE; border-bottom: 4px solid purple; border-radius: 6px; -webkit-transition: all .5s; transition: all .5s; } .card:hover, .contact-card:hover { border-color: orange; } h2 { text-align: center; } .clearfix { clear: both; } /* Styles for larger screens */ @media screen and (min-width: 720px) { .flex { display: -ms-flexbox; /* TWEENER - IE 10 */ display: -webkit-box; display: flex; max-width: 1200px; -ms-flex-pack: distribute; justify-content: space-around; margin: 0 auto; } .main-header, .experience-header, .contact-header { min-height: 470px; } .nav { max-width: 1200px; padding: 0 30px; } }