Skip to content
Permalink
774699d0f6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
641 lines (576 sloc) 11.7 KB
/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */
html {
color: #222;
font-size: 1em;
line-height: 1.4;
}
/*
* Remove text-shadow in selection highlight:
* https://twitter.com/miketaylr/status/12228805301
*
* Vendor-prefixed and regular ::selection selectors cannot be combined:
* https://stackoverflow.com/a/16982510/7133471
*
* Customize the background color to match your design.
*/
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
*/
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}
/* ==========================================================================
Author's custom styles
========================================================================== */
* {
box-sizing: border-box;
font-family: 'Exo', sans-serif;
}
html, body{
overflow-x: hidden;
max-width: 100%;
position:relative;
}
#main-menu {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 2em;
background-image: url("../img/mountains.jpg");
background-size: cover;
background-position: center;
}
#first-title {
font-weight: 200;
font-size: 40px;
text-align: center;
}
@media (min-width: 500px) {
#first-title {
width: 444px;
}
}
#first-button {
background-color: tomato;
color: white;
text-decoration: none;
padding: 10px 45px;
border-radius: 3px;
letter-spacing: 3px;
}
#first-subText {
font-weight: 300;
}
#second-h2-span1, #third-top-text2{
font-weight: 500;
}
#second-h2-span2 {
letter-spacing: 4px;
font-size: medium;
}
#second-right img{
max-width: 100%;
}
#second-h3, .tomato-text{
margin-bottom: 0;
}
#second-h2 {
margin-top: 0;
}
.second-container {
margin: 2em;
}
@media (min-width: 600px) {
.second-container {
display: flex;
flex-direction: row-reverse;
gap: 40px;
max-width: 80%;
margin: 0 auto;
margin-top: 60px;
}
#second-right {
display: flex;
align-items: center;
}
}
#third {
margin-top: 60px;
margin-bottom: 60px;
}
#third-top {
display: flex;
flex-direction: column;
align-items: center;
}
#third-top-text2 {
margin-top: 0;
}
@media (min-width: 600px){
#third-bottom {
display: flex;
}
}
#third-bottom {
text-align: center;
}
#third-bottom h3{
font-weight: 500;
margin-bottom: 0;
}
#third-bottom p{
font-weight: 300;
font-size: small;
max-width: 60%;
margin-top: 0;
}
.third-div {
display: flex;
flex-direction: column;
align-items: center;
}
.font-down {
font-weight: 300;
font-size:small;
}
.tomato-text {
color: tomato;
font-size:small;
letter-spacing: 3px;
}
#fourth-h2-span1{
font-weight: 500;
}
#fourth-h2-span2 {
letter-spacing: 4px;
font-size: medium;
}
#fourth-right img{
max-width: 100%;
}
#fourth-h3{
margin-bottom: 0;
}
#fourth-h2 {
margin-top: 0;
}
.fourth-container {
margin: 2em;
}
@media (min-width: 600px) {
.fourth-container {
display: flex;
gap: 40px;
max-width: 80%;
margin: 0 auto;
margin-top: 10px;
}
#fourth-right {
display: flex;
align-items: center;
}
}
#fifth {
background-image: url(../img/triangles.png);
background-size:cover;
background-position: center;
padding: 1rem;
margin-top: 20px;
}
@media (min-width: 500px) {
#fifth-top {
display: flex;
}
}
#fifth-top{
text-align: center;
gap: 20px;
}
#fifth-top1, #fifth-top2, #fifth-top3 {
display: flex;
flex-direction: column;
align-items: center;
}
#fifth-top h2 {
color: white;
font-size: medium;
font-weight: initial;
margin-bottom: 0;
}
#fifth-top h3 {
margin-top: 0;
}
#fifth p {
color: white;
font-weight: 50;
}
.profile-box {
padding: 30px;
width: 40px;
border: rgb(44, 44, 44);
border-style: solid;
background-color: grey;
}
#fifth-bottom {
display: flex;
justify-content: center;
}
.fifth-bottom-img {
max-width: 100%;
margin: 5px;
margin-bottom: 0;
}
#fifth-bottom picture{
display: flex;
justify-content: center;
}
@media (min-width: 550px) {
.fifth-bottom-img {
margin: 30px;
}
}
#sixth {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 80px;
padding-left: 20px;
padding-right: 20px;
}
#sixth h2 {
font-weight: 500;
margin-top: 2px;
text-align: center;
}
#sixth p {
text-align: center;
margin-bottom: 60px;
max-width: 100%;
}
@media (min-width: 580px) {
#sixth p {
width: 40%;
}
#sixth {
padding-left: 100px;
padding-right: 100px;
}
}
#sixth picture img {
max-width: 100%;
}
#seventh {
background-color: rgb(40, 40, 255);
}
#seventh-top h2 {
color: white;
font-weight: 500;
margin-top: 0;
}
#seventh-top {
text-align: center;
padding-top: 3em;
}
#seventh-span2 {
letter-spacing: 5px;
}
#seventh-middle1 {
display: flex;
flex-direction: column;
align-items: center;
}
#seventh-middle1 div p {
color: white;
font-size: 14px;
}
#seventh-middle1 div {
display: flex;
gap: .5em;
}
#seventh-middle1 a {
display: block;
text-decoration: none;
color: white;
background-color: tomato;
border-style: none;
width: 179px;
text-align: center;
}
.input-field {
background-color: transparent;
outline: none;
color: white;
border: white;
border-style: solid;
border-width: 1px;
border-radius: 3px;
font-size: 15px;
padding: .5em;
margin-bottom: 10px;
margin-left: 1em;
}
#seventh-middle2 form {
text-align: center;
}
#seventh {
padding: 1em;
max-width: 100%;
margin-bottom: 50px;
padding-bottom: 50px;
}
#seventh-middle {
gap: 0;
}
@media (min-width: 600px) {
#seventh-middle1 {
justify-content: flex-end;
max-width: 87.5%
}
#seventh-middle {
display: flex;
justify-content: center;
align-items: flex-end;
}
}
#seventh-bottom p{
color:white;
text-align: center;
}
#footer {
text-align: center;
}
@media (min-width: 700px) {
#footer {
display: flex;
justify-content: center;
gap: 50px;
}
#footer h3 {
margin-top: 0;
}
#footer1 {
width: 200px;
}
}
#footer4 input{
outline:none;
}
#footer4 {
display: flex;
flex-direction: column;
}
#footer4 h3 {
margin-bottom: 10px;
}
#email {
display: flex;
justify-content: center;
}
#socialLogo picture img{
margin-left: 5px;
margin-top: 10px;
margin-bottom: 20px;
}
#paperSubmit {
background-color: tomato;
border-style: solid;
border-width: .1px;
}
/* ==========================================================================
Helper classes
========================================================================== */
/*
* Hide visually and from screen readers
*/
.hidden,
[hidden] {
display: none !important;
}
/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
* causes content to wrap 1 word per line:
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
/* 1 */
}
/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.sr-only.focusable:active,
.sr-only.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
white-space: inherit;
width: auto;
}
/*
* Hide visually and from screen readers, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix::before,
.clearfix::after {
content: " ";
display: table;
}
.clearfix::after {
clear: both;
}
/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
/* ==========================================================================
Print styles.
Inlined to avoid the additional HTTP request:
https://www.phpied.com/delay-loading-your-print-css/
========================================================================== */
@media print {
*,
*::before,
*::after {
background: #fff !important;
color: #000 !important;
/* Black prints faster */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]::after {
content: " (" attr(href) ")";
}
abbr[title]::after {
content: " (" attr(title) ")";
}
/*
* Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol
*/
a[href^="#"]::after,
a[href^="javascript:"]::after {
content: "";
}
pre {
white-space: pre-wrap !important;
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
/*
* Printing Tables:
* https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
*/
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}