/* Global settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    background-color: var(--Platonic);
    height: 100vh;
}

:root {
    --Platonic: #F5F5F5;
    --Tło: #B4DCED;
    --Róż: #E89C84;
    --Napisy: #171940;
    --KolorBOX: #002244;
    --Pomarańczowy: #E64510;
    --CiemnyPomarańczowy: #BD3508;
    --Niebieski: #0667E7;
}

.clear {
    clear: both;
}

/* Nav settings */

.mainnavigation {
    position: fixed;
    display: flex;
    width: 100%;
    height: 90px;
    align-items: center;
    z-index: 999999;
    background-color: var(--Platonic);
    transition: background-color 0.3s;
}

.mainnavigation.scroll-nav {
    background-color: var(--Platonic);
}

.mainimagesplatonic {
    margin-left: 22px;
}

.mainplatonictitle {
    padding-left: 7px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
    color: var(--Napisy_główne);
}

.mainplatonictitle-link {
    text-decoration: none;

    color: var(--Napisy_główne);
}

/* Newsletter */

.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    height: auto;
}

.newsletter-title-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 50px;
    color: var(--Napisy);
}

.newsletter-subtitle {
    margin-top: 10px;
    margin-bottom: 60px;
}

.newsletter-subtitle-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 22px;
    color: var(--Napisy);

    color: #797979;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.newsletter-form .input-box {
    width: 100%;
    max-width: 401px;
}

form .input-box {
    position: relative;
    height: 55px;
    margin-bottom: 40px;
}

.input-box input {
    position: absolute;
    width: 401px;
    min-width: 401px;
    height: 55px;
    padding-left: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid #0667E7;
    background-color: rgba(6, 103, 231, 0.12);
    outline: none;
    transition: all 0s linear;

    background-color: var(--Platonic);
}

input:-webkit-autofill,
  input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.small-error {
    position: absolute;
    top: 60px;
    left: 10px;
    width: 350px;
    color: #D91122;
    font-size: 14px;
}

#error1 {
    display: block;
}

input:is(:focus, :valid) {
    border: 2px solid;
    border-color: var(--KolorBOX);
    background-color: var(--Platonic);
}

.input-box :is(label, i) {
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    color: #797979;
    transition: all 0.1s ease;
}

.input-box label {
    left: 15px;
    font-size: 16px;
    pointer-events: none;
}

input:is(:focus) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: var(--KolorBOX);
    background-color: var(--Platonic);
}

input:is(:valid) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: var(--KolorBOX);
    background-color: var(--Platonic);
}

.input-box input, .input-box select {
    position: absolute;
    width: 401px;
    min-width: 401px;
    height: 55px;
    padding-left: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid #0667E7;
    background-color: rgba(6, 103, 231, 0.12);
    outline: none;
    transition: all 0s linear;
    background-color: var(--Platonic);
}

.input-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 512 512'><path d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/></svg>") no-repeat;
    background-position-x: 97%;
    background-position-y: 50%;
    padding-right: 30px; /* Dostosuj, aby zrekompensować przestrzeń dla ikony */
}

.newsletter-submit-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 401px;
    padding: 15px 0;
    border: 1px solid;
    border-color: var(--KolorBOX);
    border-radius: 7px;
    background-color: var(--Niebieski);
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: var(--Platonic);
}

.newsletter-submit-btn:hover {
    scale: 0.95;
    border: 1px solid #121335;
    background-color: #0857be;
}

.privacy-inform {
    display: flex;
    justify-content: start;
    width: 401px;
    margin-bottom: 20px;
}

.privacy-inform-text {
    margin-top: 15px;
    margin-left: 5px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #797979;
}

.privacy-link {
    text-decoration: none;
    color: var(--Niebieski);
}

/* SCHOOL FORM ADD */

.school-form-margin-top {
    margin-top: 200px;
}

.special-margin-bottom-add-school {
    margin-bottom: 100px;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    display: none;
    bottom: 30px;
    right: 30px;
    z-index: 11;
    flex-direction: column;
    padding: 20px 60px;
    max-width: 500px;
    max-height: 630px;
    border-radius: 12px;
    background-color: var(--Platonic);
}

.cookie-banner-title-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 55px;
}

.cookie-banner-title {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    color: #222;
}

.cookie-banner-desc-box {
    width: 90%;
    margin-top: 20px;
}

.cookie-banner-text {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    color: #222222;
}

.cookie-banner-link {
    color: #2660F5;
}

.cookie-banner-button-box {
    margin-top: 30px;
}

.cookie-banner-btn {
    padding: 15px 27px; 
    border-radius: 6px;
}

.cookie-accept {
    background: #2660F5;
    border: 1px solid #1845db;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--Platonic);
}

.cookie-accept:hover {
    background: #0a39af;
    border: 1px solid #07092e;
}

.cookie-decline {
    background: #E7E9FF;
    border: 1px solid #94A7D7;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #222222;
}

.cookie-decline:hover {
    background: #bcbfdd;
    border: 1px solid #4d6091;
}

.btn-marg-left {
    margin-left: 15px;
}