body {
    margin: 0;
    padding: 0;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    border: solid;
    border-color: black;
    border-width: 0 0 5px 0;
    width: 100%;
    height: 75px;
    
}

.nav a {
    padding: 0 50px 0 50px;
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.75px;
    font-weight: 500;
}

.content {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main {
    height: 80vh;
    max-width: 1500px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

#logo {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.main p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    letter-spacing: 0.75px;
    font-weight: 500;
    width: 40vh;
    text-align: right;
}

#video {
    padding: 100px 450px;
    border: solid black 5px;
    margin-bottom: 100px;
}

.tech {
    display: flex;
    flex-direction: row;
    gap: 130px;
    margin-top: 50px;
}

.content2 h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    letter-spacing: 2.75px;
    text-transform: uppercase;
    font-size: 1.75em;
}

.content2 {
    max-width: 1500px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
}

.updownborder {
    border: solid black 5px;
    border-left: 0;
    border-right: 0;
    width: 1500px;
}

p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    letter-spacing: 0.75px;
    font-weight: 500;
    width: 70vh;
    text-align:center;
}

.flex-left img, .flex-right img{
    height:auto;
    width: 40%;
    border: solid black 5px;
}

.flex-left p, .flex-right p{
    margin: 0px 50px;
}

.flex-left p{
    text-align: left;
    width: 500px;
}

.flex-right p{
    text-align: right;
    width: 500px;
}

.flex-left{
    display: flex;
    flex-direction: row;
    margin:  100px 0;
    justify-content: center;
    text-align: right;
}

.flex-right{
    display: flex;
    flex-direction: row-reverse;
    margin:  100px 0;
    justify-content: center;
    text-align: left;
}

li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    letter-spacing: 0.75px;
    font-weight: 500;
    width: 70vh;
    text-align:left;
    list-style: square;
    margin-bottom: 15px;
}

.counter-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 50px;
}

.counter-item p {
    text-align: center;
    margin: 0;
    color: black;
    width: 200px;
    padding: 0 50px;
}

.counter {
    font-size: 2em;
    font-weight: bold;
    color: black;
}

.oops h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    letter-spacing: 2.75px;
    text-transform: uppercase;
    font-size: 1.75em;
    text-align: center;
}

.oops p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    letter-spacing: 0.75px;
    font-weight: 500;
    text-align:center;
}

.oops {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: solid;
    border-color: black;
    border-width: 5px 0 0 0;
    width: 100%;
    height: 75px;
    margin-top: 150px;
}

.footer a {
    text-decoration: none;
    transition: 0.3s;
    color: black;
}

.footer a:hover {
    color: #ffd209;
}

@media (max-width: 768px) {
    .nav {
        justify-content: center;
        height: auto;
        padding: 10px 0;
    }

    .nav a {
        padding: 0 10px;
    }

    .main p, .content2 p, .flex-left p, .flex-right p, li {
        width: 90%;
    }

    .tech {
        flex-direction: column;
        gap: 20px;
    }

    .counter-section {
        flex-direction: column;
    }

    .counter-item p {
        width: auto;
        padding: 10px;
    }

    .flex-left, .flex-right {
        flex-direction: column;
        text-align: center;
    }

    #video {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .nav a {
        padding: 0 5px;
        font-size: 0.875em;
    }

    .main img{
        height: 150px;
        margin-right: 40px;
    }

    .main p{
        margin-right: 40px;
    }

    #video iframe {
        width: 200px;
    }

    .main p, .content2 p, .flex-left p, .flex-right p, li {
        font-size: 0.875em;
    }

    .tech img {
        height: auto;
        width: 70px;
    }

    .content2 h1{
        max-width: 370px;
        font-size: 22px;
    }

    .counter {
        font-size: 1.5em;
    }

    .flex-left img, .flex-right img{
        height:auto;
        width: 60%;
        margin: 0 50px;
    }

    .flex-left, .flex-right {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .flex-left p, .flex-right p{
        text-align: center;
        margin: 20px 70px;
    }
    
}