/*--------+ | General | ---------*/ *{ margin: 0; box-sizing: border-box; } html{ height: 100%; } body{ background-repeat: no-repeat; background-size: cover cover; background-attachment: fixed; font-family: sans-serif; height: 100%; } #content{ width: 80%; min-height: 100%; margin: auto; margin-top: 80px; background-color: white; padding-right: 40px; padding-left: 40px; } /*----------------------+ | Links to the services | +----------------------*/ .cards{ display: flex; justify-content: space-between; flex-direction: row; margin-top: 30px; margin-bottom: 30px; } .card{ width: 30%; } .card a{ display: block; background-color: #0e610e; padding: 15px; border-radius: 10px; color: white; font-weight: bold; text-decoration: none; transition: 0.5s; width: 100%; text-align: center; margin-bottom: 10px; } .card a:hover{ background-color: #1b8c1b; transform: scale(1.05); } .card img{ display: block; width: 100%; height: auto; } /*-----+ | Text | +-----*/ h1{ text-align: center; } h1, h2, h3{ padding-top: 10px; padding-bottom: 10px; color: #080a4d; } p{ padding: 10px; text-align: justify; } /*-------+ | Header | +-------*/ header img{ height: auto; width: 60px; vertical-align: middle; display: inline-block; } header{ padding: 10px; background-color: #2c3e50; color: white; position: fixed; width: 100%; top: 0; left: 0; z-index: 10; } header ul{ padding: 0; list-style-type: none; display: inline-block; width: 50%; } header ul:last-child{ width: calc(50% - 60px); text-align: right; } header li{ display: inline-block; transition: 0.5s; padding: 10px; border-radius: 10px; font-weight: bold; } header li:hover{ background-color: rgba(255, 255, 255, .3); } header a{ color: inherit; text-decoration: inherit; } /*-------------+ | WB interface | +-------------*/ #wb-interface a{ display: inline-block; vertical-align: middle; width: 40%; text-align: center; background-color: #0e610e; padding: 15px; border-radius: 10px; color: white; font-weight: bold; text-decoration: none; transition: 0.5s; margin-right: 20%; } #wb-interface form{ display: inline-block; vertical-align: middle; width: 40%; text-align: center; } #wb-interface a:hover{ background-color: #1b8c1b; transform: scale(1.05); } /*------+ | Forms | -------*/ input{ display: inline-block; width: 100%; margin-bottom: 15px; } input[type="submit"]{ background-color: #0e610e; padding: 15px; border-radius: 10px; color: white; font-weight: bold; text-decoration: none; transition: 0.5s; text-align: center; border: none; } input[type="submit"]:hover{ background-color: #1b8c1b; transform: scale(1.05); } input[type="text"]{ padding: 10px; border-radius: 10px; text-decoration: none; transition: 0.5s; text-align: center; border: solid #BFBFBF 3px; } input[type="text"]:hover, input[type="text"]:focus{ border: solid #999999 3px; }