.animate { opacity: 0; transform: translateY(20px); animation: fadeInFromRight 1s forwards; } @keyframes fadeInFromRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } } @keyframes validate { 0% { transform: scale(0.9); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } /* Contact Section CSS */ .contact-section { background-image: url(''); background-size: cover; background-repeat: no-repeat; background-position: center; display: flex; justify-content: center; align-items: center; height: 100vh; } .contact-section.transparent { opacity: 0.8; } /* General Body CSS */ body { font-family: 'Arial', sans-serif; color: #333; line-height: 1.6; background-color: #f4f4f4; } /* Section CSS */ .section { background-color: white; margin: 20px auto; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); border-radius: 8px; padding: 20px; display: block; } #home img, #contact img { max-width: 70%; height: auto; display: block; margin: 20px auto; object-fit: contain; background-attachment: fixed; background-position: center; } #home h2, #pricing h2, #contact h2 { color: #333; font-size: 24px; text-align: center; } #home p, #pricing p, #contact p { font-size: 16px; text-align: center; padding: 10px; } #pricing p { font-style: italic; } #contact p { font-weight: bold; } /* Button CSS */ .w3-button { transition: background-color 0.3s ease; } .w3-button:hover { background-color: #55e792 !important; } /* Media Query CSS */ @media screen and (max-width: 600px) { .topnav a:not(:first-child) { display: none; } .topnav a.icon { float: right; display: block; } } @media screen and (max-width: 600px) { .topnav.responsive { position: relative; } .topnav.responsive .icon { position: absolute; right: 0; top: 0; } .topnav.responsive a { float: none; display: block; text-align: left; } } /* Active Nav Link CSS */ .nav-link.active { background-color: black; color: white; } /* Pricing Text Box CSS */ .pricing-text-box { color: #030a12; } /* Center Text CSS */ .center-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; text-align: center; } /* Cookie Banner CSS */ .cookie-banner { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; max-width: 500px; background-color: white; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; text-align: center; z-index: 1000; } .cookie-banner i { font-size: 24px; color: #555555f6; margin-bottom: 10px; } .cookie-banner p { font-size: 14px; margin-bottom: 20px; color: #333; } .cookie-banner button { background-color: #2a892d; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 14px; } .cookie-banner button:hover { background-color: #2e8f3d; } /* Login Container CSS */ .login-container { background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 300px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; } /* Input Fields CSS */ .input-group input, #meddelande { width: 100%; padding: 20px; border: 1px solid #ccc; border-radius: 4px; margin-bottom: 10px; } #meddelande { height: 150px; } /* General Button CSS */ button { width: 100%; padding: 10px; background-color: #5c67f2; color: white; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.3s; } /* Form Container CSS */ .form-container { display: flex; justify-content: center; align-items: center; width: 100%; } /* Input Icon CSS */ .input-icon input[name="fnamn"], .input-icon input[name="enamn"], .input-icon input[name="epost"], .input-icon input[name="telefon"] { width: calc(100% - 10px); padding: 8px; } .input-icon input[name="fnamn"]:focus, .input-icon input[name="enamn"]:focus, .input-icon input[name="epost"]:focus, .input-icon input[name="telefon"]:focus { border-color: #007BFF; outline: none; } /* Footer CSS */ .footer-container { display: flex; justify-content: flex-start; align-items: center; padding: 16px; } .support { text-align: left; } .support a { display: block; margin-top: 8px; } /* Grid Layout CSS */ .item1 { grid-area: header; } .item2 { grid-area: menu; } .item3 { grid-area: main; } .item4 { grid-area: right; } .item5 { grid-area: footer; } .grid-container { display: grid; grid-template-areas: 'header header header header header header' 'menu main main main right right' 'menu footer footer footer footer footer'; gap: 10px; background-color: #2196F3; padding: 10px; } .grid-container > div { background-color: rgba(255, 255, 255, 0.8); text-align: center; padding: 20px 0; font-size: 30px; }