*{ box-sizing: all; } body{ margin: 0px; padding: 0px; background-color: rgba(244, 208, 63, 1) ; background-repeat: no-repeat; } #main{ width: 100%; height: 20vh; position: relative; } .fun{ color:#242124; font-family: 'Arial, Helvetica'; font-size: 40px; } .nav{ display: flex; justify-content: space-around; align-items: center; position: static; top: 0; left: 0; height: 100px; width: 100%; background-color: #1B1B1B ; box-shadow: 5px 10px 30px rgba(0,0,0,0.2); z-index: 1; margin-right: 60%; } .logo img{ height: 110px; } .menu{ list-style: none; display: contents; margin-left: 60%; } .menu li a{ height: 40px; line-height: 43px; margin: 3px; padding: 0px 22px; display: flex; font-size: 1em; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; color: white; } a{ text-decoration: none; } .social{ list-style: none; display: flex; margin-left: 100%; font-weight: bold; } .name{ font-weight: lighter; } .developer{ margin-left: 5%; text-align: center; } .bottom{ list-style: none; display: flex; height: 40px; margin-top: 5%; margin-bottom: 1rem; font-size: 0.2em; text-transform: uppercase; font-weight: 100; letter-spacing: 1px; } .contact{ text-align: center!important; } .image img{ width: 40%; height: 90%; box-shadow: 0 0 10px rgba(0,0,0,0.3); float: right; padding-right: 30px; } .main-content{ display: flex; justify-content: space-around; } .heading{ color:#242124 ; font-family: 'Calibary,Arial, Helvetica'; font-style: inherit; margin-left: 10%; font-size: 50px; } .line{ color:#242124; font-family: 'Calibary,Arial, Helvetica'; font-size: 40px; margin-left: 8%; } .line2{ color:#242124; display: flex; font-family: 'Calibary,Arial, Helvetica',cursive; font-size: 30px; } .start{ font-family: 'Reggae One'; background-color: white; color: green; padding: 15px 45px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; border: 2px solid indigo; border-radius: 5px; box-shadow: 0 0 20px rgba(0,0,0,0.2); margin-left: 10%; } .start:hover{ background-color: green; color: white; border: 2px solid black; cursor: pointer; } .menu li a:hover{ background-color: rgba(244, 208, 63, 1); color: #1A2421; font-weight: bolder; cursor: pointer; }