$small: 500px; $medium: 800px; $large: 1200px; button { cursor:pointer; } .button-submit { font-family: Poppins, sans-serif; min-height: 50px; margin: 0 auto; } .button-container { justify-content: center; } .header { font-size: 2.5em; padding-bottom: 1vw; } .modal { position: fixed; top: 0; left: 0; width:100%; height: 100%; background: rgba(0, 0, 0, 0.6); } .modal-main { position:fixed; background: white; width: 80%; height: auto; top:50%; left:50%; transform: translate(-50%,-50%); } .display-block { display: block; } .display-none { display: none; } body { padding: 0; margin: 0; } .buttonSet { background-color: #3d5a80; color: white; font-size:1.7em; border-radius:10px; width: 20%; left: 40%; margin-bottom: 5vw; text-align: center; padding: 0 2%; position:relative; top:2em; @media only screen and (max-width: $large) { width: 35%; left: 35%; } @media only screen and (max-width: $medium) { width: 45%; left: 35%; } @media only screen and (max-width: $small) { width: 65%; left: 17%; } } .fa { font-size: 100%; width: 10%; text-decoration: none; margin: 0vw 0.7vw; @media only screen and (max-width: $medium) { margin: 0vw 1.3vw; } @media only screen and (max-width: $small) { margin: 0vw 2vw; } } .fa:hover { opacity: 0.7; } .fa-linkedin { color: #e0fbfc; } .fa-youtube { color: #e0fbfc; } .fa-github { color: #e0fbfc; } .fa-instagram { color: #e0fbfc; } .fa-facebook { color: #e0fbfc; } .fa-envelope { color: #e0fbfc; } .bottom { height: 0.5vw; }