*{ margin:0; padding:0; } html{ scroll-behavior: smooth; } body{ background-color: #013871; } .nav-flex-container{ display:flex; flex-wrap: nowrap; flex-direction: row-reverse; width: 100%; background-color: #f6fdff; position: fixed; z-index: +1; } .nav-flex-containerlogo{ display:flex; flex-wrap: nowrap; width: 10%; opacity: 100%; position: fixed; z-index: +2; } .navimg{ float: inherit; width: 150px; height: auto; padding-top: 10px; padding-left: 20px; padding-right: 20px; } a{ width: 160px; height: auto; margin: 10px; text-align: center; line-height: 50px; font-size: 150%; border-radius: 100px; } a, a:active, a:visited{ text-decoration: none; color:black; transition: 0.3s; } a:hover{ background-color:#c0d3e3; color: black; } header{ height: 100vh; background: url(..//assest/Headerimg.png) no-repeat center center fixed; background-size: cover; position: relative; } header > h1{ color: #c0d3e3; position:absolute; text-align: center; top:40%; left: 50%; font-size: 300%; transform: translateX(-50%); } header > a{ position:absolute; top:80%; left:50%; width:150px; padding: 20px 40px; font-size: 250%; background-color: #003773; border:none; border-radius:5px; transform: translateX(-50%); } .main-flex-container{ display:flex; flex-direction:column; padding-top: 100px; margin-left: 150px; margin-right: 150px; } article { width: 100%; border-radius: 50px; margin-left: auto; margin-right: auto; margin-top: 25px; margin-bottom: 25px; padding: 40px; background-color:#c0d3e3; text-align: center; scroll-margin-top: 110px; } .speakers{ width: 100%; } .textWrapper{ display:grid; grid-template-columns: 1fr 1fr; padding:40px; grid-column-gap: 10%; } .speakImgWrapper{ display:grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; grid-column-gap: 40px; } .speakImg{ width: 100%; height: auto; align-items: center; justify-content: center; } ul > li > h2{ width: 100%; padding-bottom: 40px; } article > h1{ padding-bottom: 20px; font-size: 250%; } article > h2{ padding-bottom: 20px; font-size: 200%; } article > p{ padding: 10px; font-size: 150%; } p > a{ width: auto; height: auto; margin: 0px; font-size: 100%; border-radius: 0px; } .cardWrapper{ display:grid; grid-template-columns: 1fr 1fr 1fr; grid-row-gap: 40px; grid-column-gap: 40px; padding:40px; height: auto; } .card{ list-style:none; border-radius: 5px; background-repeat: no-repeat; background-size: contain; } .img{ float: inherit; width: 400px; height: auto; padding-left: 20px; padding-right: 20px; } .sponsimg{ float: inherit; scale: 150%; width: 200px; height: auto; padding-left: 20px; padding-right: 20px; padding-top: 20px; } .container{ width: 40%; padding:20px; } footer{ font-size: 100%; } @media only screen and (min-width:601px) and (max-width:1000px){ .nav-flex-container{ flex-direction: column; align-items:center; justify-content:flex-start; position: absolute; } .nav-flex-containerlogo{ position: absolute; } .navimg{ width: 150px; } header > h1{ top:55%; font-size: 200%; } header > a{ width:75px; font-size: 150%; } .main-flex-container{ padding-top: 75px; margin-left: 20px; margin-right: 20px; } article { scroll-margin-top: 40px; width: 80%; } .speakers{ width: auto; margin-top: 35vh ; } .textWrapper{ grid-template-columns: 1fr; grid-row-gap: 0px; padding:0px; } .speakImgWrapper{ grid-template-columns: 1fr; } ul > li > h2{ width: 100%; padding-top: 40px; padding-bottom: 20px; } .speakImg{ width: 50%; } .cardWrapper{ grid-template-columns: 1fr; grid-gap: 20px; padding:0px; transform: translateX(5.5%); } } @media only screen and (max-width:600px){ .nav-flex-container{ flex-direction: column; align-items:center; justify-content:flex-start; position: absolute; } .nav-flex-containerlogo{ position: absolute; } .navimg{ width: 75px; } a{ width: 100px; height: auto; margin: 10px; text-align: center; line-height: 25px; font-size: 120%; border-radius: 100px; } header > h1{ width: 80%; top:40vh; font-size: 120%; } header > a{ width:75px; font-size: 150%; } .main-flex-container{ width: 80vw; display:flex; flex-direction:column; padding: 10px; margin-left: 0px; margin-right: 0px; } .main-flex-container > article { padding: 20px; } .speakers{ margin-top: 35vh; width: 100%; } .textWrapper{ display:grid; grid-template-columns: 1fr; padding:10px; grid-column-gap: 10%; } ul > li > article{ width: 60vw; } .speakImgWrapper{ display:grid; grid-template-columns: 1fr; grid-column-gap: 40px; } .speakImg{ width: 100%; height: auto; align-items: center; justify-content: center; } ul > li > h2{ width: 100%; padding-bottom: 20px; } article > h1{ font-size: 150%; } article > h2{ font-size: 120%; } article > p{ padding: 10px; font-size: 75%; } p > a{ width: auto; height: auto; margin: 0px; font-size: 100%; border-radius: 0px; } .cardWrapper{ display:grid; grid-template-columns: 1fr; } .card{ list-style:none; border-radius: 5px; background-repeat: no-repeat; background-size: contain; } .sponsimg{ float: inherit; scale: 100%; width: 200px; height: auto; padding-left: 20px; padding-right: 20px; padding-top: 20px; transform: translateX(-15%); } .container{ width: 100%; padding:20px; } footer{ font-size: 70%; } }